Error AI_ICE05 - 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!

prolancer
Posts: 17
Joined: Wed Nov 23, 2011 6:16 am

Error AI_ICE05

Hi,

I created a custom action under InstallUISequence/Begin. Now, when I build the project I get this annoying AI_ACE05 error telling me that the custom action will not execute in unattended mode.

I do not want the action to execute in unattended mode. How do I stop the AI_ACE05 error showing up every time I do build?

Thank you
Emil
Last edited by prolancer on Thu Jan 26, 2012 10:27 pm, edited 1 time in total.
mihai.petcu
Posts: 3860
Joined: Thu Aug 05, 2010 8:01 am

Re: Error AI_ACE05

Hi Emil,

Assuming you actually mean AI_ICE05, here's the article with the solution.

All the best,
Mihai
Mihai Petcu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
prolancer
Posts: 17
Joined: Wed Nov 23, 2011 6:16 am

Re: Error AI_ICE05

Hi MIhai,

yes, it is AI_ICE05.

I actually want the action to execute only when you run the GUI, i.e. under InstallUISequence/Begin. I understand that the action sunder InstallUISequence only run when you run the installation in full UI mode, is this correct? If correct, that is what I want to do.

The error appears in the project when you build and it will confuse our auto-build system which will flag the build as failed due to the error.

BTW, how do you actually add the same action to both the InstallUISequence and InstallExecuteSequence? I tried to do this, but I cannot find the way to have the same action in both sequences. I can create a new action, which does the same thing, but I still get the same error.

Thank you
Emil
mihai.petcu
Posts: 3860
Joined: Thu Aug 05, 2010 8:01 am

Re: Error AI_ICE05

Hi Emil,
BTW, how do you actually add the same action to both the InstallUISequence and InstallExecuteSequence?
You can do this by sharing the custom action. Just drag it from one sequence to the other, while holding the Shift key.

To execute the custom action only when the installer runs with full UI, you can condition it using the following properties:
UILevel -> Set to the installation UI level : http://msdn.microsoft.com/en-us/library ... 85%29.aspx
LIMITUI -> Determines if the installation runs with full or basic UI : http://msdn.microsoft.com/en-us/library ... 85%29.aspx

All the best,
Mihai
Mihai Petcu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”