Re: [WiX-users] Burn, ManagedBootstrapperApplication, SQL and Custom Detection

2011-12-11 Thread Bob Arnson
On 10-Dec-11 13:43, Roy Chastain wrote:
 Is there a mechanism to employ a custom detection in the Burn
 ManagedBootstrapperApplication that would affect the install/no install
 status of an ExePackage?
OnPlanPackageBegin lets you change the request state.

-- 
sig://boB
http://joyofsetup.com/


--
Learn Windows Azure Live!  Tuesday, Dec 13, 2011
Microsoft is holding a special Learn Windows Azure training event for 
developers. It will provide a great way to learn Windows Azure and what it 
provides. You can attend the event by watching it streamed LIVE online.  
Learn more at http://p.sf.net/sfu/ms-windowsazure
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


[WiX-users] Burn, ManagedBootstrapperApplication, SQL and Custom Detection

2011-12-10 Thread Roy Chastain
I need to detect a specific version (2008 R2) and a specific instance of
SQL Express as a dependency.

According to some blog I found a few days ago, the correct way to do
this type of detection is via WMI.  As it turns out, the detection code
in .NET if very simple and clean.  My employer is adamant that we do not
write this detection code in C++.  Of course, we cannot use the MS
provided bootstrapper to run the check if .NET Framework has not be
installed.  I even went so far as to create 2 bootstrappers and chain
them together.  Utter failure.  Looks like 3 might do things correctly,
but at this point, I am not sure. :-(

This problem became an excuse to learn about
ManagedBootstrapperApplicaions in Burn 3.6.  I have spent the day
uncovering the documentation in Burn etc., and think I have handle on
this problem except for ONE BIG ISSUE.

Is there a mechanism to employ a custom detection in the Burn
ManagedBootstrapperApplication that would affect the install/no install
status of an ExePackage?

Of course if anyone wants to chime in on a reliable method of detecting
a specific version and instance of SQL that does not require WMI, I am
listening.  Currently our rule is as follows.  If there is no SQL
installed install the instance or if there is a SQL 2008 R2 installed
but not the correct instance, install the instance.  The idea of mixing
versions of SQL or forcing an upgrade on the user is being deferred till
latter.

--
Roy Chastain


--
Learn Windows Azure Live!  Tuesday, Dec 13, 2011
Microsoft is holding a special Learn Windows Azure training event for 
developers. It will provide a great way to learn Windows Azure and what it 
provides. You can attend the event by watching it streamed LIVE online.  
Learn more at http://p.sf.net/sfu/ms-windowsazure
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users