[Webinar] Streamline your web hosting managementRegister Today

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 442
  • Last Modified:

Query about 'Just me' and 'Everyone' in Windows Installer.

Hi experts
I've a question about the options provided by the Windows Installer.
If an older version was installed with 'Everyone' option, install a newer version with 'Just me' does not uninstall the older version.

I wonder if this is intentional? Could the Installer uninstall an older version despite the options chosen (previously and currently)?

Thanks in advance.

PS. I am using VS2008, .NET 3.5, Windows 7
0
dominicwong
Asked:
dominicwong
  • 2
1 Solution
 
cyborgrdCommented:
Have you the correct GUID (of the previous version) in the Upgrade Table?
0
 
dominicwongAuthor Commented:
I have the 'RemovePreviousVersions' set to 'True', and the 'ProductCode' changed. Do they have anything related to GUID?

BTW, if both the previous and the new versions were installed with 'Just me', the previous version would be uninstalled though. The trouble came when the previous was 'Everyone' and the new was 'Just me'.
0
 
Vadim RappCommented:
> I wonder if this is intentional?

Yes, it is.

> Could the Installer uninstall an older version despite the options chosen (previously and
currently)?

The efforts to do that have been proven to bring quite a lot of instability.

The best course is to uninstall by whatever deployment process you use to install. Script, group policy, etc.
0
 
dominicwongAuthor Commented:
Thanks vadimrapp1.
0

Featured Post

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now