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
Page 1 of 1
copy files from cd to HD during setup?
#2
Posted 09 February 2005 - 03:16 PM
Do you have the following line in your winnt.sif?
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?
[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
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
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
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
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
Posted 09 February 2005 - 04:12 PM
@ Surfred73
You are short of quotes........
<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>
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
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
i solved the problem by using self extracing files winrar sfx; worked fine !!
thanks alot
ma
Share this topic:
Page 1 of 1



Help
Back to top









