I think you are getting attributes mixed up. The path goes in the FileSource
attribute.

-----Original Message-----
From: Rob Mensching [mailto:r...@robmensching.com] 
Sent: 11 January 2013 14:16
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] assigning path for directory using preprocessors

Id attributes must follow the Windows Installer requirements for identifier,
which are basically the same as most programming languages.


On Fri, Jan 11, 2013 at 2:18 AM, Rahul V <rahul8...@gmail.com> wrote:

>  Hi,
> I am trying to assign the below path for directory by the variable 
> HelpSourceFolder as shown in below, I am getting the error "Error 1 
> The Directory/@Id attribute's value, 'D:\SomeFolder\Path', is not a 
> legal identifier.", please help me to identify what is wrong here.
>
>  <?define HelpSourceFolder= D:\SomeFolder\Path?>
>
> <Wix xmlns="http://schemas.microsoft.com/wix/2006/wi";>
>
> <Product Id="22719928-e1a0-4e62-9387-f289ee91e694" Name="MESPortal"
> Language
> ="1033" Version="1.0.0.0" Manufacturer="MESPortal" UpgradeCode="
> 4c950b6c-e248-4e39-ab9b-2a7f46d9d823">
>
> <Package InstallerVersion="200" Compressed="yes" />
>
> <Media Id="1" Cabinet="media1.cab" EmbedCab="yes" />
>
> <Directory Id="TARGETDIR" Name="SourceDir">
>
> <Directory Id="$(var.HelpSourceFolder)">
>
>
>
> Regards,
> Rahul
>
> ----------------------------------------------------------------------
> -------- Master HTML5, CSS3, ASP.NET, MVC, AJAX, Knockout.js, Web API 
> and much more. Get web development skills now with LearnDevNow -
> 350+ hours of step-by-step video tutorials by Microsoft MVPs and experts.
> SALE $99.99 this month only -- learn more at:
> http://p.sf.net/sfu/learnmore_122812
> _______________________________________________
> WiX-users mailing list
> WiX-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wix-users
>
-----------------------------------------------------------------------------
-
Master HTML5, CSS3, ASP.NET, MVC, AJAX, Knockout.js, Web API and much more.
Get web development skills now with LearnDevNow -
350+ hours of step-by-step video tutorials by Microsoft MVPs and experts.
SALE $99.99 this month only -- learn more at:
http://p.sf.net/sfu/learnmore_122812
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users
SDL PLC confidential, all rights reserved.
If you are not the intended recipient of this mail SDL requests and requires 
that you delete it without acting upon or copying any of its contents, and we 
further request that you advise us.
SDL PLC is a public limited company registered in England and Wales.  
Registered number: 02675207.
Registered address: Globe House, Clivemont Road, Maidenhead, Berkshire SL6 7DY, 
UK.


------------------------------------------------------------------------------
Master HTML5, CSS3, ASP.NET, MVC, AJAX, Knockout.js, Web API and
much more. Get web development skills now with LearnDevNow -
350+ hours of step-by-step video tutorials by Microsoft MVPs and experts.
SALE $99.99 this month only -- learn more at:
http://p.sf.net/sfu/learnmore_122812
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to