No matter how I define "Schedule" in the MajorUpgrade node, during a Major
update, the installer always acts like Schedule is set to
afterInstallExecute. The installer will:

1) Install new version first (two copies show up in Add/Remove Programs
temporarily during this process)

2) Uninstall old version

 

In doing so, non-permanent registry entries are removed, and InstallFinalize
CA to start the application is called after step 1, but step 2 is then
closing the application so it can be prepared for uninstall.

 

Even though Schedule is supposed to default to "afterInstallValidate", I
still defined it explicitly with no luck.

 

<MajorUpgrade DowngradeErrorMessage="A newer version of [ProductName] is
already installed." AllowDowngrades="no" AllowSameVersionUpgrades="no"
Schedule="afterInstallValidate" />

 

Has anyone else ran across this issue before?

 

I have WIX Toolset v3.7

 

------------------------------------------------------------------------------
Learn the latest--Visual Studio 2012, SharePoint 2013, SQL 2012, more!
Discover the easy way to master current and previous Microsoft technologies
and advance your career. Get an incredible 1,500+ hours of step-by-step
tutorial videos with LearnDevNow. Subscribe today and save!
http://pubads.g.doubleclick.net/gampad/clk?id=58040911&iu=/4140/ostg.clktrk
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to