Page 1 of 1

$SFXPATH$ does not work properly in InstallAware X12

Posted: Fri Sep 25, 2020 3:56 am
by tamarrra
Hi,

We're moving our software products from InstallShield and are now in search for new good setup building platform.
Recently I've installed InstallAware to play with.

In our scenario we need to check if there is a specific .txt file placed near the compressed setup file. As I understood from help, $SFXPATH$ variable should return path to the uncompressed setup file. But in my case it returns some temporary path (see screencap below)
ia1.png
ia1.png (38.76 KiB) Viewed 2235 times


My compression settings are following:
ia2.png
ia2.png (13.27 KiB) Viewed 2235 times


I have InstallAware X12 installed on some virtual server with Windows Server 2016

What am I doing wrong here? And what is the correct way to get the path to the compressed setup file during the installation?

Thank you.

Cheers,
Tamara

Re: $SFXPATH$ does not work properly in InstallAware X12

Posted: Fri Sep 25, 2020 10:08 am
by FrancescoT
I don't see any problem with the SFXPATH pre-defined variable, honestly.
SFXPATH: If an uncompressed directory layout is used, this variable is empty. Otherwise set to the full path of the folder containing the self extracting executable which bootstrapped the installer.


SFXPATH.png
SFXPATH.png (67.28 KiB) Viewed 2224 times

In the above test, I executed the Compressed Installer from "This is my folder" (sub-folder) on my Desktop.