Alex Posted September 12, 2004 Share Posted September 12, 2004 @echo offIF EXIST D:\CD.txt set CDROM=D:IF EXIST E:\CD.txt set CDROM=E:IF EXIST F:\CD.txt set CDROM=F:IF EXIST G:\CD.txt set CDROM=G:IF EXIST H:\CD.txt set CDROM=H:IF EXIST I:\CD.txt set CDROM=I:IF EXIST J:\CD.txt set CDROM=J:SET KEY=HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnceExREG ADD %KEY% /V TITLE /D "Installing Applications" /fREG ADD %KEY%\005 /VE /D "Windows Media Player 10" /fREG ADD %KEY%\005 /V 1 /D "D:\Trialxpcd\Software\MP10Setup.exe /q:A /c:\"setup_wm.exe /Q /R:NEXITthis is part of my RunOnceEx.cmd testing (the path is changed from %CDROM% to D:\... for trial purposes). All other progs switches working fine on trial (i just double click RunOnceEx.cmd and reboot). When double click RunOnceEx.cmd and reboot WMP 10 does not install and no mistakes. Other progs installs testing this way, reader does not. Could someone correct switches?Thanks for help in advance,Alex Link to comment Share on other sites More sharing options...
Aaron Posted September 12, 2004 Share Posted September 12, 2004 REG ADD %KEY%\005 /V 1 /D "D:\Trialxpcd\Software\MP10Setup.exe /q:A /c:\"setup_wm.exe /Q /R:N\"" /f Link to comment Share on other sites More sharing options...
Alex Posted September 13, 2004 Author Share Posted September 13, 2004 Thank You very much, I figured it out too, but for me, newbie it took some time...Alex 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