I spotted an error while deleting previously used custom actions. I got the message
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
Roland
FOLLOW US
Get the latest news in Application Packaging