Are you selecting this location via the BA or the MSI? The best way to do this 
would be via the bundle, and pass it into the MSI as a property.  That way you 
can tell burn to remember the value of the variable for you.

<Variable Name="Foo" Value="[ProgramFilesFolder]\Bar" Persisted="yes"/>

<MsiPackage ...>
        <MsiProperty Name="TARGETDIR" Value="[Foo]" />
</MsiPackage>

-----Original Message-----
From: Kristian Jaksch [mailto:kristian.jak...@gmail.com] 
Sent: Friday, February 22, 2013 10:25 AM
To: General discussion for Windows Installer XML toolset.
Subject: [WiX-users] Pass value from msi to bundle

I have a custom managed bootstrapper and I want to get a parameter from the msi 
package that are installed in the bundle. So, when the msi has been installed I 
want to get the installation directory out to the bootstrapper.
How can this be done in the best way? I read about storing values in the 
registry but I don't understand how to find that from the bootstrapper since 
registry searches are done before installations. Other ideas?

Thanks!

/K
------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics Download AppDynamics Lite for free 
today:
http://p.sf.net/sfu/appdyn_d2d_feb
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_feb
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to