Hi - I am seeing different behavior with 2 different WIX versions. What I mean is, when I have Wix V3 Version 3.0.5217, I am getting following error in the Database2.wxi file.
Error 21 The sql:SqlString/@RollbackOnUninstall attribute cannot be specified when attribute ExecuteOnInstall, ExecuteOnReinstall, or ExecuteOnUninstall is also present. C:\BI_ServicesSalesViewer\Daily\Sources\Dev\Source\SSVMart\Setup\Setup\Components\Databases\Database2.wxi 38 1 Setup <!-- create database2 login security settings --> <sql:SqlString Id="Database2CreateLoginLocalAccount" SqlDb="Master" Sequence="1" SQL="exec('create login [\[][DATABASESLOGINLOCALACCOUNT][\]] from windows')" ExecuteOnInstall="yes" RollbackOnUninstall="yes" ContinueOnError="yes" /> <sql:SqlString Id="Database2CreateLoginLocalGroup" SqlDb="Master" Sequence="2" SQL="exec('create login [\[][ComputerName]\[DATABASESLOGINLOCALGROUP][\]] from windows')" ExecuteOnInstall="yes" RollbackOnUninstall="yes" ContinueOnError="yes" /> <sql:SqlString Id="Database2DropLoginLocalAccountUninstall" SqlDb="Master" Sequence="3" SQL="exec('drop login [\[][DATABASESLOGINLOCALACCOUNT][\]]')" ExecuteOnUninstall="yes" RollbackOnInstall="yes" ContinueOnError="yes" /> <sql:SqlString Id="Database2DropLoginLocalGroupUninstall" SqlDb="Master" Sequence="4" SQL="exec('drop login [\[][ComputerName]\[DATABASESLOGINLOCALGROUP][\]]')" ExecuteOnUninstall="yes" RollbackOnInstall="yes" ContinueOnError="yes" /> If, I uninstall Wix V3 Version 3.0.5217, & Install Wix V3 Version 3.0.4805, or any other lower version, like, Wix V3 Version 3.0.4318, I am able to compile all the projects without any error. Question is, Is this the expected behavior or known issue? Sunil Birari BICOE Development | 1-425-706-5245 When you're out of quality, you're out of business... ------------------------------------------------------------------------------ Crystal Reports - New Free Runtime and 30 Day Trial Check out the new simplified licensing option that enables unlimited royalty-free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users