Jump to content

keys for mP 10 in RunOnExe


Recommended Posts

Can anybody to help me, what's wrong with this key, please.

SET KEY=HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnceEx

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

reg add %KEY%\049 /ve /d "17. Media Player 10 Beta!" /f

reg add %KEY%\049 /v 1 /d %CDROM%\soft\hotfixes\MP10Set.exe /Q:A /C:"setup_wm.exe /Q:A /R:N" /f

Link to comment
Share on other sites


One thing that I see is that you are missing quotes and escape characters...

reg add %KEY%\049 /v 1 /d %CDROM%\soft\hotfixes\MP10Set.exe /Q:A /C:"setup_wm.exe /Q:A /R:N" /f
should be
reg add %KEY%\049 /v 1 /d "%CDROM%\soft\hotfixes\MP10Set.exe /Q:A /C:\"setup_wm.exe /Q:A /R:N\"" /f

But please, someone else make sure this is correct, because i could be wrong...

Link to comment
Share on other sites

Hi,

I use the following and works like a charm!

Just copy it.

:)

-----------------------------------------------------------------------------------------------

cmdow @ /HID

@echo off

IF EXIST U:\CD.txt set CDROM=U:

IF EXIST V:\CD.txt set CDROM=V:

IF EXIST W:\CD.txt set CDROM=W:

IF EXIST X:\CD.txt set CDROM=X:

SET KEY=HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnceEx

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

REG ADD %KEY%\000 /VE /D "Preparing Installation..." /f

REG ADD %KEY%\000 /V 1 /D "%CDROM%\Software\prepare.cmd" /f

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

REG ADD %KEY%\001 /V 1 /D "%CDROM%\Software\install\WMP10\MPSetupXP.exe /Q:A /R:N" /f

---------------------------------------------------------------------------------------------

post-70-1091729275_thumb.gif

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