This might also be titled "How do I launch the modification of a Burn
install from the command line without the Burn executable?" or "What's the
Burn equivalent of 'msiexec /X ProductCode'?"

I have a program, A, which ships with two optional programs B and C. All
have functioning MSI installers. I use Burn to manage the installation of
A, B and C.

On first install, the user is asked if they want to install B and C. All
works fine.

But subsequently, the user should be able to install or uninstall B and C.
The user can of course do this from Programs and Features, using Modify.
This relaunches my Burn executable.

However, I want the user to be able to trigger this functionality from
within Program A - that is, I don't want the user to have to launch
Programs and Features, find the bundle, and click Modify. I want to have a
button in Program A that will do it, launching Burn.

But how? If it was a single MSI, I could shell "msiexec /I {ProductCode}".
I know the ProductCode because that's a property of the MSI. So I can save
and use it as required.

But a Burn bundle doesn't have a ProduceCode. It has RelatedBundle, but
there's no msiexec argument for that.

If I check for the bundle in the registry, I find the information I need in
an entry in
HKLM\SOFTWARE\Wow6432Node\Microsoft\Windows\CurrentVersion\Uninstall, which
is perfect. There's the line I need to launch Modify, it calls the cached
bundle executable in "ProgramData\Package Cache". But how do I get that
line?

How do I launch the Burn package manager for my package from within a
program of my package?

-- 
Alasdair King
------------------------------------------------------------------------------
HPCC Systems Open Source Big Data Platform from LexisNexis Risk Solutions
Find What Matters Most in Your Big Data with HPCC Systems
Open Source. Fast. Scalable. Simple. Ideal for Dirty Data.
Leverages Graph Analysis for Fast Processing & Easy Data Exploration
http://p.sf.net/sfu/hpccsystems
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to