Directory ID's can be anything you like as long as they're valid
identifiers (see http://msdn.microsoft.com/en-gb/library/aa369212.aspx)
since they go directly into the Directory table. They don't need to
reflect the actual name of the directory.

Just rename it after harvesting.

Palbinder Sandher 
Software Deployment Engineer
T: +44 (0) 141 945 8500 
F: +44 (0) 141 945 8501 

http://www.iesve.com 
**Design, Simulate + Innovate with the <Virtual Environment>**
Integrated Environmental Solutions Limited. Registered in Scotland No.
SC151456 
Registered Office - Helix Building, West Of Scotland Science Park,
Glasgow G20 0SP
Email Disclaimer

-----Original Message-----
From: samuel.feren...@barclayscapital.com
[mailto:samuel.feren...@barclayscapital.com] 
Sent: 11 February 2011 14:05
To: wix-users@lists.sourceforge.net
Subject: [WiX-users] heat: the ID of a directory with numeric name

Hi,

I am harvesting (heat dir) a directory structure like this:

foo
+ bar
   + 1234
      + a.a
      + b.b

The output is as follows:

        <DirectoryRef Id="TARGETDIR">
            <Directory Id="foo" Name="foo">
                <Directory Id="bar" Name="bar">
                    <Directory Id="_1234" Name="1234">

I am wondering about the Id "_1234". I suppose the Id cannot be purely
numeric, so the underscore is prepended.

However, I'm trying to mimic another MSI package, and that one has the
Id of "Directory1234":

        <DirectoryRef Id="TARGETDIR">
            <Directory Id="foo" Name="foo">
                <Directory Id="bar" Name="bar">
                    <Directory Id="Directory1234" Name="1234">

How can that be achieved?

Thanks,
Sam

_______________________________________________

This e-mail may contain information that is confidential, privileged or
otherwise protected from disclosure. If you are not an intended
recipient of this e-mail, do not duplicate or redistribute it by any
means. Please delete it and any attachments and notify the sender that
you have received it in error. Unless specifically indicated, this
e-mail is not an offer to buy or sell or a solicitation to buy or sell
any securities, investment products or other financial product or
service, an official confirmation of any transaction, or an official
statement of Barclays. Any views or opinions presented are solely those
of the author and do not necessarily represent those of Barclays. This
e-mail is subject to terms available at the following link:
www.barcap.com/emaildisclaimer. By messaging with Barclays you consent
to the foregoing.  Barclays Capital is the investment banking division
of Barclays Bank PLC, a company registered in England (number 1026167)
with its registered offi!
 ce at 1 Churchill Place, London, E14 5HP.  This email may relate to or
be sent from other members of the Barclays Group.
_______________________________________________
------------------------------------------------------------------------
------
The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio
XE:
Pinpoint memory and threading errors before they happen.
Find and fix more than 250 security defects in the development cycle.
Locate bottlenecks in serial and parallel code that limit performance.
http://p.sf.net/sfu/intel-dev2devfeb
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users



------------------------------------------------------------------------------
The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE:
Pinpoint memory and threading errors before they happen.
Find and fix more than 250 security defects in the development cycle.
Locate bottlenecks in serial and parallel code that limit performance.
http://p.sf.net/sfu/intel-dev2devfeb
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to