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!

litu
Posts: 71
Joined: Fri Mar 22, 2013 2:57 pm

Not delete users

Hello,

My installation creates two users wich, for some unexcusable (and maybe a little embarassing) reason, have a very weak password.
The password doesn't meet the security policies and the install fails.

What we are doing now is to remove the server from the domain, disable the password security policies, install our program and make the server join the domain again.

The problem is that we have to do that every new version (every two months). Is there a way to avoid the deletion of the users when uninstalling the old version? So the new version will skip the user creation and we don't have to "unjoin" the domain.

Thanks in advance,
Arnau.
Eusebiu
Posts: 4971
Joined: Wed Nov 14, 2012 2:04 pm

Re: Not delete users

Hi Arnau,

In order to achieve this, you can go in the "Table Editor" page, "InstallExecuteSequence" table and set a false condition for the "AI_UninstallAccounts" row (i.e. 1=2). Also, in the "Users and Groups" page use the "Skip user creation if the user already exists" option for the new accounts that you want to create.

Best regards,
Eusebiu
Eusebiu Aria - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
litu
Posts: 71
Joined: Fri Mar 22, 2013 2:57 pm

Re: Not delete users

Ok, will do that.

My question is: when the users will not be deleted when uninstalled?
The customers have the x.y.z version, I'll make these changes for x.y.z+1.

When the customers install the x.y.z+1 version, the users will be deleted because to uninstall the msi used is the one from the x.y.z version, right?
So, for the upgrade to version x.y.z+1, the customers will still have to remove their server from the domain.

The changes applied will be notticed when uninstalling the x.y.z+1 and installing the x.y.z+2 version.

I just want to be sure of that to communicate that to our customers.

Thanks in advance.
Arnau.
Eusebiu
Posts: 4971
Joined: Wed Nov 14, 2012 2:04 pm

Re: Not delete users

Yes Arnau, what you described is correct. When the x.y.z version is uninstalled the users will still be deleted, but when the x.y.z+1 version will be uninstalled the users will not be deleted anymore.

Best regards,
Eusebiu
Eusebiu Aria - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Building Installers”