[wix-users] Previous package not found (and therefore not uninstalled) during major upgrade
steve at keyba.se
Tue Feb 20 13:17:02 PST 2018
I tried to figure out what the Upgrade table is and how to find it, but
nearest I can tell, Wix is supposed to handle/populate it from the
<MajorUpgrade DowngradeErrorMessage="A newer version of Keybase is already
installed." AllowSameVersionUpgrades="yes" />
This hasn't changed for more than a year - I suppose it is possible that
wix 3.11 changed the way it populates this upgrade table? I will try
dumping it from some MSIs using Orca and see.
On Tue, Feb 20, 2018 at 10:48 AM, Hoover, Jacob <Jacob.Hoover at greenheck.com>
> Well, if FindRelatedProduct is truly failing then it's a windows installer
> issue. However I seriously don't think this is the issue. Per
> aa368600%28v=vs.85%29.aspx?f=255&MSPPError=-2147217396 I would compare
> the Upgrade table from an old "never broken" install and a newer "sometimes
> broken" installer.
> -----Original Message-----
> From: wix-users [mailto:wix-users-bounces at lists.wixtoolset.org] On Behalf
> Of Steve Sanders via wix-users
> Sent: Tuesday, February 20, 2018 12:38 PM
> To: WiX Toolset Users Mailing List <wix-users at lists.wixtoolset.org>
> Cc: Steve Sanders <steve at keyba.se>
> Subject: Re: [wix-users] Previous package not found (and therefore not
> uninstalled) during major upgrade
> I am positive because of the associated updater log, among other reasons,
> which shows version 1.0.39-20180121191330+5e57981 (that's the semantic
> version, the windows version being 22.214.171.124) applied 2018/01/23 11:57:11,
> then the updater considers that version current when it checks for the next
> 2018/02/16 19:30:03 INFO Checking for update, current version is
> (updater gets this version by running the installed program with the
> "version" argument.)
> Again, our custom actions are supposed to close our processes in the
> upgrade case, but if upgrade case is not detected, they can't close the
> I guess we could hack around this with some registry entries, but detecting
> + applying upgrades is one of the main reasons to use a tool like Wix I
> thought. Again, this happens only intermittently, and didn't seem to
> happen ever with Wix 3.9.
> Thanks again, everyone, for taking a look.
> On Tue, Feb 20, 2018 at 3:23 AM, Nir Bar via wix-users <
> wix-users at lists.wixtoolset.org> wrote:
> > The failing log says the the RESTART MANAGER is disabled so FilesInUse
> > is used. FilesInUse can only detect applications with a window.
> > However, this has nothing to do with upgrade detection. I've never
> > encountered a false-false upgrade detection.
> > Are you absolutely sure that another version is already installed?
> > --
> > Nir Bar, Independent WiX Expert. Creator of-
> > JetBA: WiX WPF Bootstrapper User Interface Framework
> > JetBA++: WiX Native Bootstrapper User Interface Framework
> > ____________________________________________________________________
> > WiX Toolset Users Mailing List provided by FireGiant
> > http://www.firegiant.com/
> WiX Toolset Users Mailing List provided by FireGiant
More information about the wix-users