Yes, that is what I am expected to see, but I do not see anything.  If you
look at the log, you can see where I "clicked" the checkbox, which sets the
string variable AddLocalSet on the Engine, but the PlanMsiFeature, where I
look at what checkboxes are checked and attempt to alter the Feature states
accordingly, never gets called.  I have a command button which calls
Plan(LaunchAction.Modify), which I assumed would be the correct call to get
the PlanMsiFeatures called, but either that is a wrong assumption or I have
to do more to tell the package it has modified features.

In this attempt, the ProjectEnvironment feature was selected and installed
during the initial install.  On the Modify, I selected the Bulkload feature,
which should be added.  There is also an OptionalFeatures feature, but that
is just the parent feature to all option features.

Burn log, shortened for brevity sake:

[1028:11EC][2012-10-01T17:28:46]: Burn v3.6.3303.0, Windows v6.1 (Build
7601: Service Pack 1), path:
\\SP3D\XRoot\Tools\Setup\DVD\Smart3D\Installation\S3DInstallationBS.exe,
cmdline: '-burn.unelevated BurnPipe.{8405339B-C3AD-4F24-A232-B61E38C4BF25}
{4F6B6700-1408-4A4E-8278-B71CD9F8FB24} 3876'
[1028:11EC][2012-10-01T17:28:47]: Setting string variable 'WixBundleLog' to
value
'C:\Users\sp3dtest\AppData\Local\Temp\Intergraph_S3D_20121001172847.log'
[1028:11EC][2012-10-01T17:28:47]: Setting string variable
'WixBundleOriginalSource' to value
'\\SP3D\XRoot\Tools\Setup\DVD\Smart3D\Installation\S3DInstallationBS.exe'
[1028:11EC][2012-10-01T17:28:47]: Condition 'NOT ((VersionNT = 600 AND
ServicePackLevel >=2) OR (VersionNT >= 601))' evaluates to true.
[1028:11EC][2012-10-01T17:28:47]: Loading managed bootstrapper application.
[1028:11EC][2012-10-01T17:28:47]: Creating BA thread to run asynchronously.
[1028:0428][2012-10-01T17:28:47]: Running the WiX BA
[1028:11EC][2012-10-01T17:28:47]: Detect 2 packages
[1028:0428][2012-10-01T17:28:47]: Setting string variable 'InstallPath' to
value 'C:\Program Files (x86)\Smart3D'
[1028:0428][2012-10-01T17:28:47]: Creating a UI.
[1028:11EC][2012-10-01T17:28:47]: Setting string variable 'AddLocalSet' to
value 'ProjectEnvironment'
[1028:11EC][2012-10-01T17:28:48]: Detected package: S3DInstall, state:
Present, cached: Complete
[1028:11EC][2012-10-01T17:28:48]: Detected package: S3DInstall, feature:
PIDService, state: Absent
[1028:11EC][2012-10-01T17:28:48]: Detected package: S3DInstall, feature:
Server, state: Absentate: Absent
[1028:11EC][2012-10-01T17:28:48]: *Detected package: S3DInstall, feature:
Bulkload, state: Absent*
[1028:11EC][2012-10-01T17:28:48]: Detected package: S3DInstall, feature:
OptionalFeatures, state: Local
[1028:11EC][2012-10-01T17:28:48]: *Detected package: S3DInstall, feature:
ProjectEnvironment, state: Local*
[1028:11EC][2012-10-01T17:28:48]: Detected package: S3DInstall, feature:
IFCService, state: Absent
[1028:11EC][2012-10-01T17:28:48]: Detected package: RADInstall, state:
Present, cached: Complete
[1028:11EC][2012-10-01T17:28:48]: Detect complete, result: 0x0
[1028:0428][2012-10-01T17:28:49]: *Setting string variable 'AddLocalSet' to
value 'ProjectEnvironment,Bulkload'*
[1028:11EC][2012-10-01T17:28:51]: Plan 2 packages, action: Modify
[1028:11EC][2012-10-01T17:28:51]: Planned package: S3DInstall, state:
Present, default requested: None, ba requested: None, execute: None,
rollback: None, cache: No, uncache: No, dependency: None
[1028:11EC][2012-10-01T17:28:51]: Planned package: RADInstall, state:
Present, default requested: None, ba requested: None, execute: None,
rollback: None, cache: No, uncache: No, dependency: None
[1028:11EC][2012-10-01T17:28:51]: Plan complete, result: 0x0
[1028:11EC][2012-10-01T17:28:51]: Apply begin
[0F24:0A68][2012-10-01T17:28:57]: Automatic updates could not be paused due
to error: 0x80070422. Continuing...
[0F24:0A68][2012-10-01T17:28:57]: Creating a system restore point.
[0F24:0A68][2012-10-01T17:28:57]: Could not create system restore point,
error: 0x80070422. Continuing...
[1028:11EC][2012-10-01T17:28:57]: Apply complete, result: 0x0, restart:
None, ba requested restart:  No



--
View this message in context: 
http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/Detecting-Feature-state-in-Managed-BA-tp7580920p7581013.html
Sent from the wix-users mailing list archive at Nabble.com.

------------------------------------------------------------------------------
Don't let slow site performance ruin your business. Deploy New Relic APM
Deploy New Relic app performance management and know exactly
what is happening inside your Ruby, Python, PHP, Java, and .NET app
Try New Relic at no cost today and get our sweet Data Nerd shirt too!
http://p.sf.net/sfu/newrelic-dev2dev
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to