My installer creates a user. When I uninstall, or upgrade, the user is deleted (and recreated in the case of an upgrade). Is ther any way to stop the user being deleted?
In order to achieve that you can go in the “Table Editor” page and select the “InstallExecuteSequence” table. You can edit the “Condition” field of “AI_UninstallAccounts” action to something like: ((VersionNT >= 500) AND (REMOVE = "ALL")) AND ( NOT UPGRADINGPRODUCTCODE) .
Also, you should enable “Skip user creation if the user already exists” option from the “User Accounts” Properties.
FOLLOW US
Get the latest news in Application Packaging