Share

Windows Installer XML (WiX) toolset

Tracker: Bugs

5 Product/@Name and Product/@Manufacturer values - ID: 2837350
Last Update: Comment added ( sf-robot )

Product/@Name and Product/@Manufacturer values with only whitespace should
be treated by Candle in the same way as null or empty attributes.

Repro Steps:
1. Author a package with this Product element.
<Product Id="*" Name=" " Language="1033" Version="0.0.0.0" Manufacturer=" "
UpgradeCode="{B6321235-E6E2-47ed-AB00-5DC6E85AECDF}">

Product/@Name contains tabs, Product/@Manufacturer contains a space.

2. Compile and Link

Expected: Compile error similar to

c:\product.wxs(3) : error CNDL0006 : The Product/@Name attribute's value
cannot be an empty string. If you want the value to be null or empty,
simply remove the entire attribute.
c:\product.wxs(3) : error CNDL0006 : The Product/@Manufacturer attribute's
value cannot be an empty string. If you want the value to be null or empty,
simply remove the entire attribute.:

Actual: The _SummaryInformation.idt file is created with null values for
Name and Manufacturer. See the attached file - properties 3 and 4. This
results in a Light error when importing the .idt:

C:\Users\jordanf\AppData\Local\Temp\dbl9tuiw\_SummaryInformation.idt :
error LGHT0136 : There was an error importing table '_SummaryInformation'
from this file.


candyc ( candyc ) - 2009-08-14 03:01

5

Closed

Works For Me

pmarcu

candle

v3.5

Public


Comments ( 2 )

Date: 2009-11-20 02:20
Sender: sf-robotSourceForge.net Site Admin

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 14 days (the time period specified by
the administrator of this Tracker).


Date: 2009-11-04 23:11
Sender: pmarcu

This works for me. Here are the actual results:

product.wxs(3) : error CNDL0006 : The Product/@Name attribute
's value cannot be an empty string. If you want the value to be null or
empty,
simply remove the entire attribute.

product.wxs(3) : error CNDL0006 : The Product/@Manufacturer a
ttribute's value cannot be an empty string. If you want the value to be
null or
empty, simply remove the entire attribute.


Attached File ( 1 )

Filename Description Download
_SummaryInformation.idt Download

Changes ( 9 )

Field Old Value Date By
close_date 2009-11-04 23:11 2009-11-20 02:20 sf-robot
status_id Pending 2009-11-20 02:20 sf-robot
allow_comments 1 2009-11-20 02:20 sf-robot
resolution_id None 2009-11-04 23:11 pmarcu
status_id Open 2009-11-04 23:11 pmarcu
close_date - 2009-11-04 23:11 pmarcu
assigned_to micarls 2009-10-23 08:27 robmen
assigned_to nobody 2009-08-28 00:20 candyc
File Added 339132: _SummaryInformation.idt 2009-08-14 03:01 candyc