Ctrl-X Posted August 30, 2006 Share Posted August 30, 2006 (edited) I can't get Windows Media Player 10 to install unattended, despite having followed the instructions in the Unattended Windows guide (I think ). Here's what I do:RunOnceEx.cmd:reg add %KEY%\045 /ve /d "Windows Media Player 10"reg add %KEY%\045 /v 1 /d "%windir%\regedit.exe /s %SystemDrive%\Install\WMP10\MP10.reg"reg add %KEY%\045 /v 2 /d "%SystemDrive%\Install\WMP10\MP10Setup.exe /q:a /r:n /c:\"setup_wm.exe /q /r:n /DisallowSystemRestore\""MP10.reg contains the following settings I collected from various topics in these forums:Windows Registry Editor Version 5.00[HKEY_CURRENT_USER\Software\Classes\Software\Microsoft\MediaPlayer\Preferences]"AcceptedPrivacyStatement"=dword:00000001[HKEY_CURRENT_USER\Software\Microsoft\MediaPlayer\Preferences]"AcceptedPrivacyStatement"=dword:00000001"FirstRun"=dword:00000000[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\SOFTWARE\Microsoft\MediaPlayer\Preferences]"AcceptedEULA"=dword:00000001Yet still the EULA is displayed before the installation starts After clicking "I Accept" the installation runs automatically, but when it is finished, WMP 10 starts and asks if I want to add files to the library, which is obviously unwanted in a "silent" installation. I have tried various switch combinations (/q or /q:a, /NoMigrate) to no avail. Anyone know what I am doing wrong? Edited August 30, 2006 by Ctrl-X Link to comment Share on other sites More sharing options...
muiz Posted August 30, 2006 Share Posted August 30, 2006 Why dont you slipstream it? Link to comment Share on other sites More sharing options...
Ctrl-X Posted August 30, 2006 Author Share Posted August 30, 2006 Why dont you slipstream it?How? I prefer to keep it simple, and apparently it can be done this way... Link to comment Share on other sites More sharing options...
PaulIA Posted August 31, 2006 Share Posted August 31, 2006 Slipstreaming is probably going to be your best bet. Check out this link for more information:http://www.msfn.org/board/index.php?showtopic=45917 Link to comment Share on other sites More sharing options...
mazin Posted August 31, 2006 Share Posted August 31, 2006 Or you may want to apply the attached reg file.WMP10.REG Link to comment Share on other sites More sharing options...
cyberloner Posted August 31, 2006 Share Posted August 31, 2006 REGEDIT4[HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\WindowsMediaPlayer]"GroupPrivacyAcceptance"=dword:00000001Miss this one i think... cheers Link to comment Share on other sites More sharing options...
Ctrl-X Posted August 31, 2006 Author Share Posted August 31, 2006 Slipstreaming is probably going to be your best bet. Check out this link for more information:http://www.msfn.org/board/index.php?showtopic=45917Thanks for the suggestion; I will look into that if all else fails Or you may want to apply the attached reg file.At first glance this appears to be a bit overkill, but I'll give it a go REGEDIT4[HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\WindowsMediaPlayer]"GroupPrivacyAcceptance"=dword:00000001Miss this one i think... cheersWe set that one through Group Policy B) Link to comment Share on other sites More sharing options...
zorphnog Posted September 1, 2006 Share Posted September 1, 2006 Check out this page WMP Silent Install. They use IExpress to repackage the install (I didn't know about this tool, but its nice). I followed these directions and it worked perfectly. The reg tweaks file listed on the page is very extensive, but at least you'll know all the possible keys to change. Link to comment Share on other sites More sharing options...
Ctrl-X Posted September 1, 2006 Author Share Posted September 1, 2006 Check out this page WMP Silent Install. They use IExpress to repackage the install (I didn't know about this tool, but its nice). I followed these directions and it worked perfectly. The reg tweaks file listed on the page is very extensive, but at least you'll know all the possible keys to change.Thanks for the suggestion! However all they do is unpack the original setup, change the install command to:setup_wm.exe /DisallowSystemRestore /Q:A /R:N... and then repack the setup using IExpress. All this can be done in one line without un- and repacking:MP10Setup.exe /Q:A /R:N /C:"setup_wm.exe /DisallowSystemRestore /Q:A /R:N"... which is exactly what I'm doing!According to the article the registry tweaks aren't going to help because they get applied after the installation. I thing I'm going to try installing WMP10 from cmdlines.txt and see what happens... Link to comment Share on other sites More sharing options...
zorphnog Posted September 1, 2006 Share Posted September 1, 2006 (edited) I realize it can be done the way you are trying. I repackage because I prefer to keep my install packages as small as possible.I don't know if it will make a difference, but your setup_wm.exe /q switch is different from the one posted on the site. Perhaps changing it to /q:a will work?reg add %KEY%\045 /v 2 /d "%SystemDrive%\Install\WMP10\MP10Setup.exe /q:a /r:n /c:\"setup_wm.exe /q:a /r:n /DisallowSystemRestore\"" Edited September 1, 2006 by zorphnog Link to comment Share on other sites More sharing options...
Ctrl-X Posted September 1, 2006 Author Share Posted September 1, 2006 I don't know if it will make a difference, but your setup_wm.exe /q switch is different from the one posted on the site. Perhaps changing it to /q:a will work?I've tried both; neither worked Link to comment Share on other sites More sharing options...
boooggy Posted September 6, 2006 Share Posted September 6, 2006 try my wmp addon ..... Link to comment Share on other sites More sharing options...
mazin Posted September 6, 2006 Share Posted September 6, 2006 @ Ctrl-XStrange!I've used the same switches of yours (1st post) to install WMP10 at T-13.I apply the reg tweaks after installing WMP10, not before.It's installed just fine.The only difference in code is that I added /NoPID to the switches.FYI, I'm always using the same routine for WMP9, 10, and 11. Link to comment Share on other sites More sharing options...
Viscon Posted September 7, 2006 Share Posted September 7, 2006 as boooggy says, go for his addon.it works perfectly here.thnx boooggy Link to comment Share on other sites More sharing options...
Ctrl-X Posted September 7, 2006 Author Share Posted September 7, 2006 Thanks everyone for the suggestions. I have moved the installation from RunOnceEx.cmd to Cmdlines.txt using the switches I mentioned before and it installs completely unattended from there. Oh well Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now