Quote:
Originally Posted by hellik
thanks for your reply.
in the project there are many files organized in different subfolders (e.g. bin, lib and extrabin) [1] and included in the installer [2].
so 'extrabin', 'bin', 'lib' etc subfolders are there when the many files are installed to c:\Program Files\myprogram.
it could be that the 'extrabin' subfolder isn't ready/created when the extra files are copied by CopyFiles?
will have a look regarding this.
best
Helmut
[1] http://trac.osgeo.org/grass/browser/...r.bat.tmpl#L45
[2] http://trac.osgeo.org/grass/browser/....nsi.tmpl#L527
|
several test done:
[a] folder c:\Program Files\myprogram\extrabin created as one of the first actions taken by the nsis-installer
code:
;create extrabin folder for ms runtime installation
CreateDirectory "$INSTALL_DIR\extrabin"
files are not copied to c:\Program Files\myprogram\extrabin
[b] folder c:\Program Files\myprogram\extrabin created as one of the first actions taken by the nsis-installer
code:
;create extrabin folder for ms runtime installation
CreateDirectory "$INSTALL_DIR\extrabin"
and explicitly copying files to c:\Program Files\myprogram\extrabin by commands
code:
CopyFiles "$TEMP\$ORIGINAL_UNTAR_FOLDER\bin\msvcp60.dll" "$INSTALL_DIR\extrabin"
CopyFiles "$TEMP\$ORIGINAL_UNTAR_FOLDER\bin\msvcp70.dll" "$INSTALL_DIR\extrabin"
CopyFiles "$TEMP\$ORIGINAL_UNTAR_FOLDER\bin\msvcp71.dll" "$INSTALL_DIR\extrabin"
CopyFiles "$TEMP\$ORIGINAL_UNTAR_FOLDER\bin\msvcr71.dll" "$INSTALL_DIR\extrabin"
CopyFiles "$TEMP\$ORIGINAL_UNTAR_FOLDER\bin\msvcrt.dll" "$INSTALL_DIR\extrabin"
no files are copied.
any ideas/hints?
best
Helmut