Hi,

I guess this question is for me rather than for Palbinder.

I am running heat 3.0.5419.0. And I do use -suid (on purpose).

Anyway, this is not critical, I was just wondering if there was a good 
explanation for the ID change from "Directory1234" to "_1234", but I can live 
with it.

Thanks a lot,
Sam

---
Date: Thu, 17 Feb 2011 08:59:39 -0800
From: Brian Rogers <rogers.br...@gmail.com>
Subject: Re: [WiX-users] heat: the ID of a directory with numeric name
To: "General discussion for Windows Installer XML toolset."
        <wix-users@lists.sourceforge.net>
Message-ID:
        <AANLkTinsPkGfV=P=j6x+m2-zg0olr7_nxhugukqq8...@mail.gmail.com>
Content-Type: text/plain; charset=ISO-8859-1

Hey Palbinder,

Which version of heat.exe are you using? As long as you aren't using -suid
you should be ok.

Thanks,

Brian Rogers
"Intelligence removes complexity." - Me
http://blogs.msdn.com/icumove


On Thu, Feb 17, 2011 at 2:10 AM, <samuel.feren...@barclayscapital.com>wrote:

> Hi Palbinder, (group),
>
> thanks for your response.
>
> As per the link you said, an ID of "1234" is *not* acceptable ("every
> identifier must begin with either a letter or an underscore"), which is why
> I think heat does some magic to avoid that ID for a directory called "1234".
>
> It seems that in one case heat generates the ID "Directory1234" and in
> another "_1234", and I'm wondering if this is something that one can control
> in heat (or if, perhaps, this is due to different versions of heat...)
>
> Thanks,
> Sam
>
> -----Original Message-----
> From: Pally Sandher [mailto:pally.sand...@iesve.com]
> Sent: 11 February 2011 17:32
> To: General discussion for Windows Installer XML toolset.
> Subject: Re: [WiX-users] heat: the ID of a directory with numeric name
>
> 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 
office 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

Reply via email to