|
|
|
|
#1 |
|
Junior Member
Join Date: Apr 2005
Posts: 2
|
howto use files not in installer but on CD ???
Hallo,
if got that error 12345, because the files id like to install are more than 4 GB and the installer can only handle 2GB within the installer. Is it possible to tell the installer to use "external" files that are not compressed with the installer together??? for example cd-| install.exe 500 KB | files | file1.exe 2.000 MB file2.dll 1.000 MB . . The installer uses not only the files in the archiv of the installer.exe, also the files in the directory "files". Is there a command for that ??? can this command also handle the parameter "ifnewer" for fileaccess ??? best regards LANToeter |
|
|
|
|
|
#2 |
|
Forum King
|
CopyFiles "$EXEDIR\myfile.blub" "$INSTDIR\myfile.blub"
|
|
|
|
|
|
#3 |
|
Junior Member
Join Date: Apr 2005
Posts: 2
|
thanks for the fast answer.
The first time you use the installer it works with your code. But when i use it the second time it will owerwrite all the files again !!!! That takes about 16 minutes !! is there a chance to owerwrite only if the file from the $EXEDIR is never ??? thanks LANToeter |
|
|
|
|
|
#4 |
|
Senior Member
Join Date: Sep 2004
Location: Wisconsin, US
Posts: 258
|
You could use this function from the archive to first compare the file dates, and then skip your copyfiles command based on your findings.
|
|
|
|
|
|
#5 |
|
Moderator
Join Date: Nov 2002
Location: Birmingham, England
Posts: 8,202
|
Or, if you want to go for a simpler solution just use
IfFileExists "path_to/file.ext" 0 NoExtract_file.ext File "file.ext" NoExtract_file.ext: -Stu Need an installer? http://www.afrowsoft.co.uk |
|
|
|
![]() |
|
|||||||
| Thread Tools | Search this Thread |
| Display Modes | |
|
|