Hi
When I build my installer using WiX 2.0 and include the Crystal Reports
for .NET 2.0 Merge Module, the installer throws error 2228. I've created
a package which didn't include anything except the Crystal msm and the
problem still occurred.
I've reduced it down as much as possible, and it can be reproduced with:
<?xml version="1.0"?>
<Wix xmlns="http://schemas.microsoft.com/wix/2003/01/wi">
<Product Id="4ADE4DE1-AB55-468e-A9B0-29B2A70F2687" Name="CRTest"
Language="1033" Version="1.0.0" Manufacturer="ACME">
<Package Id="D5A88B4A-AB83-48a5-8B00-5A3C50AB3097"
Manufacturer="ACME" InstallerVersion="200" Compressed="yes" />
<Media Id='1' Cabinet='CRTest.cab' EmbedCab='yes' />
<Directory Id='TARGETDIR' Name='SourceDir'>
<!--<Directory Id='ProgramFilesFolder' Name='PFiles'>
<Directory Id='INSTALLDIR' Name='CRTest'>-->
<Merge Id="CrystalReportsRedist2005_x86" Language="1033"
SourceFile="C:\Program Files\Common Files\Merge
Modules\CrystalReportsRedist2005_x86.msm" DiskId="1" />
<!--</Directory>
</Directory>-->
</Directory>
<Feature Id="CRTestFeature" Title="CRTest" Level="1">
<MergeRef Id="CrystalReportsRedist2005_x86"/>
</Feature>
<UIRef Id="WixUI_Mondo"/>
<UIRef Id="WixUI_ErrorProgressText"/>
</Product>
</Wix>
The output from the log file is
=== Logging started: 25/04/2007 10:56:01 ===
Action 10:56:01: INSTALL.
Action start 10:56:01: INSTALL.
Action 10:56:01: PrepareDlg.
Action start 10:56:01: PrepareDlg.
Info 2898. WixUI_Font_Bigger, Tahoma, 1
Info 2898. WixUI_Font_Normal, Tahoma, 1
Action 10:56:01: PrepareDlg. Dialog created
Action ended 10:56:01: PrepareDlg. Return value 1.
Action 10:56:01: AppSearch. Searching for installed applications
Action start 10:56:01: AppSearch.
AppSearch: Property: IISROOTDIR, Signature: IISRootDirInRegistry
DEBUG: Error 2228: Database: . Unknown table 'Signature' in SQL query:
SELECT `FileName`, `MinVersion`, `MaxVersion`, `MinSize` , `MaxSize`,
`MinDate`, `MaxDate`, `Languages` FROM `Signature` WHERE `Signature` =
?
The installer has encountered an unexpected error installing this
package. This may indicate a problem with this package. The error code
is 2228. The arguments are: , Signature, SELECT `FileName`,
`MinVersion`, `MaxVersion`, `MinSize` , `MaxSize`, `MinDate`, `MaxDate`,
`Languages` FROM `Signature` WHERE `Signature` = ?
MSI (c) (D4:DC) [10:56:04:104]: Product: CRTest -- The installer has
encountered an unexpected error installing this package. This may
indicate a problem with this package. The error code is 2228. The
arguments are: , Signature, SELECT `FileName`, `MinVersion`,
`MaxVersion`, `MinSize` , `MaxSize`, `MinDate`, `MaxDate`, `Languages`
FROM `Signature` WHERE `Signature` = ?
Action ended 10:56:04: AppSearch. Return value 3.
Action 10:56:04: FatalError.
Action start 10:56:04: FatalError.
Action 10:56:04: FatalError. Dialog created
Action ended 10:56:05: FatalError. Return value 2.
Action ended 10:56:05: INSTALL. Return value 3.
Any help appreciated.
Mark Rendle
Computer Software Group Plc | Registered in England: 4023140 | Registered
office: Integra House, 138-140 Alexandra Road, London, SW19 7JY
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users