lantoeter
11th April 2005 12:19 UTC
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
Yathosho
11th April 2005 12:41 UTC
CopyFiles "$EXEDIR\myfile.blub" "$INSTDIR\myfile.blub"
lantoeter
11th April 2005 14:12 UTC
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
Jnuw
11th April 2005 20:43 UTC
You could use this function from the archive to first compare the file dates, and then skip your copyfiles command based on your findings.
Afrow UK
12th April 2005 15:53 UTC
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