Alex Posted September 11, 2004 Share Posted September 11, 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 "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 Link to comment Share on other sites More sharing options...
Alanoll Posted September 11, 2004 Share Posted September 11, 2004 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 Link to comment Share on other sites More sharing options...
Alex Posted September 11, 2004 Author Share Posted September 11, 2004 Thank youThank youThank you very much... Sorry for posting in wrong place...Alex Link to comment Share on other sites More sharing options...
Alex Posted September 11, 2004 Author Share Posted September 11, 2004 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 Link to comment Share on other sites More sharing options...
nuhi Posted September 11, 2004 Share Posted September 11, 2004 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. Link to comment Share on other sites More sharing options...
Alex Posted September 11, 2004 Author Share Posted September 11, 2004 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 Link to comment Share on other sites More sharing options...
Alanoll 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: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 Link to comment Share on other sites More sharing options...
Alex Posted September 12, 2004 Author Share Posted September 12, 2004 Pitty, You could not just correct it...Too difficult for me yet to get when i do not see example.Anyway thanks,Alex Link to comment Share on other sites More sharing options...
Alex Posted September 12, 2004 Author Share Posted September 12, 2004 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" Link to comment Share on other sites More sharing options...
Alex Posted September 12, 2004 Author Share Posted September 12, 2004 Success!Thank You for Your lesson"D:\Trialxpcd\Software\MP10Setup.exe" /q:A /c:\setup_wm.exe" /Q /R:N"Am I right?Alex Link to comment Share on other sites More sharing options...
Getchu Posted April 23, 2005 Share Posted April 23, 2005 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