Hi all,

I have tried several time to add ODBC datasource for a program. I'm 
using firebird datasource and I have checked properties for driver.
What I'm doing wrong because the datasource doesn't get added?

This is the section where datasource is defined:

<Media Id="1" Cabinet="Contents.cab" EmbedCab="yes" 
CompressionLevel="high" />
    <!-- Installation root directory -->
    <Directory Id="TARGETDIR" Name="SourceDir" >
      <Directory Id="ProgramFilesFolder" Name="PFiles">
        <Directory Id="install.dir.id" Name="test" LongName="test">
          <Directory Id="INSTALL.DIR.ID" Name="InfoIn">
            <Component Id="odbc.id" DiskId="1" 
Guid="FADFBCF3-1225-4BB3-A771-45BB5AB4087F">
              <ODBCDataSource DriverName="Firebird/InterBase(r) driver" 
Id="odbc.source.driver.id" 
                  Name="TEST" Registration="user">
                  <Property Id="DSN" Value="TEST"></Property>
                  <Property Id="DBNAME" 
Value="database/3051:TEST"></Property>
                  <Property Id="DRIVER" Value="IscDbc"></Property>
                  <Property Id="Dialect" Value="3"></Property>
                  <Property Id="QuotedIdentifier" Value="Y"></Property>
                  <Property Id="SensitiveIdentifier" Value="N"></Property>
                  <Property Id="AutoQuotedIdentifier" Value="N"></Property>
              </ODBCDataSource>
            </Component>  
          </Directory>
        </Directory>
      </Directory>


And later in setup file I have:

    <InstallExecuteSequence>
      <InstallODBC></InstallODBC>
    </InstallExecuteSequence>

MSI logs show :

MSI (s) (68:74) [10:03:09:630]: Doing action: InstallODBC
Toiminta alkoi 10:03:09: InstallODBC.
MSI (s) (68:74) [10:03:09:630]: Note: 1: 2711 2: ODBCDriverManager64
MSI (s) (68:74) [10:03:09:630]: Note: 1: 2205 2:  3: ODBCDriver
MSI (s) (68:74) [10:03:09:630]: Note: 1: 2228 2:  3: ODBCDriver 4: 
SELECT 
`Driver`,`ComponentId`,`Description`,`RuntimeFlags`,`Directory_`,`FileName`,`File_Setup`,`Action`
 
FROM `ODBCDriver`, `File`, `Component` WHERE `File_` = `File` AND 
`ODBCDriver`.`Component_` = `Component` AND (`Component`.`ActionRequest` 
= 1 OR `Component`.`ActionRequest` = 2) AND `BinaryType` = ?
MSI (s) (68:74) [10:03:09:630]: Note: 1: 2205 2:  3: ODBCDriver
MSI (s) (68:74) [10:03:09:630]: Note: 1: 2228 2:  3: ODBCDriver 4: 
SELECT 
`Driver`,`ComponentId`,`Description`,`RuntimeFlags`,`Directory_`,`FileName`,`File_Setup`,`Action`
 
FROM `ODBCDriver`, `File`, `Component` WHERE `File_` = `File` AND 
`ODBCDriver`.`Component_` = `Component` AND (`Component`.`ActionRequest` 
= 1 OR `Component`.`ActionRequest` = 2) AND `BinaryType` = ?
MSI (s) (68:74) [10:03:09:630]: Note: 1: 2205 2:  3: ODBCTranslator
MSI (s) (68:74) [10:03:09:630]: Note: 1: 2228 2:  3: ODBCTranslator 4: 
SELECT 
`Translator`,`ComponentId`,`Description`,`RuntimeFlags`,`Directory_`,`FileName`,`File_Setup`,`Action`
 
FROM `ODBCTranslator`, `File`, `Component` WHERE `File_` = `File` AND 
`ODBCTranslator`.`Component_` = `Component` AND 
(`Component`.`ActionRequest` = 1 OR `Component`.`ActionRequest` = 2) AND 
`BinaryType` = ?
MSI (s) (68:74) [10:03:09:630]: Note: 1: 2205 2:  3: ODBCTranslator
MSI (s) (68:74) [10:03:09:630]: Note: 1: 2228 2:  3: ODBCTranslator 4: 
SELECT 
`Translator`,`ComponentId`,`Description`,`RuntimeFlags`,`Directory_`,`FileName`,`File_Setup`,`Action`
 
FROM `ODBCTranslator`, `File`, `Component` WHERE `File_` = `File` AND 
`ODBCTranslator`.`Component_` = `Component` AND 
(`Component`.`ActionRequest` = 1 OR `Component`.`ActionRequest` = 2) AND 
`BinaryType` = ?
Toiminta loppui 10:03:09: InstallODBC. Paluuarvo 0.


-Anzi-





-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to