Markus,

It appears that the logic against our extra ‘checking’ package was incorrect.  
We have now included two instances of the same executable, one before all 
packages and one at the end.

The ‘DetectCondition’ for the one at the top is set to always ‘0’, so it will 
always run on install, and the one at the bottom is set to ‘1’ meaning that it 
will not fire on install.  Then on install the one at the bottom is run first 
and will always detect as present, so it will always uninstall, and the one at 
the top will never run.

Thanks for your help guys.

Adam


From: Markus Wehrle [mailto:mar...@laika42.com]
Sent: 07 October 2013 10:11
To: Adam Roper; General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] One-Time Reboot in Burn Executable

Hi,

Did you set an UninstallCommand and RepairCommand for your ExePackage. You also 
should provide a DetectCondition, so that burn can detect if your exe is 
installed or not.

Markus

> Adam Roper <adam.ro...@guidance.eu.com<mailto:adam.ro...@guidance.eu.com>> 
> hat am 7. Oktober 2013 um 10:43 geschrieben:
>
>
> (Apologies for the faked 'reply' on this one, but I'm having Monday morning 
> issues.)
>
> Thanks for the response Neil.  We wrote a small exe as suggested and this 
> worked well, but we have found that the exe is not called again on uninstall. 
>  The uninstall is called for the msi's in the reverse order, but the .exe is 
> completely missed.
>
> Any clues?
>
> Thanks
> Adam
>
>
> -------
>
> You could write a helper exe and install that package first, that would do 
> the FBWF filter check and then by the return code tell burn to reboot. At the 
> end you could do something similar.
>
> Neil
>
> -----Original Message-----
> From: Adam Roper [mailto:adam.roper@...]
> Sent: 02 October 2013 11:54
> To: wix-users@...
> Subject: [WiX-users] One-Time Reboot in Burn Executable
>
> All,
>
> I have a number of .msi's that are built using the WiX toolset, and they are 
> also made available as a single .exe package using WiX Burn.
>
> A number of those individual installations check for the presence of the 
> Window File Based Write Filter, and if found will prompt for a reboot and 
> then continue installing after the reboot.  However for the Burn package this 
> is not working as I'd hoped - which is of course that I wouldn't have to do 
> anything and a combination of luck and magic would make it all go away.
>
> What I therefore want is for a check to be performed at the beginning of the 
> Burn .exe for the presence of the FBWF and perform a reboot, and following 
> the reboot the .exe continues to install, but I'm not sure if this is even 
> possible because it's an .exe rather than an .msi.
>
> Any clues?  If so then perhaps you also know how to make the thing reboot 
> once all of the MSIs have installed so that I can bring the system back up 
> with the FBWF re-enabled.
>
> Thanks
> Adam
>
> ------------------------------------------------------------------------------
> October Webinars: Code for Performance
> Free Intel webinars can help you accelerate application performance.
> Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from 
> the latest Intel processors and coprocessors. See abstracts and register > 
> http://pubads.g.doubleclick.net/gampad/clk?id=60134791&iu=/4140/ostg.clktrk
> _______________________________________________
> WiX-users mailing list
> WiX-users@...
> https://lists.sourceforge.net/lists/listinfo/wix-users
> ------------------------------------------------------------------------------
> October Webinars: Code for Performance
> Free Intel webinars can help you accelerate application performance.
> Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from
> the latest Intel processors and coprocessors. See abstracts and register >
> http://pubads.g.doubleclick.net/gampad/clk?id=60134791&iu=/4140/ostg.clktrk
> _______________________________________________
> WiX-users mailing list
> WiX-users@lists.sourceforge.net<mailto:WiX-users@lists.sourceforge.net>
> https://lists.sourceforge.net/lists/listinfo/wix-users
------------------------------------------------------------------------------
October Webinars: Code for Performance
Free Intel webinars can help you accelerate application performance.
Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from 
the latest Intel processors and coprocessors. See abstracts and register >
http://pubads.g.doubleclick.net/gampad/clk?id=60134791&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