What version of WiX are you using?  This looks like an issue fixed in v3.9:
http://wixtoolset.org/issues/4292/

On Thu, Apr 2, 2015 at 2:27 PM, kurt.jen...@us.ophiropt.com <
kurt.jen...@us.ophiropt.com> wrote:

> Now we KNOW we have found the -real- problem... :)~
>
> Tried to use Upgrade to detect when a reboot is required:
>
>     <Upgrade Id="$(var.UpgradeCode)">
>       <UpgradeVersion Minimum="$(var.BGProductVersion)"
>                       IncludeMinimum="no"
>                       OnlyDetect="yes"
>                       Language="1033"
>                       Property="NEWPRODUCTFOUND" />
>
>       <UpgradeVersion Minimum="1.0.0"
>                       IncludeMinimum="yes"
>                       Maximum="$(var.BGProductVersion)"
>                       IncludeMaximum="no"
>                       Language="1033"
>                       Property="UPGRADEFOUND" />
>
>       <UpgradeVersion Maximum="6.5.0"
>                       IncludeMinimum="no"
>                       OnlyDetect="yes"
>                       Language="1033"
>                       Property="REBOOOTREQUIRED" />
>     </Upgrade>
>
> The last part caused the double detection by the bootstrapper and caused
> the installation to be skipped.
>
>
> How then do we get the version that is being replaced? This is needed to
> decide when a reboot is required.
>
>
> -----Original Message-----
> From: Jensen, Kurt
> Sent: Thursday, April 02, 2015 12:44 PM
> To: General discussion about the WiX toolset.
> Subject: Re: [WiX-users] Bundle problems
>
> Think we found the real problem
>
> [2D80:2FB8][2015-04-02T12:28:40]i103: Detected related package:
> {DCB7DC05-888D-4B9B-904B-EA1DB739C994}, scope: PerMachine, version:
> 6.4.0.171, language: 1033 operation: Downgrade
> [2D80:2FB8][2015-04-02T12:28:40]i103: Detected related package:
> {DCB7DC05-888D-4B9B-904B-EA1DB739C994}, scope: PerMachine, version:
> 6.4.0.171, language: 1033 operation: MajorUpgrade
>
> Followed by
>
> [2D80:2FB8][2015-04-02T12:28:40]i101: Detected package:
> Install.BeamGage.Professional.x64.WiX.msi, state: Obsolete, cached: None
>
> The MSI is never run.
>
> Why would it set the state to "Obsolete" when we are actually doing a
> "MajorUpgrade"?
>
> -----Original Message-----
> From: Jensen, Kurt
> Sent: Thursday, April 02, 2015 12:19 PM
> To: wix-users@lists.sourceforge.net
> Subject: [WiX-users] Bundle problems
>
> 1) Our MSI sometimes requires a reboot after certain upgrades.  We have
> programmed ScheduleReboot with the necessary condition.  The previous
> version is removed and reboot is requested when run directly from the MSI.
> a) No reboot is requested when run from the encompassing bundle.  The MSI
> log shows return value of 3010.
> b) The previous version is not uninstalled when run from the bundle.
>
> 2) Another alternative, and a solution to a different problem, would be to
> display the MSI UI during installation.  We have set
> DisplayInternalUI="yes" but the bundle behaves same as not.
>
> Online information is scarce and contradictory.  What controls should we
> expect to work?  What should be the expected behavior?
>
> TIA!
>
> Kurt Jensen
> Senior Software Engineer
> Ophir-Spiricon LLC
>
> ------------------------------------------------------------------------------
> Dive into the World of Parallel Programming The Go Parallel Website,
> sponsored by Intel and developed in partnership with Slashdot Media, is
> your hub for all things parallel software development, from weekly thought
> leadership blogs to news, videos, case studies, tutorials and more. Take a
> look and join the conversation now. http://goparallel.sourceforge.net/
> _______________________________________________
> WiX-users mailing list
> WiX-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wix-users
>
>
> ------------------------------------------------------------------------------
> Dive into the World of Parallel Programming The Go Parallel Website,
> sponsored by Intel and developed in partnership with Slashdot Media, is
> your hub for all things parallel software development, from weekly thought
> leadership blogs to news, videos, case studies, tutorials and more. Take a
> look and join the conversation now. http://goparallel.sourceforge.net/
> _______________________________________________
> WiX-users mailing list
> WiX-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wix-users
>
>
> ------------------------------------------------------------------------------
> Dive into the World of Parallel Programming The Go Parallel Website,
> sponsored
> by Intel and developed in partnership with Slashdot Media, is your hub for
> all
> things parallel software development, from weekly thought leadership blogs
> to
> news, videos, case studies, tutorials and more. Take a look and join the
> conversation now. http://goparallel.sourceforge.net/
> _______________________________________________
> WiX-users mailing list
> WiX-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wix-users
>
------------------------------------------------------------------------------
BPM Camp - Free Virtual Workshop May 6th at 10am PDT/1PM EDT
Develop your own process in accordance with the BPMN 2 standard
Learn Process modeling best practices with Bonita BPM through live exercises
http://www.bonitasoft.com/be-part-of-it/events/bpm-camp-virtual- event?utm_
source=Sourceforge_BPM_Camp_5_6_15&utm_medium=email&utm_campaign=VA_SF
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to