[wix-users] WiX installer does not overwrite Visual Studio Setup application

Suhaib Ahmad a.suhaib.47 at gmail.com
Wed Jan 17 01:14:51 PST 2018


Thanks for your reply. I know now that at least I am going in the right
direction. My WiX installation is on a perMachine scope, whereas the Setup
project allows the user to choose between Only him (per user) or Everyone
(per machine). When I try running the old installer for all users, and then
install using the new WiX installer, there is only one application shortcut
in the Program Menu and Desktop, but there still are two entries in
the *Control
Panel > Programs and Features*.

Did not mention this earlier, but the WiX installer deployed is x86 and
defaults to *\Program Files (x86)\* but the VS setup installer is x64 and
defaults to \Program Files\

And yes I do have a MajorUpgrade element.

On 17 January 2018 at 15:58, Tom Ofek Kafka via wix-users <
wix-users at lists.wixtoolset.org> wrote:

> Hi Ahmad,
>
> I don't know if this will help you, but when I confronted the same issue,
> the solution eventually was to apply the installation for all users:
>
> <Propery Id="ALLUSERS" Value="1" />
>
> Tom.
>
> On Wed, Jan 17, 2018 at 6:43 AM, Suhaib Ahmad via wix-users <
> wix-users at lists.wixtoolset.org> wrote:
>
> > I have also tried to make the UpgradeCode the same as the one in the
> setup
> > project installer, but the problem still persists.
> >
> > On 17 January 2018 at 12:19, Suhaib Ahmad <a.suhaib.47 at gmail.com> wrote:
> >
> > > Hi,
> > >
> > > I have written a WiX installer for my application which was previously
> > > done by someone else using the Visual Studio Setup project. I am
> facing a
> > > major issue where the wix installer installs the application but does
> not
> > > overwrite the one installed using the setup installer. So there are two
> > > same applications installed in the end.
> > >
> > > I need to fix this asap but I do not how how to go about this. Is there
> > > any way I can check if the application is installed, uninstall it and
> > then
> > > install using the Wix installer. If not and in the worst case, I would
> be
> > > fine if I can at least display a message to manually uninstall the
> > previous
> > > application before proceeding with the wix one.
> > >
> > > Thanks a lot
> > >
> >
> > ____________________________________________________________________
> > WiX Toolset Users Mailing List provided by FireGiant
> > http://www.firegiant.com/
> >
>
> ____________________________________________________________________
> WiX Toolset Users Mailing List provided by FireGiant
> http://www.firegiant.com/
>


More information about the wix-users mailing list