MSFN Forum: copy files from cd to HD during setup? - 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

copy files from cd to HD during setup? Rate Topic: -----

#1 User is offline   Surfred73 

  • Group: Members
  • Posts: 6
  • Joined: 07-February 05

Posted 09 February 2005 - 11:55 AM

Hi !

Setup does NOT copy files from the CD to HD during installation;
i´m using RunOnceEX.cmd with following command for example:


REG ADD %KEY%\010 /V 1 /D copy /Y %systemdrive%\install\TU04\test.txt "%Programfiles%\Test Folder 2005" /f

whats wrong with this code ?

ps.: i just tested the CD with wmware, not in a real WIN installation; maybe thats the problem?

thanks

ma


#2 User is offline   jrf2027 

  • Member
  • PipPip
  • Group: Members
  • Posts: 238
  • Joined: 06-September 04

Posted 09 February 2005 - 03:16 PM

Do you have the following line in your winnt.sif?

[Unattended]
OEMPreinstall=Yes


Do you have the files to be copied to %systemdrive%\install located on your CD at $OEM$\$1\Install (or located in your XPCD directory before making the CD at \XPCD\$OEM$\$1\Install) ?

If the answer to either of those questions is no, you've found your problem.

Also, where do you have RunOnceEx.cmd located?

#3 User is offline   Surfred73 

  • Group: Members
  • Posts: 6
  • Joined: 07-February 05

Posted 09 February 2005 - 03:34 PM

Hello !

winnt.sif: OEMPreinstall=YES -> ok
RunOnceEx.cmd is located on CD: in the $OEM$ - folder

all my applications for uunattended setup are located on CD in $OEM$\$1\install\...

all the applications are installed after setup , the problem is just the copy-thing

better example:

REG ADD %KEY%\010 /VE /D "TuneUP Utilities 2004" /f
REG ADD %KEY%\010 /V 1 /D "%systemdrive%\install\TU04\tuneup04.exe /q" /f

REG ADD %KEY%\010 /V 2 /D copy /Y "%systemdrive%\install\TU04\testfile.txt" "%ProgramFiles%\TuneUp Utilities 2004" /f

this for example testfile.txt will not be copied to the harddisk, why? whats wrong?

REG ADD %KEY%\010 /V 3 /D "REGEDIT /S %systemdrive%\install\TU04\tu04.reg" /f

the rest is working well....

ma

#4 User is offline   cestpaspossible 

  • Newbie
  • Group: Members
  • Posts: 25
  • Joined: 03-October 04

Posted 09 February 2005 - 04:04 PM

You can do it by a winrar sfx archive.

In the extract path, you enter the path you want.

You can also check two boxes : Hide all and overwrite the files in the SFX options of winrar.

after you just have to put this line

REG ADD %KEY%\010 /V 2 /D "%systemdrive%\install\TU04\your_file_sfx.exe"

That's All

#5 User is offline   Yzöwl 

  • Wise Owl
  • Group: Super Moderator
  • Posts: 4,195
  • Joined: 13-October 04
  • OS:Windows 7 x64

Posted 09 February 2005 - 04:12 PM

@ Surfred73

You are short of quotes........
REG ADD %KEY%\010 /V 1 /D "%SystemRoot%\system32\cmd /c copy %SystemDrive%\install\TU04\test.txt \"%ProgramFiles%\Test Folder 2005\"" /f


<edit>
I take it that the %ProgramFiles%\Test Folder 2005 already exists!

If not I would save myself the Trouble and put test.txt inside Test Folder 2005 and place that in .\$OEM$\$Progs before burning and it will be copied straight over automatically
</edit>

#6 User is offline   Surfred73 

  • Group: Members
  • Posts: 6
  • Joined: 07-February 05

Posted 10 February 2005 - 02:42 PM

Thanks for your help !

i solved the problem by using self extracing files winrar sfx; worked fine !!


thanks alot

ma

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