[lnkForumImage]
TotalShareware - Download Free Software

Confronta i prezzi di migliaia di prodotti.
Asp Forum
 Home | Login | Register | Search 


 

John

8/31/2006 3:26:00 AM

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


8 Answers

John

8/31/2006 4:33:00 AM

0

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

"John" <John@nospam.infovis.co.uk> wrote in message
news:ub3S00KzGHA.1300@TK2MSFTNGP05.phx.gbl...
> 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
>


Vadym Stetsyak

8/31/2006 7:40:00 AM

0

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/upgrade... )

Did you changed Package GUID?

What do you use to build your setup package?
--
Regards, Vadym Stetsyak
www: http://vadmyst.bl...

John

8/31/2006 8:36:00 AM

0

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

"Vadym Stetsyak" <vadym_s@ukr.net> wrote in message
news:edRdABNzGHA.4044@TK2MSFTNGP04.phx.gbl...
> 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/upgrade... )
>
> Did you changed Package GUID?
>
> What do you use to build your setup package?
> --
> Regards, Vadym Stetsyak
> www: http://vadmyst.bl...


Vadym Stetsyak

8/31/2006 10:37:00 AM

0

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.... )
( http://wix.sourc... )

--
Regards, Vadym Stetsyak
www: http://vadmyst.bl...

John

8/31/2006 8:18:00 PM

0

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

"Vadym Stetsyak" <vadym_s@ukr.net> wrote in message
news:OmA9SkOzGHA.2516@TK2MSFTNGP06.phx.gbl...
> 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.... )
> ( http://wix.sourc... )
>
> --
> Regards, Vadym Stetsyak
> www: http://vadmyst.bl...


Phil Wilson

9/1/2006 12:50:00 AM

0

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.
--
Phil Wilson
[Microsoft MVP Windows Installer]

"John" <John@nospam.infovis.co.uk> wrote in message
news:OXNWMqTzGHA.3880@TK2MSFTNGP06.phx.gbl...
>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
>
> "Vadym Stetsyak" <vadym_s@ukr.net> wrote in message
> news:OmA9SkOzGHA.2516@TK2MSFTNGP06.phx.gbl...
>> 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.... )
>> ( http://wix.sourc... )
>>
>> --
>> Regards, Vadym Stetsyak
>> www: http://vadmyst.bl...
>
>


John

9/1/2006 1:04:00 AM

0

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


"Phil Wilson" <phil.wilson@wonderware.something.com> wrote in message
news:%23i5k9BWzGHA.1300@TK2MSFTNGP05.phx.gbl...
> 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.
> --
> Phil Wilson
> [Microsoft MVP Windows Installer]
>
> "John" <John@nospam.infovis.co.uk> wrote in message
> news:OXNWMqTzGHA.3880@TK2MSFTNGP06.phx.gbl...
>>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
>>
>> "Vadym Stetsyak" <vadym_s@ukr.net> wrote in message
>> news:OmA9SkOzGHA.2516@TK2MSFTNGP06.phx.gbl...
>>> 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.... )
>>> ( http://wix.sourc... )
>>>
>>> --
>>> Regards, Vadym Stetsyak
>>> www: http://vadmyst.bl...
>>
>>
>
>


VenkataRamanaReddyD

11/6/2006 6:37:00 AM

0

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'