I use the following info-zip .bat file to create selft-extracting .zip
file. Info-zip self extracting .exe will always use relative paths.
I can put the destination directory as command line parameter. However, ISE does not expand [INSTALLDIR] in command line of launch program. so I don't
know installation directory.
zip -mR9T mydata\myreports *.fr?
copy /b c:\unzip\unzipsfx.exe+reports.zip reports.exe
zip -A reports.exe
del reports.zip
>I wonder if the EXE will accept any CommandLine parameters that you could pass to the EXE to make it use the relative paths?
>
>>Of course. You can reproduce this problem easily:
>>
>>1. Create a self extracting exe file.
>>2. Specify it as launch program
>>3. After running the setup, files are extracted to the directory from where
>>you run the seup.exe !
>>
>>Is this ISE bug ?
Andrus