.NET custom action does not get APPDIR = solved - Advanced Installer Community

We’re moving our forums to a new platform.

You can still browse and search existing topics, but you can no longer create new topics or post replies.

For questions, technical issues, or feature requests, please don’t hesitate to contact our support team at support@advancedinstaller.com.

Thank you for your understanding!

AnneTheAgile
Posts: 61
Joined: Wed Jun 08, 2011 9:53 pm

.NET custom action does not get APPDIR = solved

Hi everyone, since I've made this silly mistake twice, I am typing it up for me and possibly others to find.
I called a .NET custom action using the predefined installer action.
Then when it ran, my CustomAction installer class code could not access the APPDIR path information.

The reason was that although I had added the /h="[APPDIR]\" to the 64bit install customization, I had not added it to the 32bit install!

AdvancedInstaller nicely automatically generates the two kinds, so be sure to edit both with your settings.

Return to “Common Problems”