Bugs item #1768248, was opened at 2007-08-06 17:50
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=642714&aid=1768248&group_id=105970

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: extensions
Group: v2.0
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: mjastr (mjastr)
Assigned to: Scott Kurtzeborn (scotk)
Summary: SqlScript hasn't been executed

Initial Comment:
<SqlScript> CA hasn't been executed because wrong bitmask was generated into 
SqlScript MSI table (field Attributes), the following statement sets '20' value 
to 'Attributes' field of SqlScript table (Right value is '21', am I right?):

<SqlScript Id="CreateXXXSQLJob"
  ExecuteOnInstall="yes"
  ExecuteOnReinstall="yes"
  ExecuteOnUninstall="no"
  RollbackOnInstall="no"
  RollbackOnUninstall="no"
  ContinueOnError="yes"
  SqlDb="XXX_Database">
<Binary Id="XXXSQL_Script"

W/A: When I've removed RollbackOnInstall and RollbackOnUninstall attrs Sql 
script was executed ok.
(mask was set to right value '21' )

Probably (I am not sure), RollbackOnUninstall hasn't supported by 
implementation but xml scheme use it:

src\ca\serverca\inc\sca.h:

// sql string/script attributes definitions
enum SCASQL_ATTRIBUTES
{
    SCASQL_EXECUTE_ON_INSTALL = 0x00000001,
    SCASQL_EXECUTE_ON_UNINSTALL = 0x00000002,
    SCASQL_CONTINUE_ON_ERROR = 0x00000004,
    SCASQL_ROLLBACK = 0x00000008,
    SCASQL_EXECUTE_ON_REINSTALL = 0x00000010,
};



----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=642714&aid=1768248&group_id=105970

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
_______________________________________________
WiX-devs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wix-devs

Reply via email to