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!

netrustPS
Posts: 40
Joined: Tue Dec 20, 2016 4:40 am

Launch EXE for mixed package after wizard

I am looking to launch my program exe after the installation wizard is completed. Followed the instructions in the following link for mixed packages. The result is that the parameter is launched but instead of the file being launched C drive is launched. I suspect that even though I have set the custom action to update the value to the corresponding exe path it is somehow not being ran.

http://www.advancedinstaller.com/user-g ... ed-package
Custom Action.PNG
Custom Action.PNG (4.25 KiB) Viewed 2804 times
Custom Action x86.PNG
Custom Action x86.PNG (25.82 KiB) Viewed 2804 times
Install Parameter.PNG
Install Parameter.PNG (2.31 KiB) Viewed 2804 times
The blanked out parameters in the custom action resolves to "APPDIR\{MyEXEx86.exe}" where {MyEXEx86.exe} is the name of my exe in 32 or 64 bit environment.

I have another working approach using a "Launch EXE with working directory" custom action to launch the file, but that action runs before I exit out of the wizard's finish dialog.

Any advice? Thanks in advance.
Horatiu
Posts: 42
Joined: Tue Nov 29, 2016 1:19 pm

Re: Launch EXE for mixed package after wizard

Hello,

Unfortunately, the how-to is not clear enough. There are two Paths Resolution steps, you need to place your
custom action in the Wizard Dialogs Stage.

Values of properties set in Install Execution Stage, cannot be accessed in the UI after the stage has finished. For more information you
can check the Custom actions page.

Best regards,
~Horatiu
Attachments
Capture.JPG
Capture.JPG (26 KiB) Viewed 2800 times
netrustPS
Posts: 40
Joined: Tue Dec 20, 2016 4:40 am

Re: Launch EXE for mixed package after wizard

Hi Horatiu,

You were absolutely right, I had placed the custom actions in the Install Execution Stage instead of the Wizards Dialog Stage. It is now working as it should. Thanks for the advice.

Return to “Building Installers”