Jump to content

how to use Runonce in Nilte complete


Recommended Posts


The 'RunOnce' tab of nLite is meant as a convenient way of adding NT commands to run at first-logon.

nLite exposes a pre-defined variable named '%source%', which represents the root of your install-source.

You can e.g. make a folder in the root of your install-source named SOFTWARE, and then place all your apps in there in subfolders, and then either add NT commands to install them all silently, one line at a time, in nLite's 'RunOnce' tab, or you could just make a NT command script or INF, which installs all the apps, and then place it into the SOFTWARE folder, and then call that NT command script from nLite's 'RunOnce' tab, like e.g. '%source%SOFTWARE\install.cmd'.

Each command-line added, will by nLite be added to a NT command script named nLite.cmd, which is placed in '%systemroot%\system32' and defined to run at first-logon in winnt.sif's 'GuiRunOnce' section.

Edit: About how to install your specific apps, then i will leave it up to yourself to do some searching on that, as there for the most apps are plenty of info on that both here at MSFN and otherplaces which can easilly be searched/googled...

Edited by Martin H
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...