Jump to content

Recommended Posts

Posted

Hi all,

First of all i'd like to say :thumbup to this forum+site in general as it's excellent and extremely well constructed.

My first question is if I have a cmdlines.txt file in my $OEM$ folder and in that $OEM$ folder I have RunOnceEx.cmd and cleanup.cmd and RegTweak.reg

should my cmdlines.txt file look like :

[COMMANDS]
"REGEDIT /S RegTweak.reg"
"RunOnceEx.cmd"

Another thing I read on the unattended totorials was that if you have cmdlines.txt in the $OEM$ folder Windows will automatically execute this file, if that's the case do I still have to have something like

[GuiRunOnce]
%systemdrive%\Install\RunOnceEx.cmd

in my winnt.sif file ?

Thanks in advance

Seany


Posted

If it is in your cmdlines.txt file you don't want it in the [GuiRunOnce]. In my [GuiRunOnce] the only thing I have is my start.cmd which will auto install my programs.

Posted

No. It's idealy either one or the other. Which means that if you are using your cmdlines.txt file you don't need the [GuiRunOnceEx] in your .Sif file.

I use my CmdLines.txt file to call my HKey_Current_Users regedits to install during the 13min phase of installation and have it running a .Cmd file to place my reg key installations into my RunOnceEx upon first logon.

Hope that helps a little.

generic

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