Invisible Installer, how to know install dir of other app? - Advanced Installer Community

We’re moving our forums to a new platform.

You can still browse and search existing topics, but you can no longer create new topics or post replies.

For questions, technical issues, or feature requests, please don’t hesitate to contact our support team at support@advancedinstaller.com.

Thank you for your understanding!

canhuth
Posts: 241
Joined: Thu Jun 19, 2008 9:03 am

Invisible Installer, how to know install dir of other app?

Hello everyone.

Regarding my initial question (http://www.advancedinstaller.com/forums ... f=2&t=7606) I would like to know how to configure the AI project for the shell extension registration (the "second" installer, executed by the "first" installer (the one which installs the application) so that it does not show up any user interface. The other problem I have is how to tell the second installer where the "real" application is installed?



With best regards

Clemens Anhuth
canhuth
Posts: 241
Joined: Thu Jun 19, 2008 9:03 am

Path to installer.exe file?

Hello everyone.

Is there a way to get the path of the installer.exe file, for example in a custom action?


With best regards

Clemens Anhuth
Cosmin
Posts: 5797
Joined: Tue Jul 10, 2007 6:39 pm
Contact: Website

Re: Invisible Installer, how to know install dir of other app?

Hi Clemens,

In order to make an installation silent, you can use the "Limit to basic user interface (simple progress and error handling)" option in the Install Parameters page. Also, you can launch the MSI with the /qn parameter by using the msiexec command line.
The other problem I have is how to tell the second installer where the "real" application is installed?
This can be done in multiple ways:
- in the command line of the second installer set a custom property to the APPDIR property of the first installer
- in the first installer write the installation path into a registry value and retrieve it with a search in the second package
- in the second installer use a custom action to determine the installation folder of the first installer
Is there a way to get the path of the installer.exe file, for example in a custom action?
If the installation package uses an EXE bootstrapper, the path of the EXE is stored in the SETUPEXEDIR property.

Regards,
Cosmin
Cosmin Pirvu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
canhuth
Posts: 241
Joined: Thu Jun 19, 2008 9:03 am

Re: Invisible Installer, how to know install dir of other app?

Hello Cosmin,

thank you for the information.


With best regards

Clemens Anhuth

Return to “Common Problems”