renderimage
Posts: 5
Joined: Wed Jul 11, 2012 10:27 am

Custom Action works on target and upgraded msi, fails in msp

I have a custom action (APP\CustomAction.exe) which is defer-executed correctly (just after Add Resources => Publish product) during the target image installation as well as during upgraded image installation.
Patch generation have successfully included custom action into the msp image, but it's executed as soon as that files is extracted, while its dependencies (.net dlls) are still to be installed/patched in the APPDIR :?
How do I solve this "issue" :?: :!:

P.S. Please, excuse my bad English :oops:
Daniel
Posts: 8276
Joined: Mon Apr 02, 2012 1:11 pm
Contact: Website

Re: Custom Action works on target and upgraded msi, fails in

Hello,

I'm not sure why you are encountering this behavior. You can take a look on our "Create patch custom action" article in order to achieve what you want.

Also, can you please send us both of your .AIPs (project files), the old and the new versions, and a verbose log of the patch installation to support at advancedinstaller dot com so we can investigate them?

All the best,
Daniel
Daniel Radu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
renderimage
Posts: 5
Joined: Wed Jul 11, 2012 10:27 am

Re: Custom Action works on target and upgraded msi, fails in

Please mark this thread as SOLVED, for some odd reason CustomAction dll dependencies were set to "Do not register with Windows Installer"

Return to “Building Installers”