Arthur
Posts: 69
Joined: Wed May 19, 2010 9:53 am

user creation and deletion

Hi,

if I create a new User, is the User deleted when the package is uninstalled? Can I control this?

Arthur
Dan
Posts: 4530
Joined: Wed Apr 24, 2013 3:51 pm

Re: user creation and deletion

Hello Arthur,

Yes, the user get deleted when your package is uninstalled.

During uninstall process, Windows Installer removes the data registered into the MSI file.

Please let us know if you have other questions.

Best regards,
Dan
Dan Ghiorghita - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
Arthur
Posts: 69
Joined: Wed May 19, 2010 9:53 am

Re: user creation and deletion

Hi Dan,

I am finding that the user is not always deleted. Two series of events:

1.
  • Install package - user created
    Delete package - user deleted
2.
  • Install package - user created
    Upgrade package - user unchanged
    Delete package - user is not installed
I want the user to remain unchanged when I upgrade the package, but I want the user to be deleted if the package in uninstalled. How can I acheive this? I have already sent the aip to to support at advancedinstaller dot com, as I have another question with the subject 'Firewall exceptions in Windows XP'.

Arthur
Dan
Posts: 4530
Joined: Wed Apr 24, 2013 3:51 pm

Re: user creation and deletion

Hello Arthur,

I'm not sure why you encountered this behavior. I've tested your scenario but I cannot reproduce it.

So, can you please try to test your installation package on another clean machine and see if the behavior still persist?
If it does, can you please send us a verbose log of the uninstall process of the upgraded package to support at advancedinstaller dot com so we can investigate it? Also, please tell us on what Operating System have you tested.

Happy Holidays,
Dan
Dan Ghiorghita - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
Arthur
Posts: 69
Joined: Wed May 19, 2010 9:53 am

Re: user creation and deletion

Hi Dan,

I've tried this on several machines, including systems with clean OS installations. This is always the behaviour that I see.

How do I create an uninstall log? My package is included in an EXE bootstrapper. I have already added /L*VX "C:\package.log" to the MSI Command Line in the Bootstrapper Options. This creates an install log file, but not an uninstall logfile.

Arthur
Arthur
Posts: 69
Joined: Wed May 19, 2010 9:53 am

Re: user creation and deletion

Is anybody there?
Dan
Posts: 4530
Joined: Wed Apr 24, 2013 3:51 pm

Re: user creation and deletion

Hi Arthur,

I apologize for my delay reply.

Here is the command line statement which you can use:
msiexec.exe /x <ProductCode> /L*V "C:\package.log"

You can take a look on the Msiexec.exe Command Line article.

Also, can you please give us the AIP's( old project file and the upgraded project file) to support at advancedinstaller dot com so we can investigate them?

Best regards,
Dan
Dan Ghiorghita - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
Arthur
Posts: 69
Joined: Wed May 19, 2010 9:53 am

Re: user creation and deletion

Hi Dan, as I said earlier:
Arthur wrote: I have already sent the aip to to support at advancedinstaller dot com, as I have another question with the subject 'Firewall exceptions in Windows XP'.
I have seen the article you link to, and I tried msiexec.exe /x <ProductCode> /L*V "C:\package.log" but I get a message about this feature not being supported.

Arthur
Dan
Posts: 4530
Joined: Wed Apr 24, 2013 3:51 pm

Re: user creation and deletion

Hi Arthur,

Please note that you should use a command line statement like that:

msiexec.exe /x {CCDFD809-D18B-4DB3-92DC-9BBC3812DECC} /L*V "C:\package.log"

Also, can you please give us the AIP's( old project file and the upgraded project file) to support at advancedinstaller dot com so we can investigate them? If it contains confidential information you can send us a small test project which reproduce this behavior.

Best regards,
Dan
Dan Ghiorghita - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”