Thanks, had a chance to test with this last night, and inside a custom BA, I 
was able to access the BootstrapperApplication.Command that you referenced, 
which is what I was looking for.

Just wanted to confirm one other thing regarding usage of the Command struct.  
While I was able to access it via a custom BA, I didn't see that there was a 
way to access it when using the "WixStandardBootstrapperApplication.RtfLicense" 
bootstrapper in the Bundle.wxs.  Is it correct to say that the Command struct 
can only be accessed via a custom BA, and can't be accessed using the 
"WixStandardBootstrapperApplication.RtfLicense" bootstrapper?

-----Original Message-----
From: Rob Mensching [mailto:r...@robmensching.com] 
Sent: Tuesday, April 30, 2013 11:31 PM
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] UILevel on uninstall using 
"WixStandardBootstrapperApplication.RtfLicense" bootstrapper

Yes, the BootstrapperApplication is provided the Command struct that has all 
the information about the command-line.


On Tue, Apr 30, 2013 at 7:21 PM, Christopher West C < 
christopher.c.w...@ericsson.com> wrote:

> Thanks for the information.  I did some testing and did notice a 
> difference between "/passive" in Windows Installer versus Burn in how 
> the UILevel is set.  In windows installer, the command "msiexec 
> /uninstall CWTestGACInstaller.msi /passive" will set the UILevel to "3" in 
> the msi.
>  Using the burn command "CWTestGACInstallerSetup.exe /uninstall 
> /passive", the UILevel is "2" in the chained msi.
>
> >From a burn perspective, two possible command line uninstall options
> could be "CWTestGACInstallerSetup.exe /uninstall /passive" or 
> "CWTestGACInstallerSetup.exe /uninstall /quiet".  For this particular 
> example, is there a way inside either the Bundle.wxs or the chained 
> .msi, to retrieve that the value "/quiet" or "/passive" was entered, 
> or more generically, to grab the burn command line that was used.
>
> -----Original Message-----
> From: Rob Mensching [mailto:r...@robmensching.com]
> Sent: Tuesday, April 30, 2013 1:56 PM
> To: General discussion for Windows Installer XML toolset.
> Subject: Re: [WiX-users] UILevel on uninstall using 
> "WixStandardBootstrapperApplication.RtfLicense" bootstrapper
>
> I don't think that first assertion is quite correct.
>
> What you can tell is that you are being uninstalled with /qb+ or 
> whatever exactly evaluates to UILevel = 3. Apparently ARP launches 
> with something like that instead of /qb- which is essentially what 
> "/passive" translates to (both in the Windows Installer and in Burn).
>
> What you've really found is that Burn doesn't support "/qb+" (plus a 
> bunch of the other crazy options that the Windows Installer supports 
> for legacy reasons).  <smile/>
>
> Anyway, if you want to know whether your MSI is being launched in the 
> context of Burn, I think the easiest way would be to add an 
> MsiProperty element to your MsiPackage element.
>
>
> On Tue, Apr 30, 2013 at 11:33 AM, Christopher West C < 
> christopher.c.w...@ericsson.com> wrote:
>
> > Thank you for your reply.  I do have the following question.
> >
> > In the bare .msi package, in the .msi via a custom action I can 
> > check the UILevel to know if the user is uninstalling the .msi from 
> > ARP, versus if they are uninstalling from the command prompt in "no UI" 
> > mode.
> >
> > If the same .msi is being uninstalled via a chainer, is there a 
> > check I can make to know if the user is uninstalling the chained 
> > .msi from the ARP via the burn bootstrapper entry, versus if the 
> > user is uninstalling the chained .msi via the burn\bootstrapper from 
> > the command prompt using the "/quiet" option?
> >
> > -----Original Message-----
> > From: Bob Arnson [mailto:b...@joyofsetup.com]
> > Sent: Tuesday, April 30, 2013 12:57 PM
> > To: wix-users@lists.sourceforge.net
> > Subject: Re: [WiX-users] UILevel on uninstall using 
> > "WixStandardBootstrapperApplication.RtfLicense" bootstrapper
> >
> > On 29-Apr-13 14:40, Christopher West C wrote:
> > > Is the below behavior a bug with the Wix burn bootstrapper
> functionality?
> > No, it's a behavior difference due to running in a chainer instead 
> > of from a bare .msi package.
> >
> > --
> > sig://boB
> > http://joyofsetup.com/
> >
> >
> >
> > --------------------------------------------------------------------
> > --
> > -------- Introducing AppDynamics Lite, a free troubleshooting tool 
> > for Java/.NET Get 100% visibility into your production application - 
> > at no cost.
> > Code-level diagnostics for performance bottlenecks with <2% overhead 
> > Download for free and get started troubleshooting in minutes.
> > http://p.sf.net/sfu/appdyn_d2d_ap1
> > _______________________________________________
> > WiX-users mailing list
> > WiX-users@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/wix-users
> >
> >
> > --------------------------------------------------------------------
> > --
> > -------- Introducing AppDynamics Lite, a free troubleshooting tool 
> > for Java/.NET Get 100% visibility into your production application - 
> > at no cost.
> > Code-level diagnostics for performance bottlenecks with <2% overhead 
> > Download for free and get started troubleshooting in minutes.
> > http://p.sf.net/sfu/appdyn_d2d_ap1
> > _______________________________________________
> > WiX-users mailing list
> > WiX-users@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/wix-users
> >
> >
>
> ----------------------------------------------------------------------
> -------- Introducing AppDynamics Lite, a free troubleshooting tool for 
> Java/.NET Get 100% visibility into your production application - at no 
> cost.
> Code-level diagnostics for performance bottlenecks with <2% overhead 
> Download for free and get started troubleshooting in minutes.
> http://p.sf.net/sfu/appdyn_d2d_ap1
> _______________________________________________
> WiX-users mailing list
> WiX-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wix-users
>
>
> ----------------------------------------------------------------------
> -------- Introducing AppDynamics Lite, a free troubleshooting tool for 
> Java/.NET Get 100% visibility into your production application - at no 
> cost.
> Code-level diagnostics for performance bottlenecks with <2% overhead 
> Download for free and get started troubleshooting in minutes.
> http://p.sf.net/sfu/appdyn_d2d_ap1
> _______________________________________________
> WiX-users mailing list
> WiX-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wix-users
>
>
------------------------------------------------------------------------------
Introducing AppDynamics Lite, a free troubleshooting tool for Java/.NET Get 
100% visibility into your production application - at no cost.
Code-level diagnostics for performance bottlenecks with <2% overhead Download 
for free and get started troubleshooting in minutes.
http://p.sf.net/sfu/appdyn_d2d_ap1
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

------------------------------------------------------------------------------
Introducing AppDynamics Lite, a free troubleshooting tool for Java/.NET
Get 100% visibility into your production application - at no cost.
Code-level diagnostics for performance bottlenecks with <2% overhead
Download for free and get started troubleshooting in minutes.
http://p.sf.net/sfu/appdyn_d2d_ap1
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to