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 / November 2006

Tip: Looking for answers? Try searching our database.

Version conflict

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
John - 31 Aug 2006 04:26 GMT
Hi

I have version 1 of an app already installed on client computers. Now I want
to install version 2 of the app while keeping version 1 for now so client
can test version 2 while keep on using version 1 for now. When I try to
install version 2 I get the message "Another version of the product is
installed...". How can I get round this?

Thanks

Regards
John - 31 Aug 2006 05:32 GMT
I have now changed the product id of the app and recreated the set-up. This
time it goes past the stage where it gave message last time but now it says
'Unable to install because a newer version of this product is already
installed.' which is strange as I have just compiled this latest version and
it should be the newest.

What am I missing?

Thanks

Regards

> Hi
>
[quoted text clipped - 7 lines]
>
> Regards
Vadym Stetsyak - 31 Aug 2006 08:39 GMT
Hello, John!

J> What am I missing?

It seems to me that you have smth wrong in our Upgrade MSI table
( http://msdn.microsoft.com/library/default.asp?url=/library/en-us/msi/setup/upgra
de_table.asp
 )

Did you changed Package GUID?

What do you use to build your setup package?
--
Regards, Vadym Stetsyak
www: http://vadmyst.blogspot.com
John - 31 Aug 2006 09:36 GMT
I did change the package id after my post and before second post. I am using
vs2003 set-up project to create set-up msi.

Anything I can do from here?

Thanks

Regards

> Hello, John!
>
[quoted text clipped - 10 lines]
> Regards, Vadym Stetsyak
> www: http://vadmyst.blogspot.com
Vadym Stetsyak - 31 Aug 2006 11:37 GMT
Hello, John!

J> Anything I can do from here?

Just a hint you can disable flags in setup project properties.
Set to false DetectNewerInstalledVersion

If you want to have more control over install process, then setup project is not
appropriate for you.

As an altrenative you can try using WiX
( http://www.tramontana.co.hu/wix/ )
( http://wix.sourceforge.net )

--
Regards, Vadym Stetsyak
www: http://vadmyst.blogspot.com
John - 31 Aug 2006 21:17 GMT
I am worried that forcefully installing version 2 could effect working of
version 1. How can .net be convinced that version 1 & 2 are completely
different apps and should not be related to each other?

Thanks

Regards

> Hello, John!
>
[quoted text clipped - 14 lines]
> Regards, Vadym Stetsyak
> www: http://vadmyst.blogspot.com
Phil Wilson - 01 Sep 2006 01:49 GMT
You've built a separate setup so that MSI sees both setups as different
products, but it's up to you to make sure that you can run two versions of
the app on the same system.  The tricky areas will be items that are shared
or should be unique, such as services, folders used by the running app,
identical assemblies in the GAC, identical shared files in other places.
Signature

Phil Wilson
[Microsoft MVP Windows Installer]

>I am worried that forcefully installing version 2 could effect working of
>version 1. How can .net be convinced that version 1 & 2 are completely
[quoted text clipped - 22 lines]
>> Regards, Vadym Stetsyak
>> www: http://vadmyst.blogspot.com
John - 01 Sep 2006 02:04 GMT
Any information available somewhere on how to do that? There must be others
in the same situation wanting to deliver more than one app from the same
base code (basically different generations of the same app).

There are no common services or folders in my case though.

Thanks

Regards

> You've built a separate setup so that MSI sees both setups as different
> products, but it's up to you to make sure that you can run two versions of
[quoted text clipped - 28 lines]
>>> Regards, Vadym Stetsyak
>>> www: http://vadmyst.blogspot.com
Venkata Ramana Reddy D - 06 Nov 2006 06:36 GMT
To install 2 versions of a product Side by side:
    Change the ProductName and Version for the two versions in Setup properties. Set the properties
    DetectNewerInstalledVersion to False and
    RemovePreviousVersions to False.

To install one version of a product over the previous installation:
    Change the ProductName and Version for the two versions in Setup properties. Set the properties
    DetectNewerInstalledVersion to True and
    RemovePreviousVersions to True.

    Make sure that 'version' Property of the latest should be greater when compared to earlier other wise you will get a message 'Unable to install decause a newer version of this product already installed'

Rate this thread:







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.