We have an Bundled Installer that contains a managed BootstrapperApplication 
and a single Wix MSI project.

What I want to do is look in the Folder the Bundled installer is launched from 
and if any *.execpkg files are there then Copy those files to the INSTALLDIR 
folder.  We give our users a Zip file with the Bundle installer .exe file along 
with a execpkg file that is different depending upon the user.  Our managed 
Bootstrapper contains custom UI and is populating the INSTALLDIR value.

>From some searching I think we have a couple different ways to accomplish this:


*         Create a CustomAction and populate the MoveFile table with these 
*.execpkg files if any exist.  I like this approach because we intend to delete 
these files from the Application folder when the Application starts up.  But my 
searching has failed to come up with a code samples for this approach.

*         Create a <DirectorySearch> element and set Path to a Property that we 
populate from our managed Bootstrapper or some otherplace.  Because we have a 
bundled installer that contains the embedded MSI I'm not clear if we can 
determine folder the bundled installer was launched from other then doing it in 
our managed BootStrapper.  I'm not clear what happens during Uninstall if the 
*.execpkg files no longer reside in the Application Folder.

Could someone recommend the best approach along with some code samples?

Thanks,
Mike

------------------------------------------------------------------------------
Want excitement?
Manually upgrade your production database.
When you want reliability, choose Perforce
Perforce version control. Predictably reliable.
http://pubads.g.doubleclick.net/gampad/clk?id=157508191&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