Bugs item #1648088, was opened at 2007-01-30 09:39
Message generated for change (Settings changed) made by pmarcu
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=642714&aid=1648088&group_id=105970
Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: candle
Group: v3.0
Status: Open
Resolution: None
>Priority: 9
Private: No
Submitted By: Lorne Laliberte (lornelaliberte)
>Assigned to: pmarcu (pmarcu)
Summary: FileSearch element - MinSize/MaxSize cause error
Initial Comment:
While testing the FileSearch element, I tried using this XML code:
<Property Id="MYFILE">
<RegistrySearch Id="reg_search_3" Root="HKLM" Key="Software\!Test"
Name="MyDirBasePath" Type="directory">
<DirectorySearch Depth='4' Id="dir_search_1" Path="this folder">
<FileSearch Id="file_search_1" Name="myfile.txt"
MinSize="50"/>
</DirectorySearch>
</RegistrySearch>
</Property>
Compiling that generates the following candle error:
candle.exe : error CNDL0001 : Cannot set number column 'MinSize' with a value of
type 'System.String'.
Exception Type: System.InvalidOperationException
Stack Trace:
at Microsoft.Tools.WindowsInstallerXml.ColumnDefinition.ValidateValue(Object
value)
at Microsoft.Tools.WindowsInstallerXml.Compiler.ParseFileSearchElement(XmlNod
e node, String parentSignature)
at Microsoft.Tools.WindowsInstallerXml.Compiler.ParseDirectorySearchElement(X
mlNode node, String parentSignature)
at Microsoft.Tools.WindowsInstallerXml.Compiler.ParseRegistrySearchElement(Xm
lNode node)
at Microsoft.Tools.WindowsInstallerXml.Compiler.ParseSearchSignatures(XmlNode
node)
at Microsoft.Tools.WindowsInstallerXml.Compiler.ParsePropertyElement(XmlNode
node)
at Microsoft.Tools.WindowsInstallerXml.Compiler.ParseProductElement(XmlNode n
ode)
at Microsoft.Tools.WindowsInstallerXml.Compiler.ParseWixElement(XmlNode node)
at Microsoft.Tools.WindowsInstallerXml.Compiler.Compile(XmlDocument source)
at Microsoft.Tools.WindowsInstallerXml.Tools.Candle.Run(String[] args)
...looks like a bug in candle?
Note: The same thing happens if I specify the MaxSize attribute alone, or use
both the MinSize and MaxSize together.
----------------------------------------------------------------------
Comment By: Lorne Laliberte (lornelaliberte)
Date: 2007-01-30 09:41
Message:
Logged In: YES
user_id=1705700
Originator: YES
Oh - this is using version 3.0.2211.0 of candle.
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=642714&aid=1648088&group_id=105970
-------------------------------------------------------------------------
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-devs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wix-devs