Well known command-line args are processed by engine and provided to BA in the Command struct.
_______________________________________________________________ FireGiant | Dedicated support for the WiX toolset | http://www.firegiant.com/ -----Original Message----- From: Farrukhw [mailto:farru...@gmail.com] Sent: Tuesday, February 18, 2014 9:35 PM To: wix-users@lists.sourceforge.net Subject: Re: [WiX-users] Burn: Managed Boostrapper upgrade but Installs side by side with older version Sean, There was Environment.Exist(this.FinalResult) in ApplyComplete(). Now replaced with: this.FinalResult = e.Status; //Storing the final status code. bootstrapperApplication.Engine.Quit(e.Status); Please find latest log attached with this reply. However, I've figured out that "this.Command.GetCommandLineArgs().Length()" is 0 if I pass -uninstall or -log (Bootstrapper's command line). But when I pass -Sean or -Farrukh, its length > 0, and it does recognize these. >From log, it looks like -uninstall has no effect upon it. Now I'm >wondering where bootstrapper's arguments are vanishing? On Wed, Feb 19, 2014 at 9:26 AM, Sean Hall [via Windows Installer XML (WiX) toolset] <ml-node+s687559n7592763...@n2.nabble.com> wrote: > The line > > [26D4:2C38][2014-02-19T08:42:31]i301: Applying execute package: > {c0489d1d-654e-4caa-9f95-0fe034d74cc6}, action: Uninstall, path: > C:\Users\Farrukh\AppData\Local\Package > Cache\{c0489d1d-654e-4caa-9f95-0fe034d74cc6}\MyProdSoftwareInstaller.e > xe, > arguments: '"C:\Users\Farrukh\AppData\Local\Package > Cache\{c0489d1d-654e-4caa-9f95-0fe034d74cc6}\MyProdSoftwareInstaller.exe" > -uninstall -quiet -burn.related.upgrade' > > seems to be fine because the very next line says the exit code was 0. > > [26D4:2C38][2014-02-19T08:42:42]i319: Applied execute package: > {c0489d1d-654e-4caa-9f95-0fe034d74cc6}, result: 0x0, restart: None > > Since there's no Apply complete, that makes me think that either your > BA is hanging or someone killed your setup application process. > Although I guess it's possible that the engine crashed. > > Sean > > > > Date: Tue, 18 Feb 2014 20:09:08 -0800 > > From: [hidden > > email]<http://user/SendEmail.jtp?type=node&node=7592763&i=0> > > To: [hidden > > email]<http://user/SendEmail.jtp?type=node&node=7592763&i=1> > > Subject: Re: [WiX-users] Burn: Managed Boostrapper upgrade but > > Installs > side by side with older version > > > > Yes, that may be because before Apply Complete, it is not finished > > and -uninstall is failing. > > from last lines: > > 26D4:2C38][2014-02-19T08:42:31]i301: Applying execute package: > > {c0489d1d-654e-4caa-9f95-0fe034d74cc6}, action: Uninstall, path: > > C:\Users\Farrukh\AppData\Local\Package > > > Cache\{c0489d1d-654e-4caa-9f95-0fe034d74cc6}\MyProdSoftwareInstaller.e > xe, > > arguments: '"C:\Users\Farrukh\AppData\Local\Package > > > Cache\{c0489d1d-654e-4caa-9f95-0fe034d74cc6}\MyProdSoftwareInstaller.exe" > > -uninstall -quiet -burn.related.upgrade' > > [26D4:2C38][2014-02-19T08:42:42]i319: Applied execute package: > > {c0489d1d-654e-4caa-9f95-0fe034d74cc6}, result: 0x0, restart: None > > [26D4:2C38][2014-02-19T08:42:42]i351: Removing cached package: > MainProduct, > > from path: C:\Users\Farrukh\AppData\Local\Package > > Cache\{0CD51F14-9566-44BD-AB1D-04E65B2AF229}v1.0.1.0\ > > > > I tested 'MyProdSoftwareInstaller.exe" -uninstall" and it has no effect. > So > > looks like burn engine is issuing -uninstall, but > > MyProdSoftwareInstaller.exe is not responding to -uninstall. > > > > I wonder where -uninstall or other arguments are passed to Burn Engine.. > ? > > > > Any hint/guide? > > > > > > > > -- > > View this message in context: > http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/Burn-Man > aged-Boostrapper-upgrade-but-Installs-side-by-side-with-older-version- > tp7592745p7592762.html > > > Sent from the wix-users mailing list archive at Nabble.com. > > > > > ---------------------------------------------------------------------- > -------- > > > Managing the Performance of Cloud-Based Applications Take advantage > > of what the Cloud has to offer - Avoid Common Pitfalls. > > Read the Whitepaper. > > > http://pubads.g.doubleclick.net/gampad/clk?id=121054471&iu=/4140/ostg. > clktrk > > _______________________________________________ > > WiX-users mailing list > > [hidden email] > > <http://user/SendEmail.jtp?type=node&node=7592763&i=2> > > https://lists.sourceforge.net/lists/listinfo/wix-users > > ---------------------------------------------------------------------- > -------- > > Managing the Performance of Cloud-Based Applications Take advantage of > what the Cloud has to offer - Avoid Common Pitfalls. > Read the Whitepaper. > > http://pubads.g.doubleclick.net/gampad/clk?id=121054471&iu=/4140/ostg. > clktrk _______________________________________________ > WiX-users mailing list > [hidden email] <http://user/SendEmail.jtp?type=node&node=7592763&i=3> > https://lists.sourceforge.net/lists/listinfo/wix-users > > > ------------------------------ > If you reply to this email, your message will be added to the > discussion > below: > > http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/Burn-Man > aged-Boostrapper-upgrade-but-Installs-side-by-side-with-older-version- > tp7592745p7592763.html To unsubscribe from Burn: Managed Boostrapper > upgrade but Installs side by side with older version, click > here<http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/tem > plate/NamlServlet.jtp?macro=unsubscribe_by_code&node=7592745&code=ZmFy > cnVraDFAZ21haWwuY29tfDc1OTI3NDV8LTcxNDU3NzEzNQ==> > . > NAML<http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/tem > plate/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aem > ail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.te > mplate.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcru > mbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3 > Aemail.naml-send_instant_email%21nabble%3Aemail.naml> > MyProdSoftwareInstaller.1.0.1.0.log (12K) <http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/attachment/7592764/0/MyProdSoftwareInstaller.1.0.1.0.log> -- View this message in context: http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/Burn-Managed-Boostrapper-upgrade-but-Installs-side-by-side-with-older-version-tp7592745p7592764.html Sent from the wix-users mailing list archive at Nabble.com. ------------------------------------------------------------------------------ Managing the Performance of Cloud-Based Applications Take advantage of what the Cloud has to offer - Avoid Common Pitfalls. Read the Whitepaper. http://pubads.g.doubleclick.net/gampad/clk?id=121054471&iu=/4140/ostg.clktrk _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users ------------------------------------------------------------------------------ Managing the Performance of Cloud-Based Applications Take advantage of what the Cloud has to offer - Avoid Common Pitfalls. Read the Whitepaper. http://pubads.g.doubleclick.net/gampad/clk?id=121054471&iu=/4140/ostg.clktrk _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users