Jump to content

Recommended Posts

Posted

RUN("F:\NFORCE2\setup.exe")

WinWaitActive("NVIDIA Windows nForce Drivers", "Welcome to the InstallShield")
Send("!n")

WinWaitActive("NVIDIA Windows nForce Drivers", "LICENSE FOR CUSTOMER")
Send("!y")

WinWaitActive("NVIDIA Windows nForce Drivers", "Select the features")
Send("!n")

WinWaitActive("NVIDIA Windows nForce Drivers", "Please review the")
Send("!n")

WinWaitActive("Install NVIDIA IDE SW driver?", "Do you want to install the NVIDIA IDE SW driver?")
Send("!y")

WinWaitActive("NVIDIA Windows nForce Drivers", "Yes, I want to restart my computer now")
Send("{DOWN}")
Send("{ENTER}")

I got it to work fine... but how do I go about making this run during a clean install of Windows XP SP2?

For [GuiRunOnce], you can place them in any folder in the $OEM$ Distribution folders. For example, if you place batch_file.cmd in C:\XPCD\$OEM$\$1\install\ then you would insert this path under [GuiRunOnce] in winnt.sif, like so:

[GuiRunOnce]

%systemdrive%\install\batch_file.cmd

So would I just stick the .au3 as a compiled .exe in the "$OEM$\$1\" directory on the XPCD and then add "%systemdrive%\<blah>.exe" at the bottom of the winnt.sif file? Would that work fine? Or should it be something like "%CDROM%\<blah>.exe"?

I already posted this in the autoitv3 forums, but they seem to have no idea what I'm doing.


Posted

If you place your file in $OEM$\$1 then %systemdrive%\myfile.exe will work.

You have to uae the path that matches the $OEM$ sub directory on the cd.

For $OEM$\$$ would be the windows directory on the hard drive.

%CDROM% wouldn't work in winnt.sif. If you want to run your program from

cd you would have to call it from a batch file that defined the %CDROM%

variable.

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