PDA

View Full Version : Custom Action - Launch Exe



burked
12-01-2005, 10:54 AM
I'm launching a sub-install using a C++ custom action in a windows installer dll. This installation completes successfully, but control never returns to the main installation. the only code i have in the function after the return from the launch of the app is a return ERROR_SUCCESS...

My custom action is called from the Next button, and after the custom action runs, the next dialog in the order should appear.

Any ideas why the install would never resume it's actions?

thanks,

Daren

Esh123
12-06-2005, 01:36 AM
Hi Darren,
You might want to make sure that your 'Next' action is carrying out a "NewDialog" action after your Custom Action returns. Without a condition evaluating to True on the NewDialog action, your dialog will just sit there, regardless of what your C++ function returns.

MartinMarkevics
12-06-2005, 05:33 PM
Generate an MSI log file of the install as well. This may provide more insight on the problem.