Generic Posted October 26, 2005 Share Posted October 26, 2005 My RunOnceEx.cmd works great except for one line, the "Windows Media Connect" line. Do you think that Windows needs a reboot after Media Player is installed before the Media Connect can be installed properly? I've tried to run the command manulaly without any issues.... It's not craping out or anything, it seems like it is installing, but when I go to the update site to check out to see if it installed correctly, it's still a selection for download?cmdow @ /HID@Echo Offrem PP=%SystemRoot%"\System32\RIS Installation Files\Applications\SET KEY=HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnceExREG ADD %KEY% /V TITLE /D "Installing Programs" /fREG ADD %KEY%\000 /VE /D "Microsoft SMS 2003 Client SP1" /fREG ADD %KEY%\000 /V 1 /D "\"%systemRoot%\System32\RIS Installation Files\Applications\Ccmsetup.exe\" SMSSITECODE=CTR" /fREG ADD %KEY%\010 /VE /D "Windows Media Player 10" /fREG ADD %KEY%\010 /V 1 /D "\"%systemRoot%\System32\RIS Installation Files\Applications\MP10Setup.exe\" /Q:A /C:\"setup_wm.exe /Q:A /R:N\"" /fREG ADD %KEY%\015 /VE /D "Windows Media Connect" /fREG ADD %KEY%\015 /V 1 /D "\"%systemRoot%\System32\RIS Installation Files\Applications\WinRMSrv.msi\" /QN" /fREM REG ADD %KEY%\020 /VE /D "Windows Media Player Codecs" /fREM REG ADD %KEY%\020 /V 1 /D "\"%systemRoot%\System32\RIS Installation Files\Applications\codecs.msi\" /QN" /fREG ADD %KEY%\025 /VE /D "HighMAT Support in the Windows XP CD Writing Wizard" /fREG ADD %KEY%\025 /V 1 /D "\"%systemRoot%\System32\RIS Installation Files\Applications\KB831240.exe\" /QR" /fREG ADD %KEY%\030 /VE /D "Microsoft Windows Journal Viewer" /fREG ADD %KEY%\030 /V 1 /D "\"%systemRoot%\System32\RIS Installation Files\Applications\Microsoft Windows Journal Viewer.msi\" /QN" /fREG ADD %KEY%\035 /VE /D ".NET Framework v1.1 w/ SP1" /fREG ADD %KEY%\035 /V 1 /D "\"%systemRoot%\System32\RIS Installation Files\Applications\netfxsp1.exe\"" /fREG ADD %KEY%\036 /VE /D ".NET Framework Security Update" /fREG ADD %KEY%\036 /V 1 /D "\"%systemRoot%\System32\RIS Installation Files\Applications\NDP1.1sp1-KB886903-X86.exe\" /QN" /fREG ADD %KEY%\040 /VE /D "Microsoft VM" /fREG ADD %KEY%\040 /V 1 /D "\"%systemRoot%\System32\RIS Installation Files\Applications\JavaVM3186.exe\" /c:\"javatrig.exe /exe_install /l /qq\" /q:a /r:n" /fREG ADD %KEY%\045 /VE /D "Microsoft VM Update" /fREG ADD %KEY%\045 /V 1 /D "\"%systemRoot%\System32\RIS Installation Files\Applications\KB816093.exe\" /c:\"javatrig.exe /exe_install /l /qq\" /q:a /r:n" /fREG ADD %KEY%\050 /VE /D "Microsoft Windows Malicious Software Removal Tool (v1.9)" /fREG ADD %KEY%\050 /V 1 /D "\"%systemRoot%\System32\RIS Installation Files\Applications\KB890830-V1.9-ENU.exe\" /q" /fREG ADD %KEY%\055 /VE /D "Windows Genuine Advantage" /fREG ADD %KEY%\055 /V 1 /D "\"%systemRoot%\System32\RIS Installation Files\Applications\LegitCheckControl.msi\"" /fREG ADD %KEY%\060 /VE /D "Importing Registry Tweaks" /fREG ADD %KEY%\060 /V 1 /D "REGEDIT /S \"%systemRoot%\System32\RIS Installation Files\Batch Files\RunOnceEx_RegTweaks.reg\"" /fREG ADD %KEY%\065 /VE /D "Administrator Rename" /fREG ADD %KEY%\065 /V 1 /D "\"%systemRoot%\System32\RIS Installation Files\Batch Files\Rename.vbs\" /fREG ADD %KEY%\070 /VE /D "Cleanup" /fREG ADD %KEY%\070 /V 1 /D "\"%systemRoot%\System32\RIS Installation Files\Batch Files\RunOnceEx_Shutdown.cmd\" /fEXIT Link to comment Share on other sites More sharing options...
cluberti Posted October 26, 2005 Share Posted October 26, 2005 Not entirely sure, everything looks OK. How about downloading wmcsetup.exe from (http://www.microsoft.com/downloads/details.aspx?FamilyID=56fd1b34-48ba-424b-9227-7c10e2e9fff1&displaylang=en), then using the command line:<path>\wmcsetup.exe /qI use that, and I've never had problems. Not sure where you got the MSI from. Link to comment Share on other sites More sharing options...
Generic Posted October 26, 2005 Author Share Posted October 26, 2005 Thanks for the suggestion... never thought that it could be my Media Player installation.Going to change it up right now and give it a go. Link to comment Share on other sites More sharing options...
cluberti Posted October 26, 2005 Share Posted October 26, 2005 Cool - I have always installed MP10 and WMC one after the other with no problems - it looks like the MSI comes from wmcsetup.exe, but I'd be leery to use that. If wmcsetup.exe doesn't work, post back and I'll try to help from there. Link to comment Share on other sites More sharing options...
Sonic Posted October 26, 2005 Share Posted October 26, 2005 Personnaly, my WMP10 is integrated so I don't know if a reboot is needed ...For me I use the .exe source with /Q switch and no problem. Link to comment Share on other sites More sharing options...
Generic Posted October 26, 2005 Author Share Posted October 26, 2005 (edited) Sonic, i was looking to do this. Would you happen to have a link to a post which tells me how to do this? Integrate MP10 that is. Edited October 26, 2005 by Generic Link to comment Share on other sites More sharing options...
Sonic Posted October 26, 2005 Share Posted October 26, 2005 There is a script on the forum to automatise the integration of WMP10 ... after, to have the latest build you can get the update package of booggy and extract files directly to i386 ...I let you search more on the forum, I must go to sleep now Link to comment Share on other sites More sharing options...
Generic Posted October 26, 2005 Author Share Posted October 26, 2005 Thanks Sonic Link to comment Share on other sites More sharing options...
Generic Posted October 27, 2005 Author Share Posted October 27, 2005 cluberti,Argh, I had to make some modifications to my Autoexec.cmd for the installation of Windows Media Connect to take place. Namely the .Net installs had to be moved up in the installation chain do to dependencies. NOW my installations are not waiting/pausing until the first installation is done before proceeding. I don't think I messed anything up here. Can you take a quick look?Argh!cmdow @ /HID@Echo Offrem PP=%SystemRoot%"\System32\RIS Installation Files\Applications\SET KEY=HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnceExREG ADD %KEY% /V TITLE /D "Installing Programs" /fREG ADD %KEY%\000 /VE /D "Microsoft SMS 2003 Client SP1" /fREG ADD %KEY%\000 /V 1 /D "\"%systemRoot%\System32\RIS Installation Files\Applications\Ccmsetup.exe\" SMSSITECODE=CTR" /fREG ADD %KEY%\010 /VE /D ".NET Framework v1.1 w/ SP1" /fREG ADD %KEY%\010 /V 1 /D "\"%systemRoot%\System32\RIS Installation Files\Applications\netfxsp1.exe\"" /fREG ADD %KEY%\015 /VE /D ".NET Framework Security Update" /fREG ADD %KEY%\015 /V 1 /D "\"%systemRoot%\System32\RIS Installation Files\Applications\NDP1.1sp1-KB886903-X86.exe\" /QN" /fREG ADD %KEY%\020 /VE /D "Windows Media Player 10" /fREG ADD %KEY%\020 /V 1 /D "\"%systemRoot%\System32\RIS Installation Files\Applications\MP10Setup.exe\" /Q:A /C:\"setup_wm.exe /Q:A /R:N\"" /fREG ADD %KEY%\025 /VE /D "Windows Media Connect" /fREG ADD %KEY%\025 /V 1 /D "\"%systemRoot%\System32\RIS Installation Files\Applications\wmcsetup.exe\" /Q" /fREM REG ADD %KEY%\030 /VE /D "Windows Media Player Codecs" /fREM REG ADD %KEY%\030 /V 1 /D "\"%systemRoot%\System32\RIS Installation Files\Applications\codecs.msi\" /QN" /fREG ADD %KEY%\035 /VE /D "HighMAT Support in the Windows XP CD Writing Wizard" /fREG ADD %KEY%\035 /V 1 /D "\"%systemRoot%\System32\RIS Installation Files\Applications\KB831240.exe\" /QR" /fREG ADD %KEY%\040 /VE /D "Microsoft Windows Journal Viewer" /fREG ADD %KEY%\040 /V 1 /D "\"%systemRoot%\System32\RIS Installation Files\Applications\Microsoft Windows Journal Viewer.msi\" /QN" /fREG ADD %KEY%\045 /VE /D "Microsoft VM" /fREG ADD %KEY%\045 /V 1 /D "\"%systemRoot%\System32\RIS Installation Files\Applications\JavaVM3186.exe\" /c:\"javatrig.exe /exe_install /l /qq\" /q:a /r:n" /fREG ADD %KEY%\050 /VE /D "Microsoft VM Update" /fREG ADD %KEY%\050 /V 1 /D "\"%systemRoot%\System32\RIS Installation Files\Applications\KB816093.exe\" /c:\"javatrig.exe /exe_install /l /qq\" /q:a /r:n" /fREG ADD %KEY%\055 /VE /D "Microsoft Windows Malicious Software Removal Tool (v1.9)" /fREG ADD %KEY%\055 /V 1 /D "\"%systemRoot%\System32\RIS Installation Files\Applications\KB890830-V1.9-ENU.exe\" /q" /fREG ADD %KEY%\060 /VE /D "Windows Genuine Advantage" /fREG ADD %KEY%\060 /V 1 /D "\"%systemRoot%\System32\RIS Installation Files\Applications\LegitCheckControl.msi\"" /fREG ADD %KEY%\065 /VE /D "Importing Registry Tweaks" /fREG ADD %KEY%\065 /V 1 /D "REGEDIT /S \"%systemRoot%\System32\RIS Installation Files\Batch Files\RunOnceEx_RegTweaks.reg\"" /fREG ADD %KEY%\070 /VE /D "Administrator Rename" /fREG ADD %KEY%\070 /V 1 /D "\"%systemRoot%\System32\RIS Installation Files\Batch Files\Rename.vbs\" /fREG ADD %KEY%\075 /VE /D "Cleanup" /fREG ADD %KEY%\075 /V 1 /D "\"%systemRoot%\System32\RIS Installation Files\Batch Files\RunOnceEx_Shutdown.cmd\" /fEXIT Link to comment Share on other sites More sharing options...
cluberti Posted October 27, 2005 Share Posted October 27, 2005 If you've got timing issues, use the sleep.exe utility from one of the NT/2K/2K3 resource kits. I used to do it all the time, before I stopped using RunOnceEx regularly. It's not entirely the best way, but it works all of the time. Link to comment Share on other sites More sharing options...
Generic Posted October 27, 2005 Author Share Posted October 27, 2005 Thanks for you're help cluberti but I figured it out. I just re-arranged the order of installation and it seems to be working. Thanks again. 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