Views: 6k  |  Created: 07/09/2009

Average Rating: 0
Silverlight has 10 inventory records, 6 Questions, 1 Blogs and 6 links. Please help add to this by sharing more!

Deployment Tips (4)

Most Common Setup Type
Not Determined
Average Package Difficulty Rating
Rated 1 / 5 (Very Easy) based on 4 ratings
Most Commonly Reported Deployment Method
Windows Installer with Custom Transform (MST)
or cancel
17
Command Line
From the installation page (see Related Links), save Silverlight.exe.

Silent installation from the .exe:

silverlight.exe /q

(doing a silent install from the .exe will also upgrade previous versions without the prior need to uninstall)

If you want to use the .msi, you can extract is by running silverlight.exe /extract. You'll also see a silverlight.7z file, from which you can extract silverlight.msp using WinZip (or your choice of unzipper). You can discard all other files except for the .msi and .msp.

You can then do a silent installation from the .msi, but first uninstall Silverlight 2.0 if it's installed otherwise it'll complain:

start /w msiexec.exe /X{89F4137D-6C26-4A84-BDB8-2E5A4BB71E00} /qn

Then, install 3.0:

start /w msiexec /i silverlight.msi /update Silverlight.msp
ALLUSERS=2 /qn /LiV %temp%\Silverlight3.log


Silent uninstallation of 3.0 using the .exe:

silverlight /qu

Silent uninstallation of 3.0 using msiexec (same GUID as Silverlight 2.0):

start /w msiexec.exe /X{89F4137D-6C26-4A84-BDB8-2E5A4BB71E00} /qn
Setup Information:
Setup Type: unspecified
Deployment Method Used: unspecified
Deployment Difficulty: unspecified
Platform(s): Windows
Please log in to comment
10
Note
Extract the msp and run it with the msiexec.exe /i silverlight.msi /PATCH Silverlight.msp
ALLUSERS=2 /qn.

I have also edited the silverlight.msi to add the following keys
[HKEY_LOCAL_MACHINE\Software\Microsoft\Silverlight]
"UpdateMode"=dword:00000002
"UpdateConsentMode"=dword:00000000.


These will block the autoupdate feature. I would have preferred to MST the install but Wise doesn't like this msi and installer stopped part way through the creation stage.
Setup Information:
Setup Type: unspecified
Deployment Method Used: unspecified
Deployment Difficulty: unspecified
Platform(s): Windows
Please log in to comment
6
Note
Extract the contents of the downloaded 'Silverlight.exe' using winzip/rar into a new directory e.g. c:\silver & subsequently extract the contents of 'silverlight.7z' (into the same folder). From the command-line run:

msiexec /p c:\silver\silverlight.msp /a c:\silver\silverlight.msi

The msi (c:\silver\silverlight.msi) has now been updated to include the msp's content. Make sure you keep hold of the 'PFiles' folder too - this is required, everything else can be deleted.

Optional: If you don't want the PFiles folder hanging around; open c:\silver\silverlight.msi in your MSI editor of choice (I use Wise Package Studio 7) and update the media entries accordingly to use either internal or external cabs (whichever you prefer) & re-compile. The PFiles dir is no longer required.

You can now create/apply a transform on the msi to disable auto-updates etc. as already documented by DanGay.
Setup Information:
Setup Type: unspecified
Deployment Method Used: unspecified
Deployment Difficulty: unspecified
Platform(s): Windows
Please log in to comment
0
Command Line
I successfully silently install Silverlight 5 with "Silverlight.exe /q"
Setup Information:
Setup Type: unspecified
Deployment Method Used: unspecified
Deployment Difficulty: unspecified
Platform(s): Windows
Please log in to comment

Inventory Records (10)

View inventory records anonymously contributed by opt-in users of the K1000 Systems Management Appliance.

Silverlight

Version

3.0.31017.0056

Contact

http://go.microsoft.com/fwlink/?LinkId=139721

Comments

Silverlight 3 Toolkit October 2009

Uninstall String

MsiExec.exe /I{D250A04E-5A47-4EA7-964D-0FCA67B1E5C8}

Questions & Answers (6)

Questions & Answers related to Microsoft Silverlight

Blogs (1)

Blog posts related to Microsoft Silverlight

blog

Reviews (0)

Reviews related to Microsoft Silverlight