Bugs item #1648088, was opened at 2007-01-30 09:39
Message generated for change (Settings changed) made by robmen
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: 5
Private: No
Submitted By: Lorne Laliberte (lornelaliberte)
>Assigned to: Rob Mensching (robmen)
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

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier.
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
WiX-devs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wix-devs

Reply via email to