I am using the WiX Source\Setup\WixBA as a starting point for a custom managed bootstrapper application.
I am trying to wrap my head around how the UpdateCommand works but I don't even see the DetectUpdateBegin method get fired. I see the DetectComplete method get fired but that just goes straight to setting this.State = UpdateState.Current without checking for updates. What am I missing? Ultimately I am trying to get the Bootstrapper to query a remote server and download an updated version of itself instead of having to distribute the updated bootstrapper.exe to the clients again. =====UpdateViewModel===== private void DetectUpdateBegin(object sender, Microsoft.Tools.WindowsInstallerXml.Bootstrapper.DetectUpdateBeginEventArgs e) { CustomBA.Model.LogMessage("[DEBUG-Update] DetectUpdateBegin: " + e.UpdateLocation); this.State = UpdateState.Checking; this.worker.RunWorkerAsync(e.UpdateLocation); } private void DetectComplete(object sender, Microsoft.Tools.WindowsInstallerXml.Bootstrapper.DetectCompleteEventArgs e) { CustomBA.Model.LogMessage("[DEBUG-Update] DetectComplete: "); // If we never started checking, assume we're up to date. if (UpdateState.Initializing == this.State) { this.State = UpdateState.Current; } } ========================= -- View this message in context: http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/Custom-Bootstrapper-Application-Update-Button-tp7589542.html Sent from the wix-users mailing list archive at Nabble.com. ------------------------------------------------------------------------------ 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=60134071&iu=/4140/ostg.clktrk _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users