MSFN Forum: Runonce - MSFN Forum

Jump to content



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

Runonce Rate Topic: -----

#1 User is offline   grandam_99 

  • Newbie
  • Group: Members
  • Posts: 28
  • Joined: 14-August 03

Posted 23 October 2004 - 09:47 AM

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


#2 User is offline   grandam_99 

  • Newbie
  • Group: Members
  • Posts: 28
  • Joined: 14-August 03

Posted 23 October 2004 - 10:22 AM

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

[URL]
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"

#3 User is offline   MHz 

  • SendToA3X v1.7
  • PipPipPipPipPipPipPip
  • Group: Members
  • Posts: 1,634
  • Joined: 02-August 04

Posted 23 October 2004 - 10:53 AM

Is your cmdlines.txt in your winnt.sif?
You need to have cmdlines.txt under $oem$ folder to run your runonceex command from there.

#4 User is offline   grandam_99 

  • Newbie
  • Group: Members
  • Posts: 28
  • Joined: 14-August 03

Posted 23 October 2004 - 10:54 AM

yes it is....

#5 User is offline   MHz 

  • SendToA3X v1.7
  • PipPipPipPipPipPipPip
  • Group: Members
  • Posts: 1,634
  • Joined: 02-August 04

Posted 23 October 2004 - 10:58 AM

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.

#6 User is offline   grandam_99 

  • Newbie
  • Group: Members
  • Posts: 28
  • Joined: 14-August 03

Posted 23 October 2004 - 11:15 AM

this is mine

[COMMANDS]
"RunOnceEx.cmd"


what am I doing wrong???

#7 User is offline   grandam_99 

  • Newbie
  • Group: Members
  • Posts: 28
  • Joined: 14-August 03

Posted 23 October 2004 - 12:14 PM

nevermind I fixed it it was my winnt

thanks anyway

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