ckoch
Posts: 13
Joined: Thu Sep 04, 2014 12:46 am

Set Installation Directory from setup path

I would like to hide the installation directory dialog and automatically set the installation directory to be the same path that the setup.exe was launched from. In other words, the user does not need to select a path, it will be set to the same path they launched the setup.exe. Is this possible?
Eusebiu
Posts: 4931
Joined: Wed Nov 14, 2012 2:04 pm

Re: Set Installation Directory from setup path

Hi and welcome to Advanced Installer forums.

In order to achieve this, you can go in the Dialogs page and remove the "FolderDlg" dialog. Then, go in the Install Parameters page and write the [SETUPEXEDIR] value in the "Application Folder" field.

However, please keep in mind that if the "setup.exe" package is launched from a read-only location (i.e. CD/DVD), the installation will fail.

Best regards,
Eusebiu
Eusebiu Aria - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
ckoch
Posts: 13
Joined: Thu Sep 04, 2014 12:46 am

Re: Set Installation Directory from setup path

Works great. Thanks.
Eusebiu
Posts: 4931
Joined: Wed Nov 14, 2012 2:04 pm

Re: Set Installation Directory from setup path

You're welcome. I'm glad you got this working.

Just let us know anytime you need help.

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

Return to “Building Installers”