svkirans
Posts: 9
Joined: Sat Jan 25, 2020 7:48 am

Extra security for uninstallation

Fri May 08, 2020 1:25 pm

Hi,

I am running our java application as a service. However, we want the users not to stop or uninstall it themselves without contacting the IT team. Some anti-virus applications require an extra password to disable them or uninstall them. Is there anything similar that we can do with the installer created using Advanced Installer.

Thanks in advance.

Catalin
Posts: 6506
Joined: Wed Jun 13, 2018 7:49 am

Re: Extra security for uninstallation

Fri May 08, 2020 1:58 pm

Hello,

First of all, please keep in mind that there are two methods in which a user can remove a program from their computer.

1. By using the "Remove" button from the Control Panel.

This can be avoided by going to "Product Details" page and by checking the "Disable Remove" option from under the "Add or Remove Programs (Control Panel)" section.

2. By launching the setup in Maintenance mode and then choosing remove.

Here is where we can intervene. When the user presses the "Remove" button, you can add your own custom action that will display a text box in which the user can input a password. If the password is correct, set an installer property to a value and then, based on the property value, condition the event that spawns the next dialog.

remove.png
remove.png (168.92KiB)Viewed 8651 times

The custom action should be added as a custom action without sequence and should be scheduled as a "Published Event" when the "Remove" button is pushed.

Hope this helps.

Best regards,
Catalin
Catalin Gheorghe - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

svkirans
Posts: 9
Joined: Sat Jan 25, 2020 7:48 am

Re: Extra security for uninstallation

Sat May 09, 2020 12:27 pm

Is the maintenance mode available in the Professional version?

Catalin
Posts: 6506
Joined: Wed Jun 13, 2018 7:49 am

Re: Extra security for uninstallation

Mon May 11, 2020 9:06 am

Hello,

The Maintenance mode is present in every suite.

However, in order to modify the dialogs for the Maintenance mode (or any dialog), the "Dialog Editor" feature from the "Enterprise" license is required.

Please let me know if there is anything else I could help you with.

Best regards,
Catalin
Catalin Gheorghe - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

svkirans
Posts: 9
Joined: Sat Jan 25, 2020 7:48 am

Re: Extra security for uninstallation

Sat May 16, 2020 8:21 pm

Ok, Thanks for the information. I will let you know if we need it.

Catalin
Posts: 6506
Joined: Wed Jun 13, 2018 7:49 am

Re: Extra security for uninstallation

Mon May 18, 2020 8:19 am

Hello,

You are always welcome!
I will let you know if we need it.
Sure thing. I will be glad to assist.

Best regards,
Catalin
Catalin Gheorghe - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Feature Requests”