Hi Phil:
I'm trying to combine the removal of an already installed app and
install a new version with another app in the same setup project. How
would I run the uninstall from a setup project? The new setup is not
just an upgrade of the original app. It installs an update (to new
location) of the original app and installs another app, too.
Background:
We original had an install for SQLDMO installed on the machines via a
VS.NET setup project. This is used with an Access Data Project (which
was installed separately). Now I want to combine the install for
SQLDMO (and move it to the same directory as the ADP) with the ADP. So
the installs are going to be different.
Thanks for your help!
Chris
On Feb 15, 4:12 pm, "Phil Wilson"
[quoted text, click to view] <phil.wil...@wonderware.something.com> wrote:
> If the COM Dll was originally installed with a setup project, then why not
> just uninstall that product? That will remove the files and unregister the
> COM Dll. You can't just remove those files with out uninstalling the product
> that installed them. If you've just got a new version of a setup, use
> RemovePreviousVersions to automatically uninstall that old version of the
> product when you install the new one.
> --
> Phil Wilson
> [Microsoft MVP Windows Installer]
If the previous version was installed with MSI and you know it's UpgradeCode
(and version) you can use the RemovePreviousVersions property. That
automatically uninstalls the older version if it's there and then installs
your new version.
--
Phil Wilson
[Microsoft MVP Windows Installer]
[quoted text, click to view] <cbtechlists@gmail.com> wrote in message
news:1171633512.591822.306650@j27g2000cwj.googlegroups.com...
> Hi Phil:
>
> I'm trying to combine the removal of an already installed app and
> install a new version with another app in the same setup project. How
> would I run the uninstall from a setup project? The new setup is not
> just an upgrade of the original app. It installs an update (to new
> location) of the original app and installs another app, too.
>
> Background:
> We original had an install for SQLDMO installed on the machines via a
> VS.NET setup project. This is used with an Access Data Project (which
> was installed separately). Now I want to combine the install for
> SQLDMO (and move it to the same directory as the ADP) with the ADP. So
> the installs are going to be different.
>
> Thanks for your help!
>
> Chris
>
> On Feb 15, 4:12 pm, "Phil Wilson"
> <phil.wil...@wonderware.something.com> wrote:
>> If the COM Dll was originally installed with a setup project, then why
>> not
>> just uninstall that product? That will remove the files and unregister
>> the
>> COM Dll. You can't just remove those files with out uninstalling the
>> product
>> that installed them. If you've just got a new version of a setup, use
>> RemovePreviousVersions to automatically uninstall that old version of the
>> product when you install the new one.
>> --
>> Phil Wilson
>> [Microsoft MVP Windows Installer]
>