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

How to set installation folder same as .exe file?

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?

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”