MSFN Forum: How to copy Folders from Install CD? - MSFN Forum

Jump to content



Unattended CD/DVD Guide Homepage · MSFN Forum Rules

Welcome to the Applications Installs forum. Make sure you read the forum rules before you start posting.

Links/Requests to warez and/or any illegal material (porn, cracks, serials, etc..) will not be tolerated. Discussion of circumventing WGA/activation/timebombs/keygens or any other illegal activity will also not be tolerated.

We try our best to keep this forum clean of illegal content. If you see any illegal activity use the "report" button you find in every post to report the specific post to the moderators. If you ignore any of the rules you will be banned without notice.

Read Forum Rules
Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

How to copy Folders from Install CD? Rate Topic: -----

#1 User is offline   Angelfire48 

  • Group: Banned
  • Posts: 5
  • Joined: 25-March 09

  Posted 20 April 2009 - 06:33 AM

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


#2 User is offline   -X- 

  • Member
  • Group: Patrons
  • Posts: 1,667
  • Joined: 08-January 04
  • OS:XP Pro x86
  • Country: Country Flag

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

#3 User is offline   radix 

  • Friend of MSFN
  • PipPipPipPipPip
  • Group: Members
  • Posts: 715
  • Joined: 08-February 07

Posted 20 April 2009 - 08:01 AM

You can use $OEM$ folder. Read here.
But I would choose to build an addon using inf file.

This post has been edited by radix: 20 April 2009 - 08:06 AM


#4 User is offline   vascorama 

  • Newbie
  • Group: Members
  • Posts: 26
  • Joined: 29-July 07

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

#5 User is offline   Martin H 

  • Friend of MSFN
  • PipPipPipPipPip
  • Group: Members
  • Posts: 802
  • Joined: 24-November 06
  • OS:none specified

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
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users



All trademarks mentioned on this page are the property of their respective owners
Copyright © 2001 - 2011 msfn.org
Privacy Policy