Jump to content
Strawberry Orange Banana Lime Leaf Slate Sky Blueberry Grape Watermelon Chocolate Marble
Strawberry Orange Banana Lime Leaf Slate Sky Blueberry Grape Watermelon Chocolate Marble

MSFN is made available via donations, subscriptions and advertising revenue. The use of ad-blocking software hurts the site. Please disable ad-blocking software or set an exception for MSFN. Alternatively, register and become a site sponsor/subscriber and ads will be disabled automatically. 



Sign in to follow this  
grandam_99

Runonce

Recommended Posts

I get this error when it goes to install my software windows cannot find c:\install\Applications\AdAware\aawsepersonal.exe

this is my Runonceex

cmdow @ /HID

@echo off

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" /f

REG ADD %KEY%\005 /V 1 /D "%systemdrive%\Install\Applications\AdobeReader6\AR6.msi /qn" /f

REG ADD %KEY%\010 /VE /D "Ad-Aware SE Personal Edition" /f

REG ADD %KEY%\010 /V 1 /D "%systemdrive%\Install\Applications\AdAware\aawsepersonal.exe /s" /f

REG ADD %KEY%\010 /V 2 /D "%systemdrive%\Install\pskill\sleep.exe /5" /f

REG ADD %KEY%\010 /V 3 /D "%systemdrive%\Install\pskill\pskill hh.exe" /f

REG ADD %KEY%\010 /V 4 /D "%systemdrive%\Install\pskill\pskill Ad-Aware.exe" /f

REG ADD %KEY%\015 /VE /D "MSN Messenger 6.2" /f

REG ADD %KEY%\015 /V 1 /D "%systemdrive%\Install\Applications\MSN\MSN_Messenger_6.2.0137.msi /qn" /f

REG ADD %KEY%\020 /VE /D "WinRAR 3.30" /f

REG ADD %KEY%\020 /V 1 /D "%systemdrive%\Install\Applications\WinRAR\WinRAR330.exe /s" /f

REG ADD %KEY%\025 /VE /D "Importing Registry Tweaks" /f

REG ADD %KEY%\025 /V 1 /D "REGEDIT /S %systemdrive%\install\RegTweaks.reg" /f

EXIT

all of my programs are in D:\XPCD\$OEM$\$1\Install\Applications

what did I do wrong

Share this post


Link to post
Share on other sites

and this is my winnt.sif

;SetupMgrTag

[Data]

AutoPartition=1

MsDosInitiated="0"

UnattendedInstall="Yes"

[unattended]

UnattendMode=FullUnattended

OemSkipEula=Yes

OemPreinstall=Yes

TargetPath=\WINDOWS

[GuiUnattended]

AdminPassword=*

EncryptedAdminPassword=NO

OEMSkipRegional=1

TimeZone=50

OemSkipWelcome=0

[userData]

ProductKey=XXXXX-XXXXX-XXXXX-XXXXX-XXXXX

FullName="User"

OrgName=""

ComputerName=user

[Display]

BitsPerPel=32

Xresolution=800

YResolution=600

Vrefresh=75

[TapiLocation]

CountryCode=107

Dialing=Tone

AreaCode=506

[branding]

BrandIEUsingUnattended=Yes

Home_Page=http://www.google.com/

Help_Page=http://www.google.ca/

Search_Page=http://www.google.ca/

[Components]

msmsgs=off

msnexplr=off

[Proxy]

Proxy_Enable=0

Use_Same_Proxy=1

[identification]

JoinWorkgroup=home

[Networking]

InstallDefaultComponents=Yes

[COMMANDS]

"RunOnceEx.cmd"

Share this post


Link to post
Share on other sites

Is your cmdlines.txt in your winnt.sif?

You need to have cmdlines.txt under $oem$ folder to run your runonceex command from there.

Share this post


Link to post
Share on other sites

Here is my file called cmdlines.txt, in $oem$

[COMMANDS]
"UserAccounts.cmd"
"RunOnceEx.cmd"
"REGEDIT /S RegTweaks.reg"

That is similar to what you need to do.

Share this post


Link to post
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

Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.

×