Jump to content

RunOnce nLite


Bob Sock

Recommended Posts

Hello, I'm using nLite to create an unattended XP install disk and was wondering if it is possible to copy a folder with files in it from a location on the disk to the desktop after the installation is completed?

If this is done using the runonce option in nLite could someone post the line I would need to put into the runonce section in nLite or point me to a location where I could find an example.

Thanks.

Link to comment
Share on other sites


Hi, I'm using a "Quick.cmd" with command

xcopy %systemdrive%\Install\Desktop\*.* "%systemdrive%\Documents and Settings\Mike\Desktop" /s /i

the RunOnce line:

[GUIRunOnce]
"%systemdrive%\Install\Quick.cmd"

I'm using $OEM$ folders Ex. \$OEM$\$1\Install\Desktop

You can put files and folders in your "Desktop"

Think this will help.

Cheers

Edited by Mihai_m
Link to comment
Share on other sites

Thanks for the help.

I'm not too sure how the Quick.cmd works though.

In nLite I put just this in the run once

%systemdrive%\Install\Quick.cmd

.

And under $OEM$ I make a folder called $1 and in $1 a folder called Install and in Install a folder called Desktop. And all the files I want should be located in Desktop.

I opened notepad and copied

xcopy %systemdrive%\Install\Desktop\*.* "%systemdrive%\Documents and Settings\[b]Bob[/b]\Desktop" /s /i

into it and saved it as Quick.cmd, where do I put the Quick.cmd?

I really appreciated the help but I'm new at all the command line stuff.

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