exrcizn Posted February 22, 2006 Posted February 22, 2006 I can't seem to figure this one out. I have this command in my RunOnceEx.cmd file for installing Media Player 10:REG ADD %KEY%\020 /VE /D "Windows Media Player 10" /fREG ADD %KEY%\020 /V 1 /D "v:\Software\Microsoft\WindowsMediaPlayer\Version10\MP10Setup.exe" /Q:A /R:x /C:"setup_wm.exe /Q:A /R:N\" /fIf I run the statement shown in bold from the Run command it works (the v: drive mapping is working because other programs install during unattended from v: so I know it's not that) but it's not working during the unattended install.Can someone help with this? I'm getting really frustrated and I know it's something simple I'm not seeing. Thanks
gunsmokingman Posted February 22, 2006 Posted February 22, 2006 I use this cmd to install WMP 10 from the Svcpack folder during the install, I have not recieved any errors doing it this way.echo off && CLS && mode 55,3 && color f1 && TITLE INSTALL WMP 10 && echo. && Echo Installing WMP10Set WMPVBS=%SystemDrive%\WmpCup.vbs>> %WMPVBS% Echo On Error Resume next>> %WMPVBS% Echo Set Shell = WScript.CreateObject("WScript.Shell")>> %WMPVBS% Echo Dim WMP : WMP = Shell.ExpandEnvironmentStrings("%SystemDrive%\TMPWMP10")>> %WMPVBS% Echo Set fso = CreateObject("Scripting.FileSystemObject")>> %WMPVBS% Echo fso.DeleteFolder(WMP)>> %WMPVBS% Echo fso.DeleteFile("%WMPVBS%")Ping -n 2 127.0.0.1>nulstart /w %systemdrive%\TMPWMP10\setup_wm.exe /DisallowSystemRestore /Q:A /R:NCLS && Color f2 && Echo. && Echo Completed WMP10 && Ping -n 4 127.0.0.1>nulstart %WMPVBS%Goto EOF:EOFexit
gunsmokingman Posted February 22, 2006 Posted February 22, 2006 (edited) I have not had any problems using this method. it works 100 percent This is a real install and not a VM install. Edited February 22, 2006 by gunsmokingman
exrcizn Posted February 23, 2006 Author Posted February 23, 2006 gunsmokingman or ryanVM - could you guys briefly explain to me the difference? I'm new at this and have only tried one method of installing apps and that's using the RunOnce method. I just recently changed this to point to installs I have on my network.Thanks ahead of time for your help.
RyanVM Posted February 23, 2006 Posted February 23, 2006 On my site, you'll find a CAB which is integrateable either via nLite or with the Integrator app found also on my site. It directly integrates WMP10 into the CD so that WMP10 directly replaces WMP9 from the start. It's the most efficient way to do things since it requires no extra time during setup to install and it uses the least amount of space since it's mostly overwriting existing files with new ones.And as you'll probably see from my site, I'm big into direct integration
exrcizn Posted February 23, 2006 Author Posted February 23, 2006 That sounds great! I will definitely check that out sometime in the next couple of days!Thanks!
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