Angelfire48 Posted April 20, 2009 Share Posted April 20, 2009 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 offecho copie de dossiersechoCOPY "%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 Link to comment Share on other sites More sharing options...
Guest Posted April 20, 2009 Share Posted April 20, 2009 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 Link to comment Share on other sites More sharing options...
radix Posted April 20, 2009 Share Posted April 20, 2009 (edited) You can use $OEM$ folder. Read here.But I would choose to build an addon using inf file. Edited April 20, 2009 by radix Link to comment Share on other sites More sharing options...
vascorama Posted April 20, 2009 Share Posted April 20, 2009 hi there, make the folowing folder path on the cd/dvd:$OEM$\$Docs\All Users\BureauThen choose OEM preinstall, that way everything you put inside that folder will appear on desktop.Regards Link to comment Share on other sites More sharing options...
Martin H Posted April 23, 2009 Share Posted April 23, 2009 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 Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now