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!

sjeslis
Posts: 308
Joined: Mon Aug 22, 2011 11:40 pm
Contact: Website

Repromoting A Dialog To Repository Leaves Orphaned CAs

If you have a dialog in the repository that uses a AI custom action, e.g. "Display message box", when you "re-promote" the dialog to the repository a copy of the CA is created but the old, now orphaned, CA still shows up in Existing Custom Actions list.

User needs to delete manually. Seems like AI IDE should just delete it for you.

Also, it looks like sometimes when these CAs are duplicated the associated "Action Data" (in this case message text) is lost and needs to be repopulated.
Scott Jeslis
Senior Software Engineer
Cicero, Inc.
sjeslis
Posts: 308
Joined: Mon Aug 22, 2011 11:40 pm
Contact: Website

Re: Repromoting A Dialog To Repository Leaves Orphaned CAs

Looks like some "chaining" meant to happen here perhaps? The new CA in the repository .aip file has AdditionalSeq point to original CA GUID?
Scott Jeslis
Senior Software Engineer
Cicero, Inc.
Daniel
Posts: 8283
Joined: Mon Apr 02, 2012 1:11 pm
Contact: Website

Re: Repromoting A Dialog To Repository Leaves Orphaned CAs

Hello,
If you have a dialog in the repository that uses a AI custom action, e.g. "Display message box", when you "re-promote" the dialog to the repository a copy of the CA is created but the old, now orphaned, CA still shows up in Existing Custom Actions list.

User needs to delete manually. Seems like AI IDE should just delete it for you.
I'm afraid this is our default behavior. The original "Display message box" custom action is not automatically removed by Advanced Installer because it can be referred by other project items. So, if you want to remove it you should make sure it is not referred in another project part before removal.
Also, it looks like sometimes when these CAs are duplicated the associated "Action Data" (in this case message text) is lost and needs to be repopulated.
I'm not sure why this happens. Can you isolate the behavior in a sample or can you give us a detailed step by step test case scenario which reproduces the behavior?

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

Return to “Common Problems”