$SFXPATH$ does not work properly in InstallAware X12

Got a problem you cannot solve? Try here.
tamarrra
Posts: 2
Joined: Thu Sep 24, 2020 12:23 pm

$SFXPATH$ does not work properly in InstallAware X12

Postby tamarrra » Fri Sep 25, 2020 3:56 am

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 2151 times


My compression settings are following:
ia2.png
ia2.png (13.27 KiB) Viewed 2151 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

FrancescoT
Site Admin
Posts: 5361
Joined: Sun Aug 22, 2010 4:28 am

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

Postby FrancescoT » Fri Sep 25, 2020 10:08 am

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 2140 times

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

White Papers (HowTos) - http://www.installaware.com/publication ... papers.htm
Publications - http://www.installaware.com/publications-review.htm
InstallAware Help -F1 anywhere in the InstallAware IDE


Return to “Technical Support”

Who is online

Users browsing this forum: No registered users and 125 guests