Hi,

i have created a Wix project in Visual Studio 2005 which, among other things, 
should create a SQL database, but i'm always getting a compile error with 
light.exe:

Build log:

------ Build started: Project: Bit.PowerEconomizer.Setup, Configuration: Debug 
Any CPU ------
                C:\Program Files\Windows Installer XML v3\bin\candle.exe 
-dDebug -d"DevEnvDir=C:\Program Files\Microsoft Visual Studio 8\Common7\IDE\\" 
-dSolutionDir=D:\PowerEconomizer\Bit.PowerEconomizer\ -dSolutionExt=.sln 
-dSolutionFileName=Bit.PowerEconomizer.sln -dSolutionName=Bit.PowerEconomizer 
-dSolutionPath=D:\PowerEconomizer\Bit.PowerEconomizer\Bit.PowerEconomizer.sln 
-out obj\Debug\Bit.PowerEconomizer.Setup.wixobj -ext "C:\Program Files\Windows 
Installer XML v3\bin\WixDifxAppExtension.dll" -ext "C:\Program Files\Windows 
Installer XML v3\bin\WixIIsExtension.dll" -ext "C:\Program Files\Windows 
Installer XML v3\bin\WixNetFxExtension.dll" -ext "C:\Program Files\Windows 
Installer XML v3\bin\WixSqlExtension.dll" -ext "C:\Program Files\Windows 
Installer XML v3\bin\WixUIExtension.dll" Bit.PowerEconomizer.Setup.wxs
                C:\Program Files\Windows Installer XML v3\bin\Light.exe 
-cultures:en-US -ext "C:\Program Files\Windows Installer XML 
v3\bin\WixDifxAppExtension.dll" -ext "C:\Program Files\Windows Installer XML 
v3\bin\WixIIsExtension.dll" -ext "C:\Program Files\Windows Installer XML 
v3\bin\WixNetFxExtension.dll" -ext "C:\Program Files\Windows Installer XML 
v3\bin\WixSqlExtension.dll" -ext "C:\Program Files\Windows Installer XML 
v3\bin\WixUIExtension.dll" -out 
D:\PowerEconomizer\Bit.PowerEconomizer\Bit.PowerEconomizer.Setup\bin\Debug\Bit.PowerEconomizer.Setup.msi
 -v obj\Debug\Bit.PowerEconomizer.Setup.wixobj
C:\delivery\Dev\wix\src\ext\sqlextension\wixlib\SqlExtension.wxs(27,0): Error 
LGHT0094: Unresolved reference to symbol 'Binary:ScaSchedule' in section 
'Fragment:'.
C:\delivery\Dev\wix\src\ext\sqlextension\wixlib\SqlExtension.wxs(28,0): Error 
LGHT0094: Unresolved reference to symbol 'Binary:ScaSchedule' in section 
'Fragment:'.
Done building project "Bit.PowerEconomizer.Setup.wixproj" -- FAILED.

Build FAILED.
========== Build: 0 succeeded or up-to-date, 1 failed, 0 skipped ==========
I'm using Wix v3.0.2925.0.

The SqlDatabase part in my wxs is:

<Component Id="PowerEconomizerDatabaseComponent" 
Guid="5B2D3457-856F-4505-92F6-87AE0197333B">
              <sql:SqlDatabase Id="PowerEconomizerDatabase"
                               ConfirmOverwrite="yes"
                               CreateOnInstall="yes"
                               ContinueOnError="no"
                               CreateOnReinstall="no"
                               CreateOnUninstall="no"
                               Database="PowerEconomizer"
                               DropOnInstall="no"
                               DropOnReinstall="no"
                               DropOnUninstall="yes"
                               Instance="SQLEXPRESS"
                               Server="localhost">
                <sql:SqlFileSpec Id="DatabaseFile"
                                 Name="PowerEconomizer_mdf"
                                 
Filename="[TARGETDIR]\Data\PowerEconomizer.mdf"/>
                <sql:SqlLogFileSpec Id="DatabaseLog"
                                    Name="PowerEconomizer_ldf"
                                    
Filename="[TARGETDIR]\Data\PowerEconomizer.ldf"/>
                <sql:SqlScript Id="PowerEconomizerDatabaseScript"
                               BinaryKey="CreateTablesSqlScript"
                               ContinueOnError="no"
                               ExecuteOnInstall="yes"
                               ExecuteOnReinstall="no"
                               ExecuteOnUninstall="no"
                               RollbackOnInstall="no"
                               RollbackOnReinstall="no"
                               RollbackOnUninstall="no" />
              </sql:SqlDatabase>
            </Component>


I tried to get it to work since two days now, but i'm totally stuck. Can 
anybody help me fixing this?

Christoph Brennecke

-------------------------------------------------------------------------
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-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to