September 11, 200421 yr @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 "Adobe Reader 6.02" /fREG ADD %KEY%\005 /V 2 /D "D:\Trialxpcd\Software\AdbeRdr602_ece.exe" -p"-s /v\"/qn\""EXITthis 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). Reader 6.02 works fine (program silently installs )from start->run with switches, but when double click RunOnceEx.cmd and reboot reader does not install and no mistakes. Other progs installs testing this way, reader does not. Why? Maybe it's ok? Will the switches work on clean install from burnt cd only?Thanks for help in advance,Alex
September 11, 200421 yr REG ADD %KEY%\005 /V 2 /D "D:\Trialxpcd\Software\AdbeRdr602_ece.exe" -p"-s /v\"/qn\""should beREG ADD %KEY%\005 /V 2 /D "D:\Trialxpcd\Software\AdbeRdr602_ece.exe -p\"-s /v\"/qn\"\""Also, wrong forum
September 11, 200421 yr Author Thank youThank youThank you very much... Sorry for posting in wrong place...Alex
September 11, 200421 yr Author REG 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:NJesus!The same problem with those switches!Could it be corrected as well?Thank You in advance,Alex
September 11, 200421 yr If you want to install wmp with a switches then dont' remove windows media player.For acrobat reader, if it has virtual printer, leave printer drivers and system restore.
September 11, 200421 yr Author I know that thank You, but media player switches do not work on test, nothing happens, they should be corrected as with Reader.Your soft just greatI almost finished creating my cdDriver intergration is perfectCan I enable digital signatures before creating iso?Good luck,Alex
September 12, 200421 yr REG ADD %KEY%\005 /V 1 /D "D:\Trialxpcd\Software\MP10Setup.exe /q:A /c:\"setup_wm.exe /Q /R:NYou my friend need to learn teh basics of RunOnceEX. All embedded quotes need \" not just ". That command above is not even the full command to begin with.The ONLY quote that shouldn't get a \" is the VERY LAST ONE
September 12, 200421 yr Author Pitty, You could not just correct it...Too difficult for me yet to get when i do not see example.Anyway thanks,Alex
September 12, 200421 yr Author so far for me works fine only this exampleEarlier printed swithes are taken from internet and ones for other progs worked fine.Pls share Your knowledge...AlexREG ADD %KEY%\020 /VE /D "Windows Media Player 10" /fREG ADD %KEY%\020 /V 1 /D "D:\Trialxpcd\Software\MP10Setup.exe /q"
September 12, 200421 yr Author Success!Thank You for Your lesson"D:\Trialxpcd\Software\MP10Setup.exe" /q:A /c:\setup_wm.exe" /Q /R:N"Am I right?Alex
Create an account or sign in to comment