Posts

Showing posts from June, 2021

Custom actions do not execute on the ExitDialog dialog in AdvancedInstaller after .NET Framework prerequisite installation and reboot

Image
When using AdvancedInstaller you may find that custom actions do not execute on the ExitDialog dialog (for example when you click a butto) after .NET Framework prerequisite installation and reboot. The AdvancedInstaller installation will correctly continue after the .NET Framework installation reboot however the buttons on the exit page don't work. For an Open URL action you can simply tick the "Wait for custom action to finish before proceeding" checkbox. The URL will actually open and the install continue as normal. For an actual .exe file you need to find a way to create a custom action that executes the application. We found there were several ways to do this however each had issues Using VBScript to execute a file caused the file to execute behind the installer window Using an inline PowerShell script executes the application correctly in front of the installer window, however on some test machines this look several seconds before the application started You can also