Bugs item #1648088, was opened at 2007-01-30 11:39
Message generated for change (Comment added) made by lornelaliberte
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: None
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Lorne Laliberte (lornelaliberte)
Assigned to: Nobody/Anonymous (nobody)
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 11: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

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
WiX-devs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wix-devs

Reply via email to