SetupBuilder
SetupBuilder copied to clipboard
runAfter works only for installations with UI (at least for msi)
runAfter works only for installations with UI because that action is hooked to finish button
Can we have it work for silent installations also?
Which platform are you referring to or do you mean in general?
I generated msi and found this inconvenience. Not sure if it's a problem for other types of installer
UI Publish Control="Finish" Dialog="ExitDialog" Event="DoAction" Value="runAfter">NOT Installed OR REINSTALL OR UPGRADINGPRODUCTCODE< /Publish /UI
That's how runAfter is being invoked currently, it's just listen for finish button to be pressed. So if there is no UI and dialogs it's never going to be executed. I think you can trigger it from InstallExecuteSequence instead. Something like this:
InstallExecuteSequence Custom Action='runAfter' After ='InstallFinalize'>NOT Installed OR REINSTALL OR UPGRADINGPRODUCTCODE</Custom /InstallExecuteSequence