the gridlock
Posts: 27
Joined: Mon Nov 02, 2020 8:29 am

How to set installation folder same as .exe file?

Wed Feb 10, 2021 9:13 pm

Hi,
After building .exe file, I want to deploy it on client computer as follows:
After running the .exe file, I want to set the install folder path which is also the location of this .exe file.
How I can do this?
The APPDIR variable does not return the correct folder path as expected

Thanks you!

Eusebiu
Posts: 4931
Joined: Wed Nov 14, 2012 2:04 pm

Re: How to set installation folder same as .exe file?

Thu Feb 11, 2021 12:11 pm

Hi,

You can use the "SETUPEXEDIR" property that contains the location of the EXE setup file, but please note that if the EXE file is on a CD/DVD drive or another non-writable location, the installation will fail.

Best regards,
Eusebiu
Eusebiu Aria - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”