moo Posted July 29, 2004 Share Posted July 29, 2004 Can anybody to help me, what's wrong with this key, please.SET KEY=HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnceExREG ADD %KEY% /V TITLE /D "Installing Applications" /freg add %KEY%\049 /ve /d "17. Media Player 10 Beta!" /freg add %KEY%\049 /v 1 /d %CDROM%\soft\hotfixes\MP10Set.exe /Q:A /C:"setup_wm.exe /Q:A /R:N" /f Link to comment Share on other sites More sharing options...
Octavious Posted July 29, 2004 Share Posted July 29, 2004 One thing that I see is that you are missing quotes and escape characters...reg add %KEY%\049 /v 1 /d %CDROM%\soft\hotfixes\MP10Set.exe /Q:A /C:"setup_wm.exe /Q:A /R:N" /fshould bereg add %KEY%\049 /v 1 /d "%CDROM%\soft\hotfixes\MP10Set.exe /Q:A /C:\"setup_wm.exe /Q:A /R:N\"" /fBut please, someone else make sure this is correct, because i could be wrong... Link to comment Share on other sites More sharing options...
moo Posted July 29, 2004 Author Share Posted July 29, 2004 Thanks, but dosn't work.reg add %KEY%\049 /v 1 /d "%CDROM%\soft\hotfixes\MP10Set.exe /Q:A /C:\"setup_wm.exe /Q:A /R:N\"" /f Link to comment Share on other sites More sharing options...
dinosaur-jr Posted August 5, 2004 Share Posted August 5, 2004 Hi,I use the following and works like a charm!Just copy it. -----------------------------------------------------------------------------------------------cmdow @ /HID@echo offIF EXIST U:\CD.txt set CDROM=U:IF EXIST V:\CD.txt set CDROM=V:IF EXIST W:\CD.txt set CDROM=W:IF EXIST X:\CD.txt set CDROM=X:SET KEY=HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnceExREG ADD %KEY% /V TITLE /D "Installing Applications" /fREG ADD %KEY%\000 /VE /D "Preparing Installation..." /fREG ADD %KEY%\000 /V 1 /D "%CDROM%\Software\prepare.cmd" /fREG ADD %KEY%\001 /VE /D "Windows Media Player 10" /fREG ADD %KEY%\001 /V 1 /D "%CDROM%\Software\install\WMP10\MPSetupXP.exe /Q:A /R:N" /f--------------------------------------------------------------------------------------------- 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