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
Page 1 of 1
How to copy Folders from Install CD?
#2
Posted 20 April 2009 - 06:47 AM
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
xcopy is what you use for directories
#4
Posted 20 April 2009 - 11:23 AM
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
$OEM$\$Docs\All Users\Bureau
Then choose OEM preinstall, that way everything you put inside that folder will appear on desktop.
Regards
#5
Posted 23 April 2009 - 10:34 AM
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
Share this topic:
Page 1 of 1



Help
Back to top










