We’re moving our forums to a new platform.

You can still browse and search existing topics, but you can no longer create new topics or post replies.

For questions, technical issues, or feature requests, please don’t hesitate to contact our support team at support@advancedinstaller.com.

Thank you for your understanding!

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: 8283
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 24213 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”