Slight bit of confusion because all I did was roll the version number in the boot strapper , and it uninstalls and reinstalls.
Is it suppose to work this way? I will dig around some more. Just confused On Mon, Jul 2, 2012 at 2:27 PM, Rob Mensching <r...@robmensching.com> wrote: > It seems that SqlServerExpress2008 was actually planned to be uninstalled, > not repaired. That makes sense since the InstallCondition evaluated to > false (so the package should be removed from the machine). > > The BA can override the engine's default requested state in the > OnPlanPackageBegin() callback. > > On Mon, Jul 2, 2012 at 10:45 AM, Benjamin Bennett <benbenn...@gmail.com>wrote: > >> Just trying to figure out how burn determines install plan. >> >> Everything is working well but the exepackage. Burn correctly detects >> it is installed but decides it needs to reinstall , which is not >> correct. >> Condition 'SQLServerInstalled=1' evaluates to true. >> Detected package: SqlServerExpress2008, state: Present, cached: Complete >> Planned package: SqlServerExpress2008, state: Present, default >> requested: Absent, ba requested: Absent, execute: Uninstall, rollback: >> Install, cache: No, uncache: Yes, dependency: None >> Planned package: SOMEPACKAGE, state: Present, default requested: >> Present, ba requested: Present, execute: None, rollback: None, cache: >> No, uncache: No, dependency: Register >> <!BEGIN CODE --> >> <ExePackage Id='SqlServerExpress2008' >> Name="!(wix.software.cd.dir)SQLEXPR_x86_ENU.exe" >> Compressed="no" >> Cache="yes" >> InstallCondition="SQLServerInstalled <> 1" >> DetectCondition="SQLServerInstalled=1" >> PerMachine="yes" >> >> SourceFile="!(wix.software.dir)SQLEXPR_x86_ENU.exe" >> InstallCommand='/ACTION=INSTALL >> /INSTANCENAME=!(wix.SQL_INSTANCE) /SAPWD="!(wix.SAPWD)" >> !(wix.SQL_INSTALL_OPTIONS1) !(wix.SQL_INSTALL_OPTIONS2)' >> RepairCommand='/ACTION=REPAIR >> /INSTANCENAME=!(wix.SQL_INSTANCE) /SAPWD="!(wix.SAPWD)" >> !(wix.SQL_INSTALL_OPTIONS1) !(wix.SQL_INSTALL_OPTIONS2)' >> UninstallCommand='/ACTION=UNINSTALL >> /FEATURES=SQL /QS /INDICATEPROGRESS="True" >> /INSTANCENAME=!(wix.SQL_INSTANCE)' >> Vital="yes"> >> </ExePackage> >> >> >> >> Also I digging through the Bootstrapper code and was wondering how you >> inject you own plan in the engine with a custom ba ? >> >> >> >> >> -- >> Sincerely, >> >> Benjamin Bennett >> >> >> ------------------------------------------------------------------------------ >> Live Security Virtual Conference >> Exclusive live event will cover all the ways today's security and >> threat landscape has changed and how IT managers can respond. Discussions >> will include endpoint security, mobile security and the latest in malware >> threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ >> _______________________________________________ >> WiX-users mailing list >> WiX-users@lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/wix-users >> > > > > -- > virtually, Rob Mensching - http://RobMensching.com LLC > ------------------------------------------------------------------------------ > Live Security Virtual Conference > Exclusive live event will cover all the ways today's security and > threat landscape has changed and how IT managers can respond. Discussions > will include endpoint security, mobile security and the latest in malware > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > _______________________________________________ > WiX-users mailing list > WiX-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/wix-users -- Sincerely, Benjamin Bennett 314.246.0645 benbenn...@gmail.com "For a successful technology, reality must take precedence over public relations, for Nature cannot be fooled." Richard Feynman ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users