I have lately learned a amazing method known as "ninite". It can be utilized to grab the most recent Edition of a variety of items of software at the time of deployment.
What I do is duplicate the msi into a folder on my sccm server in addition to a batch file and also a vbs file. My batch file is made up of removal of each of the prior versions and the install line and it appears to be like anything like this:
Edit: Since I've re-browse your put up, I see that all three installations and Start-Snooze are the identical detail... You ought to really just do a do even though loop rather. It is a large amount cleaner and less error-prone.
Now you'll want to include the .reg file on your .bat file. Try this by moving into the following facts into the .bat file:
I ran across this and the script is exactly what I would like. The only trouble I'm operating into Is that this: The uninstall is effective fine, but on installation, it wishes me to simply click to allow the executable to run (receive a security warning).
I do have all of the more mature versions shown in addition, but to save Area I only provided a few for demonstration reasons. In my vbs file I've it copying my config files around that also involve my security exception listing.
I developed best site a package without having source files. For This system for that package I set this from the command line cscript /nologo SCCMSERVERresource$appsjavauninstallscript.
Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â 'AND Should the DisplayName doesn't consist of The present Variation
Considering the fact that we continue to operate XP and IE7, we also needed to reinstall Java Digital machine on all of our workstations which we A part of our script along with the copying from the Oracle Jinitator JVM.dll files.
increase a remark
If person is logged on, we display a information about the screen that Java is finished installing, and the web-browser may be used again. The exact same working day as we publish a new version of Java, we update a unistall script for java witch runs being a necessary software on the routine in sccm.
But this line uninstalls earlier versions of java, I made use of it only inside the my hyperv check enviroment, so have that in your mind:
If ADDLOCAL is not made use of, then just the encouraged characteristics is going to be installed: jrecore is going to be installed; added will not be installed; other will likely be installed only if l10n support, aside from English, is installed.
Execute this by puting autoit.exe in the scripts folder and produce a batch to execute it eg install.cmd