Surfred73 Posted February 9, 2005 Share Posted February 9, 2005 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" /fwhats wrong with this code ?ps.: i just tested the CD with wmware, not in a real WIN installation; maybe thats the problem?thanksma Link to comment Share on other sites More sharing options...
jrf2027 Posted February 9, 2005 Share Posted February 9, 2005 Do you have the following line in your winnt.sif?[Unattended]OEMPreinstall=YesDo 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? Link to comment Share on other sites More sharing options...
Surfred73 Posted February 9, 2005 Author Share Posted February 9, 2005 Hello !winnt.sif: OEMPreinstall=YES -> okRunOnceEx.cmd is located on CD: in the $OEM$ - folderall 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-thingbetter example:REG ADD %KEY%\010 /VE /D "TuneUP Utilities 2004" /fREG ADD %KEY%\010 /V 1 /D "%systemdrive%\install\TU04\tuneup04.exe /q" /fREG ADD %KEY%\010 /V 2 /D copy /Y "%systemdrive%\install\TU04\testfile.txt" "%ProgramFiles%\TuneUp Utilities 2004" /fthis 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" /fthe rest is working well....ma Link to comment Share on other sites More sharing options...
cestpaspossible Posted February 9, 2005 Share Posted February 9, 2005 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 lineREG ADD %KEY%\010 /V 2 /D "%systemdrive%\install\TU04\your_file_sfx.exe"That's All Link to comment Share on other sites More sharing options...
Yzöwl Posted February 9, 2005 Share Posted February 9, 2005 @ Surfred73You 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> Link to comment Share on other sites More sharing options...
Surfred73 Posted February 10, 2005 Author Share Posted February 10, 2005 Thanks for your help !i solved the problem by using self extracing files winrar sfx; worked fine !!thanks alotma 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