wixtoolset / issues

WiX Toolset Issues Tracker
http://wixtoolset.org/
129 stars 24 forks source link

sqldatabase table not added to msi from wixlib #2028

Closed wixbot closed 8 years ago

wixbot commented 15 years ago

Using visual studio integration Installed from Wix3.0.4805.0-x86-setup.zip Visual Studio 2008 (9.0.21022.8)

Compiled fragment into wixlib containing 3 sqldatabase entries. Added wixlib as reference to main project as reference. Upon compilation recieve error that database in sqlscript table missing from sqldatabase table, (A). When added directly to product errors resolved.

(A) Example Error Error 7 ICE03: Validation table: Data in KeyTAble column is incorrect; Table: SqlScript, Column: SqlDb, Key(s): install.c_teampad_mapping_add_locn C:\chgman\Oswm.Deployment.Wix\Oswm.Deployment.Wix.Components\Mapping.wxs 20 1 Oswm.Deployment.Wix.Pcs3

robert.perona@gmail.com

bq. Originally opened by @desican@ from "http://sourceforge.net/p/wix/bugs/1562/":http://sourceforge.net/p/wix/bugs/1562/

wixbot commented 12 years ago

Yep. Fixed for next release.

wixbot commented 12 years ago

If there are no references from your product to a symbol defined in a .wixlib, the .wixlib won't be included in the .msi. Look at elements in WiX that end in -Ref, like ComponentRef.

wixbot commented 12 years ago

If the sqldatabase entries are within a component it will attempt to install the db. SHould not the sqlscript sqldb attribute act as a reference during compilation, if it does not then there soes not seem to be a way to modularize the sqldatabase entries to use them as locators across installers.

wixbot commented 12 years ago

Compiled wixlib with sqldatabase entries

wixbot commented 12 years ago

This Tracker item was closed automatically by the system. It was previously set to a Pending status, and the original submitter did not respond within 21 days (the time period specified by the administrator of this Tracker).