Jump to content

Unable do load RunonceEX.cmd


Recommended Posts

Hi there.

I´m not beying able to run this command. As i understand it, after running it, there should be something stored in memory that should run after restart. The problem is nothing happens...

Have already tried to install windows with my unnented install but this step went missing... No software got installed (located at folders inside $OEM$\install\)

I have cmdlines.txt and RunOnceEX.cmd both in the $OEM$ folder.

Here they are:

cmdline.txt

[COMMANDS]
"RunOnceEx.cmd"

RunOnceEX.cmd

cmdow @ /HID
@echo off

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

REG ADD %KEY% /V TITLE /D "A Instalar Aplicações" /f

REG ADD %KEY%\005 /VE /D "Adobe Acrobat Reader 6" /f
REG ADD %KEY%\005 /V 1 /D %systemdrive%\install\Adobe\AdbeRdr60_ptb_full.exe -p"-s /v\"/qn\"" /f

REG ADD %KEY%\005 /VE /D "Sygate Personal Firewall 5.5.2710" /f
REG ADD %KEY%\005 /V 1 /D %systemdrive%\install\Sygate\pspf.exe /QN Reboot=Supress /f

REG ADD %KEY%\015 /VE /D "MSN Messenger 6.2" /f
REG ADD %KEY%\015 /V 1 /D %systemdrive%\install\MSN\MsnMsgs.msi /QB /f

REG ADD %KEY%\020 /VE /D "Nero 6.6.00" /f
REG ADD %KEY%\020 /V 1 /D %systemdrive%\install\Nero\nero6600.exe /SN=1A23-0009-6030-1312-0769-4067 /WRITE_SN /SILENT /NO_UI /NOREBOOT /NOLICENSE /NOCANCEL /f

REG ADD %KEY%\025 /VE /D "Winrar 3.4" /f
REG ADD %KEY%\025 /V 1 /D %systemdrive%\install\WinRAR\wrar340.exe /s /f

REG ADD %KEY%\035 /VE /D "A importar alterações do registo" /f
REG ADD %KEY%\035 /V 1 /D "REGEDIT /S %systemdrive%\install\regtweaks.reg" /f

REG ADD %KEY%\040 /VE /D "A limpar e reiniciar..." /f
REG ADD %KEY%\040 /V 1 /D %systemdrive%\install\cleanup.cmd /f

Is there something messing? some earlier step from msfn´s guide i missed?

Thanks in advance

Link to comment
Share on other sites


Yes, you have a big issue. You are missing quotes

IE:

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

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

REG ADD %KEY%\015 /VE /D "SpyBot 1.3" /f
REG ADD %KEY%\015 /V 1 /D "%systemdrive%\Install\spybot\SpyBot(v.1.3).exe /SILENT" /f

Link to comment
Share on other sites

Hmmm...

Ok, the quotes are missing, but my qyestion is, should the quotes be only within the location of the file, or end only after the parameters?

1

REG ADD %KEY%\005 /VE /D "Sygate Personal Firewall 5.5.2710" /f
REG ADD %KEY%\005 /V 1 /D "%systemdrive%\install\Sygate\pspf.exe /QN Reboot=Supress" /f

or 2

REG ADD %KEY%\005 /VE /D "Sygate Personal Firewall 5.5.2710" /f
REG ADD %KEY%\005 /V 1 /D "%systemdrive%\install\Sygate\pspf.exe" /QN Reboot=Supress /f

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