Custom action not firing with MSI installer on Windows 10 - Advanced Installer Community
henna123
Posts: 4
Joined: Fri Oct 02, 2015 11:50 am

Custom action not firing with MSI installer on Windows 10

Hello

I am using latest version of Advance Installer to create setup. I am firing some custom action to open exe file once installation is finished and user clicks finsh. Custom action works perfectly fine with single exe build. When I make a msi build, custom action doesn't get fire on Windows 10. Surprisingly same builds works fine on Windows 7, not tested on windows 8. Is it a bug in AI or some issue with Windows 10 ?

Thank You
Daniel
Posts: 8283
Joined: Mon Apr 02, 2012 1:11 pm
Contact: Website

Re: Custom action not firing with MSI installer on Windows 10

Hello and welcome to our forums,

I'm afraid I have no clue why this happens. Can you please send us the .AIP (project file) to support at advancedinstaller dot com so we can investigate its settings and test it on our side?

All the best,
Daniel
Daniel Radu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
henna123
Posts: 4
Joined: Fri Oct 02, 2015 11:50 am

Re: Custom action not firing with MSI installer on Windows 10

I am attaching the file. Please have a look
Last edited by henna123 on Fri Oct 02, 2015 3:57 pm, edited 1 time in total.
henna123
Posts: 4
Joined: Fri Oct 02, 2015 11:50 am

Re: Custom action not firing with MSI installer on Windows 10

I found the problem. Executable in custom action require administrator privileges, and that us why they are failing silently. Is there any way I can run msi with administrator privileges just like exe build.
Daniel
Posts: 8283
Joined: Mon Apr 02, 2012 1:11 pm
Contact: Website

Re: Custom action not firing with MSI installer on Windows 10

Hello,

You cannot force the usage of "Run as administrator" option for an MSI build as you can do for an EXE build. This feature is specific only to our EXE package types.

As a workaround you can use a "Launch file" custom action type with the "Run As Administrator" flag checked.

All the best,
Daniel
Daniel Radu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”