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

Prevent User Deletion

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: 8238
Joined: Mon Apr 02, 2012 1:11 pm
Contact: Website

Re: Prevent User Deletion

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.04 KiB) Viewed 22329 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”