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!

qureshi123
Posts: 3
Joined: Wed Nov 09, 2016 4:22 pm

how to find the path of launch file ?

Let say, i installed the first installer package as a prereq for the second installer package. In the second installer package after the ExitDialog i want to launch a file used in first installer, that means the second installer must know the path of file to launch used in first installer*. One possibility I can use a custom actions --> LaunchFile option in the second installer but how to provide the exact path (of the file used in the first installer) in "File to launch" ? Please let me know the possibilities ?

Thanks,

* i cannot use a fixed path as user can change the path during second installer package e.g APPDIR to another
Eusebiu
Posts: 4971
Joined: Wed Nov 14, 2012 2:04 pm

Re: how to find the path of launch file ?

Hi,

In order to achieve this you can add a registry entry from the first installer that will contain the path to the file that you want to launch. Then, in the second installer, create a search that puts the value of that registry entry into a property and use that property in the "File to launch" field of the "Launch file" custom action.

Let me know if this helped, otherwise give me more details about your scenario.

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

Return to “Building Installers”