Archive: howto use files not in installer but on CD ???


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


CopyFiles "$EXEDIR\myfile.blub" "$INSTDIR\myfile.blub"


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


You could use this function from the archive to first compare the file dates, and then skip your copyfiles command based on your findings.


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