Jump to content

skips adbobe reader and windows media player 10


Recommended Posts

Hi All,

First or second post???? (hmmmm!?)

I seem to have problems with runonceex in that it skips Adobe Reader 6.02 and WMP10

Here is the code:

REG ADD %KEY%\020 /VE /D "Windows Media Player 10" /f
REG ADD %KEY%\020 /V 1 /D "%CDROM%\Software\WMP10\MP10setup.exe /q:A /c:"setup_wm.exe /Q /R:N /DisallowSystemRestore"" /f

REG ADD %KEY%\002 /VE /D "Acrobat Reader 6.02" /f
REG ADD %KEY%\002 /V 1 /D "%CDROM%\Software\AdobeReader\AdbeRdr602_distrib_enu.exe /s /a /s /v"TRANSFORMS=Rdr602.mst /qb"" /f

Am I going mad???? (Yes!) :P

Link to comment
Share on other sites

i had this happen with exactly those 2 files, it may not be this, but my files happen to get corrupted, god knows how. try double-clicking them on your computer to see if the unpack the files correctly, thats a start anyways....

Link to comment
Share on other sites

You forgot to escape the extra quotes in your commands. Try this:

REG ADD %KEY%\020 /V 1 /D "%CDROM%\Software\WMP10\MP10setup.exe /q:A /c:\"setup_wm.exe /Q /R:N /DisallowSystemRestore\"" /f

REG ADD %KEY%\002 /V 1 /D "%CDROM%\Software\AdobeReader\AdbeRdr602_distrib_enu.exe /s /a /s /v\"TRANSFORMS=Rdr602.mst /qb\"" /f

Any extra quotation marks inside the original quotes need to be preceded with a back slash. Those should work assuming the original syntax is correct.

Link to comment
Share on other sites

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...