Public Attributes | List of all members
Wix::Extensions::DataSource::ODBCExecuteFile Class Reference

Public Attributes

string Id
 
string Filename
 
string OutputFilename
 
string XsltFilename
 
YesNoType EvaluateProperties
 
string ConnectionId
 
YesNoType ExecuteOnInstall
 
YesNoType ExecuteOnUnInstall
 
string Delimiter
 
SqlType Type
 
string BasePath
 

Detailed Description

Implements execution of a file that contains ODBC statements.

    ODBCExecuteFile behaves like ODBCExecute, but executes a file. Unlike ODBCExecute Sql parameter, the contents of 
    the file cannot contain MSI properties and hence should not be encoded.

May be nested under Component, MSSQLDatabase, AccessDatabase.

Member Data Documentation

string Wix::Extensions::DataSource::ODBCExecuteFile::BasePath

Base path for include commands with relative path in sql script. If not specified, base path is set to the directory part of the 'Filename' attribute.

string Wix::Extensions::DataSource::ODBCExecuteFile::ConnectionId

MSSQLConnection to use for executing this statement (when not nested under a database element).

string Wix::Extensions::DataSource::ODBCExecuteFile::Delimiter

Batch delimiter. The contents of the SQL file will be split and executed one-by-one. Delimiter is case-insensitive, recognized only at the beginning of line. Either Type or Delimiter may be specified, not both.

YesNoType Wix::Extensions::DataSource::ODBCExecuteFile::EvaluateProperties

Set to yes to evaluate MSI properties within the file, no to automatically encode all [ ] characters.

YesNoType Wix::Extensions::DataSource::ODBCExecuteFile::ExecuteOnInstall

Execute statement at install time.

YesNoType Wix::Extensions::DataSource::ODBCExecuteFile::ExecuteOnUnInstall

Execute statement at uninstall time.

string Wix::Extensions::DataSource::ODBCExecuteFile::Filename

File that contains SQL statements to be executed.

string Wix::Extensions::DataSource::ODBCExecuteFile::Id

Identifier for the ODBC file statement (primary key).

string Wix::Extensions::DataSource::ODBCExecuteFile::OutputFilename

Save output to a file.

SqlType Wix::Extensions::DataSource::ODBCExecuteFile::Type

Type of the sql script (SqlServer, Oracle, ...). This will set appropriate delimiters for sql splitting, e.g. 'go' for SqlServer; also.will provide support for insertion commands, e.g. ':r' for SqlServer.

string Wix::Extensions::DataSource::ODBCExecuteFile::XsltFilename

Transform output using an XSLT transform.


The documentation for this class was generated from the following file:


© Application Security Inc. - All Rights Reserved http://msiext.codeplex.com