Jump to content

nube Question, RunOnceEx or Batch Files?


Recommended Posts

Hi, my first Post!

I invested some time to read the MSFN Unattended guide completely, and I am creating a Unattended CD. Windows Completes with no errors however no applications install, they are copied to the hard drive correctly however. Do I need both the RunOnceEx and the Batch files with all the echo and wait commands for the programs to install, does RunOnceEx just install the reg keys?

I have all the MSI and EXE's in $OEM$\$1\install\*NAME*

I have the cmdow in $OEM$\$$\system32

In the X:\$OEM$ Directory I have these files:

Cleanup.cmd

RunOnceEx.cmd

cmdlines.txt

RegTweaks.reg

cmdow @ /HID
@echo off

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

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

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

blahblahblah....

REG ADD %KEY%\075 /VE /D "Importing Registry Tweaks" /f
REG ADD %KEY%\075 /V 1 /D "REGEDIT /S %systemdrive%\regtweaks.reg" /f

REG ADD %KEY%\080 /VE /D "Cleaning Up and Rebooting" /f
REG ADD %KEY%\080 /V 1 /D "%systemdrive%\cleanup.cmd" /f

EXIT

Is there anything immediately wrong or am I forgetting something?

Link to comment
Share on other sites


ugh, noo, dont say that.

Im sure that i was told that windows setup would look for cmdlines.txt which says:

[COMMANDS]
"RunOnceEx.cmd"

Before I go try that, what is this cmdlines.txt used for.

So your saying in winnt.sif

[GuiRunOnce]
%systemdrive%\install\runonceex.cmd

???

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