Hi Chaitanya,

we have to create several empty folders, too. We simply create the
directory structure in our .wxs files and add a Component inside each
empty folder. The Component has the attributes KeyPath=no,
NeverOverwrite=no, Permanent=no, Win64=yes (we have a 64bit-only
installer) and Location=local.

In the Component, we define the CreateFolder element.
Additionally, we define some permissions for certain users with the
util:PermissionEx element.

<Directory Id="Log" Name="Log" >
            <Component Id="LogFolder"
Guid="DEADBEEF-BEEF-BEEF-BEEF-C0FFEEBABE00" KeyPath="no"
NeverOverwrite="no" Permanent="no" Win64="yes" Location="local">
              <CreateFolder>
                <util:PermissionEx CreateChild="yes" CreateFile="yes"
Delete="yes" Read="yes" ReadAttributes="yes"
ReadExtendedAttributes="yes" ReadPermission="yes" Traverse="yes"
GenericRead="yes" GenericWrite="yes" User="[USERNAME]" />
              </CreateFolder>
            </Component>
          </Directory>


Kind regards,

Dirk Räder



On 2013-10-25 13:12, Chaitanya wrote:
> Hi,
> In my Source file I am having a lot of empty folders.But,it is not 
> creating the empty folders through "Heat or WixEdit".How to create an 
> empty folders through wix.
> 
> -- 
> Thanks & Regards,
> Chaitanya.
> 
> 
> ------------------------------------------------------------------------------
> October Webinars: Code for Performance
> Free Intel webinars can help you accelerate application performance.
> Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from 
> the latest Intel processors and coprocessors. See abstracts and register >
> http://pubads.g.doubleclick.net/gampad/clk?id=60135991&iu=/4140/ostg.clktrk
> _______________________________________________
> WiX-users mailing list
> WiX-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wix-users

-- 
-- 
Die deutsche Rechtschreibung ist Freeware, sie darf kostenlos benutzt
werden.Aber sie ist nicht Open Source, d. h. sie darf nicht verändert
oder in veränderter Form veröffentlicht werden.

------------------------------------------------------------------------------
October Webinars: Code for Performance
Free Intel webinars can help you accelerate application performance.
Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from 
the latest Intel processors and coprocessors. See abstracts and register >
http://pubads.g.doubleclick.net/gampad/clk?id=60135991&iu=/4140/ostg.clktrk
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to