Skip to content

Commit

Permalink
dokan_wix: Use FUSE-compatible dir-hierarchy
Browse files Browse the repository at this point in the history
Installs the public FUSE headers in a directory structure that resembles
that of Linux FUSE. Linux FUSE requires a fuse.h in the top-level
include-directory.
Closes dokan-dev#250.
  • Loading branch information
Rondom committed Sep 20, 2016
1 parent 6c35385 commit 20caf59
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 8 deletions.
9 changes: 5 additions & 4 deletions dokan_wix/Dokan_x64.wxs
Original file line number Diff line number Diff line change
Expand Up @@ -317,16 +317,16 @@
<File Id="publicH" Source="..\sys\public.h " Name="public.h" KeyPath="no"/>
</Component>
</Directory>
<Component Id="IncludeFuseCompatFilesComponent" Win64="yes" Guid="{7129AF7C-D5E2-4D3B-B29B-9CBE045F655B}">
<File Id="fuse_include_H" Source="..\dokan_fuse\include\old\fuse.h" Name="fuse.h" KeyPath="yes"/>
</Component>
<Directory Id="FUSEINCLUDEDIR" Name="fuse">
<Component Id="IncludeFuseFilesComponent" Win64="yes" Guid="{113F4C52-C272-4346-B65F-E827B8150815}">
<File Id="dokanfuseH" Source="..\dokan_fuse\include\dokanfuse.h" Name="dokanfuse.h" KeyPath="yes"/>
<File Id="fuseH" Source="..\dokan_fuse\include\fuse.h" Name="fuse.h" KeyPath="no"/>
<File Id="fuseH" Source="..\dokan_fuse\include\fuse.h" Name="fuse.h" KeyPath="yes"/>
<File Id="fuse_commonH" Source="..\dokan_fuse\include\fuse_common.h" Name="fuse_common.h" KeyPath="no"/>
<File Id="fuse_optH" Source="..\dokan_fuse\include\fuse_opt.h" Name="fuse_opt.h" KeyPath="no"/>
<File Id="fuse_sem_fixH" Source="..\dokan_fuse\include\fuse_sem_fix.h" Name="fuse_sem_fix.h" KeyPath="no"/>
<File Id="fuse_winH" Source="..\dokan_fuse\include\fuse_win.h" Name="fuse_win.h" KeyPath="no"/>
<File Id="fusemainH" Source="..\dokan_fuse\include\fusemain.h" Name="fusemain.h" KeyPath="no"/>
<File Id="ScopeGuardH" Source="..\dokan_fuse\include\ScopeGuard.h" Name="ScopeGuard.h" KeyPath="no"/>
<File Id="utilsH" Source="..\dokan_fuse\include\utils.h" Name="utils.h" KeyPath="no"/>
</Component>
</Directory>
Expand Down Expand Up @@ -382,6 +382,7 @@
<Feature Id="DokanLibBFeature" Title="Headers and Libs" Description="Headers and libraries required for native User-Mode File System development" Level="2" Display="expand">
<Condition Level="1">INSTALLDEVFILES = 1</Condition>
<ComponentRef Id="IncludeDokanFilesComponent"/>
<ComponentRef Id="IncludeFuseCompatFilesComponent"/>
<ComponentRef Id="IncludeFuseFilesComponent"/>
<ComponentRef Id="LibFilesComponent"/>
<ComponentRef Id="LibX86FilesComponent"/>
Expand Down
9 changes: 5 additions & 4 deletions dokan_wix/Dokan_x86.wxs
Original file line number Diff line number Diff line change
Expand Up @@ -264,16 +264,16 @@
<File Id="publicH" Source="..\sys\public.h " Name="public.h" KeyPath="no"/>
</Component>
</Directory>
<Component Id="IncludeFuseCompatFilesComponent" Win64="no" Guid="{7129AF7C-D5E2-4D3B-B29B-9CBE045F655B}">
<File Id="fuse_include_H" Source="..\dokan_fuse\include\old\fuse.h" Name="fuse.h" KeyPath="yes"/>
</Component>
<Directory Id="FUSEINCLUDEDIR" Name="fuse">
<Component Id="IncludeFuseFilesComponent" Win64="no" Guid="{113F4C52-C272-4346-B65F-E827B8150815}">
<File Id="dokanfuseH" Source="..\dokan_fuse\include\dokanfuse.h" Name="dokanfuse.h" KeyPath="yes"/>
<File Id="fuseH" Source="..\dokan_fuse\include\fuse.h" Name="fuse.h" KeyPath="no"/>
<File Id="fuseH" Source="..\dokan_fuse\include\fuse.h" Name="fuse.h" KeyPath="yes"/>
<File Id="fuse_commonH" Source="..\dokan_fuse\include\fuse_common.h" Name="fuse_common.h" KeyPath="no"/>
<File Id="fuse_optH" Source="..\dokan_fuse\include\fuse_opt.h" Name="fuse_opt.h" KeyPath="no"/>
<File Id="fuse_sem_fixH" Source="..\dokan_fuse\include\fuse_sem_fix.h" Name="fuse_sem_fix.h" KeyPath="no"/>
<File Id="fuse_winH" Source="..\dokan_fuse\include\fuse_win.h" Name="fuse_win.h" KeyPath="no"/>
<File Id="fusemainH" Source="..\dokan_fuse\include\fusemain.h" Name="fusemain.h" KeyPath="no"/>
<File Id="ScopeGuardH" Source="..\dokan_fuse\include\ScopeGuard.h" Name="ScopeGuard.h" KeyPath="no"/>
<File Id="utilsH" Source="..\dokan_fuse\include\utils.h" Name="utils.h" KeyPath="no"/>
</Component>
</Directory>
Expand Down Expand Up @@ -328,6 +328,7 @@
<Feature Id="DokanLibBFeature" Title="Headers and Libs" Description="Headers and libraries required for native User-Mode File System development" Level="2" Display="expand">
<Condition Level="1">INSTALLDEVFILES = 1</Condition>
<ComponentRef Id="IncludeDokanFilesComponent"/>
<ComponentRef Id="IncludeFuseCompatFilesComponent"/>
<ComponentRef Id="IncludeFuseFilesComponent"/>
<ComponentRef Id="LibFilesComponent"/>
<ComponentRef Id="SampleMirrorFilesComponent"/>
Expand Down

0 comments on commit 20caf59

Please sign in to comment.