[wix-users] How to upgrade?

Racheli Ganon r05458410430 at gmail.com
Sat Dec 4 22:13:25 PST 2021


Thanks Rob and Bevan!
So in other words there's no other way to perform an upgrade other than
to install a higher version.


Thanks
Racheli



‫בתאריך יום א׳, 5 בדצמ׳ 2021 ב-6:50 מאת ‪Bevan Weiss via wix-users‬‏ <‪
wix-users at lists.wixtoolset.org‬‏>:‬

> Racheli,
>
> You'd be advised to look over StackOverflow for WiX-like topics
>
> https://stackoverflow.com/questions/114165/how-to-implement-wix-installer-upgrade?rq=1
>
> The Windows Installer world is a little like witch-craft.  WiX doesn't seek
> to fully abstract away the incantations, just to make them slightly more
> user-friendly.
> But you will still want to understand (at a high level at least) the
> Windows Installer framework that WiX operates in.
>
> If you're looking for an .MSP file, then you are NOT looking for an
> UPGRADE, but are instead looking for a Patch
> https://wixtoolset.org/documentation/manual/v3/patching/
>
> Best advice is to avoid it.
> The simplest to design and troubleshoot are MAJOR_UPGRADEs (from MSIs), so
> stick with them if you can.
>
>
> Regards,
> Bevan
>
> On Sun, 5 Dec 2021 at 15:39, Rob Mensching via wix-users <
> wix-users at lists.wixtoolset.org> wrote:
>
> > msiexec /i new.msi
> >
> > From: Racheli Ganon <r05458410430 at gmail.com>
> > Sent: Saturday, December 4, 2021 4:10 PM
> > To: Rob Mensching <rob at firegiant.com>
> > Cc: WiX Toolset Users Mailing List <wix-users at lists.wixtoolset.org>
> > Subject: Re: [wix-users] How to upgrade?
> >
> > Thanks Rob!
> > Seems like you're right!
> > So in this case how can I perform an upgrade via the command line,
> without
> > uninstalling and reinstalling?
> > the wix installer outputs an *.msi product, not *.msp.
> > Tnx.
> >
> > ‫בתאריך שבת, 4 בדצמ׳ 2021 ב-21:54 מאת ‪Rob Mensching‏ <‪
> rob at firegiant.com
> > <mailto:rob at firegiant.com>‏>:
> > /u isn't a valid command-line switch to msiexec.exe. Here's the
> > documentation:
> >
> https://docs.microsoft.com/en-us/windows-server/administration/windows-commands/msiexec
> >
> > - - - - - - - - - - - - - - -
> > I provide short answers on wix-users. Full commercial support is offered
> > by FireGiant at http://www.firegiant.com/services
> >
> >
> > -----Original Message-----
> > From: wix-users <wix-users-bounces at lists.wixtoolset.org<mailto:
> > wix-users-bounces at lists.wixtoolset.org>> On Behalf Of Racheli Ganon via
> > wix-users
> > Sent: Saturday, December 4, 2021 11:31 AM
> > To: wix-users at lists.wixtoolset.org<mailto:wix-users at lists.wixtoolset.org
> >
> > Cc: Racheli Ganon <r05458410430 at gmail.com<mailto:r05458410430 at gmail.com
> >>
> > Subject: [wix-users] How to upgrade?
> >
> > Hi,
> > I implemented a simple wix installer.
> > I tested the upgrade scenario and it worked as expected.
> >
> > Now I want to tp perform the upgrade via the command line,
> >
> > msiexec /i <path_to _msi> works as expected as well
> > msiexec* /u* <path_to _msi> doesn't work at all. it's not triggering the
> > ui and the event viewer doesn't display any message/event.
> > So I have two questions:
> > Is it possible to perform an upgrade using the */u* parameter?
> > Is it majorUpgrade wissue or a wix issue?
> > Thanks!
> >
> > ____________________________________________________________________
> > WiX Toolset Users Mailing List provided by FireGiant
> > http://www.firegiant.com/
> >
> > ____________________________________________________________________
> > 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