Jump to content

Recommended Posts

Posted

@echo off

IF 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\RunOnceEx

REG ADD %KEY% /V TITLE /D "Installing Applications" /f

REG ADD %KEY%\005 /VE /D "Adobe Reader 6.02" /f

REG ADD %KEY%\005 /V 2 /D "D:\Trialxpcd\Software\AdbeRdr602_ece.exe" -p"-s /v\"/qn\""

EXIT

this 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


Posted

REG ADD %KEY%\005 /V 2 /D "D:\Trialxpcd\Software\AdbeRdr602_ece.exe" -p"-s /v\"/qn\""

should be

REG ADD %KEY%\005 /V 2 /D "D:\Trialxpcd\Software\AdbeRdr602_ece.exe -p\"-s /v\"/qn\"\""

Also, wrong forum

Posted

REG ADD %KEY%\005 /VE /D "Windows Media Player 10" /f

REG ADD %KEY%\005 /V 1 /D "D:\Trialxpcd\Software\MP10Setup.exe /q:A /c:\"setup_wm.exe /Q /R:N

Jesus!

The same problem with those switches!

Could it be corrected as well?

Thank You in advance,

Alex

Posted

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.

Posted

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 great

I almost finished creating my cd

Driver intergration is perfect

Can I enable digital signatures before creating iso?

Good luck,

Alex

Posted
REG ADD %KEY%\005 /V 1 /D "D:\Trialxpcd\Software\MP10Setup.exe /q:A /c:\"setup_wm.exe /Q /R:N

You 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

Posted

Pitty, You could not just correct it...Too difficult for me yet to get when i do not see example.

Anyway thanks,

Alex

Posted

so far for me works fine only this example

Earlier printed swithes are taken from internet and ones for other progs worked fine.

Pls share Your knowledge...

Alex

REG ADD %KEY%\020 /VE /D "Windows Media Player 10" /f

REG ADD %KEY%\020 /V 1 /D "D:\Trialxpcd\Software\MP10Setup.exe /q"

Posted

Success!

Thank You for Your lesson

"D:\Trialxpcd\Software\MP10Setup.exe" /q:A /c:\setup_wm.exe" /Q /R:N"

Am I right?

Alex

  • 7 months later...

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...