Cannot delete custom action - Advanced Installer Community
dornseiffer
Posts: 4
Joined: Tue May 05, 2015 3:16 pm

Cannot delete custom action

Hi,

We are using Advanced Installer 11.3 on Windows 7.

On the Custom Actions page, we cannot delete a newly created action in the Install Execution Stages.
Having selected the created action, the Delete button is enabled but nothing happens when clicking on it.
Custom Actions.png
Custom Actions.png (32.01 KiB) Viewed 2893 times
Thx for your help.
Dan
Posts: 4530
Joined: Wed Apr 24, 2013 3:51 pm

Re: Cannot delete custom action

Hello and welcome to Advanced Installer forums,

Please note that the RemoveFolders and RegisterProduct are standard actions and these standard actions cannot be removed from the installation sequence.
However, the Delete toolbar button should not be enabled. It should be disabled. Can you please make sure that one of these RemoveFolders or RegisterProduct standard action is selected?

Best regards,
Dan
Dan Ghiorghita - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
dornseiffer
Posts: 4
Joined: Tue May 05, 2015 3:16 pm

Re: Cannot delete custom action

Hello,

Thx for your response.
I confirm that the standard action is selected.

I also have a question.
In the Files and Folders page, I created a File Removal item whose name is a standard file path ( see attachment ).
When building the package, an error says that the file name is invalid.
Error.png
Error.png (9.14 KiB) Viewed 2876 times
Thx for your help
Dan
Posts: 4530
Joined: Wed Apr 24, 2013 3:51 pm

Re: Cannot delete custom action

Hi,

Please note that in the Name field from the File Removal Dialog you should add the name of the file that will be removed, not the path to the related path.

So, if you want to remove a file from the related directory, you need to create the folder structure first. After this step you can create the file removal operation. Please use the attached image for your reference:
RemoveFileFolderStructure.png
RemoveFileFolderStructure.png (32.65 KiB) Viewed 2866 times
If you have other questions, please let me know.

Best regards,
Dan
Dan Ghiorghita - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”