Hi Peter,

Directory refers to a Directory Id, therefore it cannot contains spaces.

What you want to accomplish is:

<DirectoryRef Id="FlowPlanDirectory">
  <Directory Id="MyiCalibraFlowPlans" Name="My iCalibra Flow Plans">
    <Component Id="MyFlowPlanDirectory"
Guid="FF63AA3E-C02D-11DD-AD5B-1C9356D89593">
       <CreateFolder />
       <RemoveFolder Id="FlowPlanDirectory" On="uninstall"/>
       <RemoveFile Id="FlowPlanDirectoryContents" Name="*" On="uninstall"/>
     </Component>
   </Directory>
 </DirectoryRef>




On Tue, Dec 2, 2008 at 8:11 AM, Peter McClymont
<[EMAIL PROTECTED]>wrote:

> Hi All,
>
> I have this code snippet in my WIX script,
>
> <DirectoryRef Id="FlowPlanDirectory">
>      <Component Id="MyFlowPlanDirectory"
> Guid="FF63AA3E-C02D-11DD-AD5B-1C9356D89593">
>        <CreateFolder Directory ="My iCalibra Flow Plans"/>
>        <RemoveFolder Id="FlowPlanDirectory" On="uninstall"/>
>        <RemoveFile Id="FlowPlanDirectoryContents" Name="*" On="uninstall"/>
>      </Component>
>    </DirectoryRef>
>
> Which should create a directory called
>
> Documents\My iCalibra Flow Plans
>
> Instead when I compile it I get an error,
>
> The CreateFolder/@Directory attribute's value, 'My iCalibra Flow Plans', is
> not a legal identifier.  Identifiers may contain ASCII characters A-Z, a-z,
> digits, underscores (_), or periods (.).  Every identifier must begin with
> either a letter or an underscore.
> C:\Dev\iC3\Source\iC3InstallerWIX\Product.wxs
>
> Is there any way around this?
>
> Thanks,
>
> Peter.
> -------------------------------------------------------------------------
> This SF.Net email is sponsored by the Moblin Your Move Developer's
> challenge
> Build the coolest Linux based applications with Moblin SDK & win great
> prizes
> Grand prize is a trip for two to an Open Source event anywhere in the world
> http://moblin-contest.org/redirect.php?banner_id=100&url=/
> _______________________________________________
> WiX-users mailing list
> WiX-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wix-users
>
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to