Jump to content

Recommended Posts

Posted

Hi!

I just need to know how I can make nLite copy some Folders to my Desktop during installation. I tried the following runOnceEx, but it didn't work!

@echo off

echo copie de dossiers

echo

COPY "%SOURCE%\Apps\Bureau" "%systemdrive%\Documents and Settings\All Users\Bureau\"

echo.

(Bureau is the word for Desktop in french!)

I also tried the same thing with the XCopy command, but in vain. Notice that I need to copy a whole directory, and not a single file!

plz Help, if u can, and if u want!

Angelfire


Posted

Is %SOURCE% set somewhere else? That looks more like a batch file than something your would put in runonceex. Are you calling the batch file from runonceexe?

xcopy is what you use for directories

Posted

hi there, make the folowing folder path on the cd/dvd:

$OEM$\$Docs\All Users\Bureau

Then choose OEM preinstall, that way everything you put inside that folder will appear on desktop.

Regards

Posted

I know that you've allready gotten an alternative solution, but to answer your original question, then use this in nLite's 'Runonce' tab:

@xcopy %source%Apps\Bureau "%allusersprofile%\Bureau\" /eh >nul

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