mpande
Posts: 64
Joined: Tue Sep 28, 2021 1:52 pm

Prevent User Deletion

Fri Apr 22, 2022 1:07 am

Is there is an install condition or other way to prevent Advanced Installer from deleting a user created in Users and Groups, no matter what the action (ie during an upgrade or an uninstall)?

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

Re: Prevent User Deletion

Tue Apr 26, 2022 3:58 pm

Hi,

To avoid the user removal on product uninstall (regular uninstall or major upgrade) you can try to add a false condition on our "AI_UninstallAccounts" action in "Table Editor" page.

Just add a false condition (e.g. 1=2) for "AI_UninstallAccounts" action in "InstallExecuteSequence" table.
screenshot.jpg
screenshot.jpg (179.04KiB)Viewed 21227 times

Let us know how this works for you.

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

Return to “Common Problems”