Packaging as an MSI and sending out via GPO will work.įailing that, and since I used to be in your shoes many many moons ago, here you go. ie: If you don't have it, get it running. "%CD%\%version%\%deploypath%\install.exe" /qu REM if the operating system is a 32-bit edition of windows IF EXIST "%silverlightpath%\%version%" GOTO end IF EXIST "%silverlightpath%\8.0" GOTO uninstall IF EXIST "%silverlightpath%\9.0" GOTO uninstall IF EXIST "%silverlightpath%\1.0" GOTO uninstall SET silverlightpath=%ProgramFiles%\microsoft silverlight REM add new line for each silverlight version you wish to uninstall REM change this when deploying a new version REM this is the current version of silverlight REM this is the path for the x86/圆4 version of silverlight In group policy under "software installation", add the 32-bit and 64-bit edition MSI installer packages.ĭone! The next time that you shutdown/restart, the uninstall-silverlight.bat script will run, and at startup, the new version of silverlight will be installed. Upload the the installation files for the 32-bit edition in the "silverlight" subfolder and the files for the 64-bit edition in the "silverlight_圆4" subfolder. Then, create two subfolders-one named "silverlight" and the other "silverlight_圆4". Upload all the resulting silverlight installation files in //server/share/silverlight/5.0 (or whatever version you're working with). It should be located at //server/share/silverlight In Group policy, include this script as a shutdown script. The uninstall-silverlight.bat script runs silverlight's "install.exe /qu" silent installer.
Since the new version won't install on top of the old version, it will need to be uninstalled first. Msiexec /a silverlight.msi /p silverlight.msp /qb You will be prompted to extract the installer files and MSI to a folder.Įxtract the silverlight.msp file from the silverlight.7z file.įrom the command line (and for each edition of silverlight), run:
To download the 圆4 version of silverlight, use internet explorer. To downlaod the x86 version of silverlight, use chrome (or a 32-bit O/S).Īfter downloading each EXE file, go to the command line and run: The silverlight installation files are located here:ģ2-bit edition: //server/share/silverlight/5.0/silverlightĦ4-bit edition: //server/share/silverlight/5.0/silverlight_圆4
server/share/silverlight/uninstall-silverlight.bat After some tinkering, I found a method/procedure that seemed to work reliably (without needing to invest time in a whole new process or expose account passwords).