Setup Manager Topics | Previous | Next

Running Your Own Commands: GuiRunOnce and Cmdlines.txt


Setup Manager contains two similar pages that allow you to run your own commands. The difference between these pages should be noted.

Run Once

The Run Once page is implemented by using the GuiRunOnce key of the answer file. This key is processed when setup is completed and the first logon occurs.

Command Lines

The Command Lines page is implemented using the distribution folder. Setup Manager writes the list of commands you enter to a special file, Cmdlines.txt, saved in the $oem$ subdirectory of your distribution folder.

Unlike the Run Once commands, the commands in Cmdlines.txt are processed at the end of Setup, just before it restarts to prompt for the first logon.

Note that while Setup runs, nobody is logged in. Therefore, commands run on the Command Lines page do not have access to protected network resources.


note-icon

Note

Windows Installer application installations cannot be initiated from a Cmdlines.txt file.