Hmmm... I was thinking about this one more time and it turned out it might not solve my issue after all. What I needed was actually the full path of a file and not only the installation directory (actually the application's config file).
So how can I get out the file name and path of the application's config from the msi installer to the bundle? As I said earlier I was thinking of letting the msi installer write the file path and name to the registry and then let the bootstrapper read that value but I don't understand how I can do a registry search after the msi package has been installed? Can I trigger a registrysearch and get hold of the value in the registry in some way in the bootstrapper? Thanks again! /Kristian 2013/2/22 Kristian Jaksch <kristian.jak...@gmail.com> > I could do that actually. Thanks for the tip! > > /Kristian > > > 2013/2/22 Hoover, Jacob <jacob.hoo...@greenheck.com> > > 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 >> > > ------------------------------------------------------------------------------ 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