MSFN Forum: keys for mP 10 in RunOnExe - MSFN Forum

Jump to content



Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

keys for mP 10 in RunOnExe Rate Topic: -----

#1 User is offline   moo 

  • Junior
  • Pip
  • Group: Members
  • Posts: 86
  • Joined: 29-July 04

  Posted 29 July 2004 - 01:35 AM

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


#2 User is offline   Octavious 

  • Group: Members
  • Posts: 4
  • Joined: 21-July 04

Posted 29 July 2004 - 01:39 AM

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

Quote

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

Quote

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

#3 User is offline   moo 

  • Junior
  • Pip
  • Group: Members
  • Posts: 86
  • Joined: 29-July 04

Posted 29 July 2004 - 08:14 AM

Thanks, but dosn't work.
reg add %KEY%\049 /v 1 /d "%CDROM%\soft\hotfixes\MP10Set.exe /Q:A /C:\"setup_wm.exe /Q:A /R:N\"" /f

#4 User is offline   dinosaur-jr 

  • Group: Members
  • Posts: 6
  • Joined: 05-August 04

Posted 05 August 2004 - 12:07 PM

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

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

Attached File(s)



Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users



All trademarks mentioned on this page are the property of their respective owners
Copyright © 2001 - 2011 msfn.org
Privacy Policy