Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / .NET Framework / Setup / March 2005

Tip: Looking for answers? Try searching our database.

Confused - UpgradeCode on NET 2003 msi

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
thejamie - 16 Mar 2005 17:01 GMT
I'm confused.   I have been building a net msi for over a year without any
problems arising from multiple installations appearing in the add-remove
setup.  I have been careful to NEVER CHANGE THE UPGRADECODE!   I wrote it on
a note and taped it to my computer.

After checking the project in, deleting the original and checking it out to
a new folder, upgrading the Crystal msm's, the project began installing with
a new reference in the add remove programs with each build (despite having
the same upgradecode as the original).   After becoming frustrated, I broke
my rule and tried to start fresh and upgraded the upgrade code and told
everyone to uninstall the old product and reinstall the new.  

Once again, I am not changing the upgrade code, but the issue of multiple
add-remove references has not gone away and for what I know of it, this
should have ended with the advent of a new UpgradeCode.  Any help on this
would be appreciated.
Signature

Regards,
Jamie

Phil Wilson - 18 Mar 2005 17:57 GMT
VS-generated MSI files have the ALLUSERS property set to 2. This is IMO an
unfortunate choice because if you don't have admin privileges you get a
per-user install, and if you do have them you get a per-system install
(equivalent to the just me/everyone choices). This happens silently. The
point here is that a per-system upgrade will not upgrade a per-user and vice
versa, so you end up with two products on your system. That's the likely
explanation - per-user/per-system often causes this issue. If ALLUSERS was 1
in the MSI file, you'd get an error if you didn't have admin privs, so you
could think about setting it after the build.
Signature

Phil Wilson
[Microsoft MVP-Windows Installer]
Definitive Guide to Windows Installer
http://apress.com/book/bookDisplay.html?bID=280

> I'm confused.   I have been building a net msi for over a year without any
> problems arising from multiple installations appearing in the add-remove
[quoted text clipped - 16 lines]
> should have ended with the advent of a new UpgradeCode.  Any help on this
> would be appreciated.
jamie - 19 Mar 2005 00:01 GMT
ALLUSERS=1 sounds like the right choice.  Thank you
> VS-generated MSI files have the ALLUSERS property set to 2. This is IMO an
> unfortunate choice because if you don't have admin privileges you get a
[quoted text clipped - 27 lines]
>> should have ended with the advent of a new UpgradeCode.  Any help on this
>> would be appreciated.

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.