You'd need the BootstrapperApplicationData.xml to have the data. There is a 
feature request open, perhaps you could help implement it.

-----Original Message-----
From: Manas [mailto:manas.taluk...@gmail.com] 
Sent: Monday, January 13, 2014 1:56 PM
To: wix-users@lists.sourceforge.net
Subject: Re: [WiX-users] How to get package version using burn API

In my Managed Bootstrapper Window, I would like to display a data grid table 
with some details of the packages in the bundle. One of the pieces of 
information I would like to display is the package version. What I need is
this:

Install/Repair: Package version in bundle before Install execute and Installed 
package version after install execute.
Uninstall: Installed Package version before uninstall execute and Bundle 
package version after uninstalle xecute.

Basically, I need the package version (both in the bundle and installed, if
present) both before and after the setup operation.

I can get the installed package version, if present, using Windows Installer 
API, but but not sure how to get the version of the package within the bundle 
using the Burn API. I am sure both these piece of information are internally 
available. Now only for some event handler arguments to make them available. 
The metadata XML doesn't have this info.

Thanks,
Manas



On Mon, Jan 13, 2014 at 1:15 PM, tom [via Windows Installer XML (WiX) toolset] 
<ml-node+s687559n7591725...@n2.nabble.com> wrote:

>
> Just check it,BootstrapperApplicationData.xml does not have it
>
> Manas,why do you need the version for?
>
>
>
> ------------------------------
>  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/How-to-g
> et-package-version-using-burn-API-tp7591717p7591725.html
>  To unsubscribe from How to get package version using burn API, click 
> here<http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/tem
> plate/NamlServlet.jtp?macro=unsubscribe_by_code&node=7591717&code=bWFu
> YXMudGFsdWtkYXJAZ21haWwuY29tfDc1OTE3MTd8LTg2MzExODA3MQ==>
> .
> 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>
>




--
View this message in context: 
http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/How-to-get-package-version-using-burn-API-tp7591717p7591735.html
Sent from the wix-users mailing list archive at Nabble.com.
------------------------------------------------------------------------------
CenturyLink Cloud: The Leader in Enterprise Cloud Services.
Learn Why More Businesses Are Choosing CenturyLink Cloud For Critical 
Workloads, Development Environments & Everything In Between.
Get a Quote or Start a Free Trial Today. 
http://pubads.g.doubleclick.net/gampad/clk?id=119420431&iu=/4140/ostg.clktrk
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


------------------------------------------------------------------------------
CenturyLink Cloud: The Leader in Enterprise Cloud Services.
Learn Why More Businesses Are Choosing CenturyLink Cloud For
Critical Workloads, Development Environments & Everything In Between.
Get a Quote or Start a Free Trial Today. 
http://pubads.g.doubleclick.net/gampad/clk?id=119420431&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