Problem with CA deletion with AI 10.5 - Advanced Installer Community
R.Mueller
Posts: 202
Joined: Thu Aug 02, 2012 3:31 pm

Problem with CA deletion with AI 10.5

Hi Advanced Installer Team;

I spotted an error while deleting previously used custom actions. I got the message
references.png
references.png (15.55 KiB) Viewed 5615 times
when I try to delete a custom action, which is not being used anymore (but was previously). But when I click on "Find references" the list will be empty (as expected). Restart of AI helps to solve that issue. It seems, that AI is internally keeping an invalid reference on this CA.

Steps to reproduce:
  • create a new (enterprise) project
  • add a "set installer property" custom action without sequence
  • configure it, like SET_TEST_VALUE to 1
  • Goto dialogs, choose the welcome dialog and add select the next button
  • add "execute custom action" event, set it to the previously created custom action and set the condition = 1
  • run the setup with "run and log" - you will see the message: "PROPERTY CHANGE: Adding SET_TEST_VALUE property. Its value is '1'." -- as expected
  • end setup and go back to dialog view, select the next button
  • change the event from "execute custom action" to "set installer property value", property is SET_TEST_VALUE, argument and condition is 1
  • run and log the setup, behavior should be the same as before
  • goto custom actions view, try to delete the custom action
  • you will see previously mentioned message that this CA cannot be deleted, because it is still used -- which is not correct.
  • restart AI without any further changes, now delete the CA -- success
Regards,

Roland
Teodor
Posts: 73
Joined: Thu Jul 25, 2013 9:56 am

Re: Problem with CA deletion with AI 10.5

Hi

I can reproduce and confirm this issue. A fix will be available in a future version of Advanced Installer.
Thank you for bringing it to our attention.

Best regards
Teodor Micu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
R.Mueller
Posts: 202
Joined: Thu Aug 02, 2012 3:31 pm

Re: Problem with CA deletion with AI 10.5

Hi Teodor,

no problem, I am glad to help.

Btw. If you are in dialog editor view and you try to close the properties panel or the events panel with the red X - it does not work either. Only closing via the context menu works: Click on the (currently edited) dialog with right mouse key, chose "Properties" or "Events" to close the panels, but the red X is without function.

Regards,

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

Re: Problem with CA deletion with AI 10.5

Hello Roland,

This is an Advanced Installer issue. A fix for it will be added in a future version of Advanced Installer, thank you for bringing it to our attention.

All the best,
Daniel
Daniel Radu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
Daniel
Posts: 8283
Joined: Mon Apr 02, 2012 1:11 pm
Contact: Website

Re: Problem with CA deletion with AI 10.5

Hello,

This was fixed in version 10.7 of Advanced Installer released on November 11, 2013.

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

Return to “Common Problems”