Unfortunately no success.
Variable DOINSTALL will be set to "False" is not set anywhere, so it evaluates to "Condition 'DOINSTALL=True' evaluates to false" (from log).
results in an entry that cannot be removed.
Whats wrong here?
Thx for your support.
var bootstrapper = new Bundle("My Product", new PackageGroupRef("NetFx40Web"), new MsiPackage(productMsi) { Id = "MyProductPackageId", InstallCondition= "DOINSTALL=True" }); bootstrapper.Version = new Version("1.0.0.0"); bootstrapper.UpgradeCode = new Guid("6f330b47-2577-43ad-9095-1861bb25889a"); bootstrapper.Application = new ManagedBootstrapperApplication("%this%"); // you can also use System.Reflection.Assembly.GetExecutingAssembly().Location bootstrapper.StringVariablesDefinition += "DOINSTALL"; bootstrapper.PreserveTempFiles = true;
results in an entry that cannot be removed.
Whats wrong here?
Thx for your support.