Hi there,

I am stuck with updating a previous version of my application :)
I pack all needed files into a cabinet file and build than a MSI-File
around it (via the Deployment Project in Visual Studio 2008). Now, if
I start the setupt (the MSI) file and a previous version (or the same)
is already installed it tells me this fact and than exits.
What can I do to upgrade my application with an MSI file? And where
can I specify the version of my application (Since the "version" of
the MSI means the version of the installer which should be 1.0.0 I
guess)?

Thanks in advance,
Tom

RE: How do I make an "upgradeable" MSI-File? by dbgrick

dbgrick
Mon Feb 25 09:16:10 CST 2008

The MSI file uses the ProductCode and UpgradeCode to identify it. Try
changing these values and Windows will identify it as a different application
install. Then do your stuff. The cab file uses the Manufacturer name and
Product Name. To install without uninstalling your old code, just simply
call it something like My App Upgrade.

Regards,
Rick D.

"mind_the_gap" wrote:

> Hi there,
>
> I am stuck with updating a previous version of my application :)
> I pack all needed files into a cabinet file and build than a MSI-File
> around it (via the Deployment Project in Visual Studio 2008). Now, if
> I start the setupt (the MSI) file and a previous version (or the same)
> is already installed it tells me this fact and than exits.
> What can I do to upgrade my application with an MSI file? And where
> can I specify the version of my application (Since the "version" of
> the MSI means the version of the installer which should be 1.0.0 I
> guess)?
>
> Thanks in advance,
> Tom
>