Skip to content

Commit

Permalink
use correct folders based on bitness
Browse files Browse the repository at this point in the history
  • Loading branch information
dbernhard committed Mar 14, 2019
1 parent 7599d62 commit 32bcfbb
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions TikaServiceInstaller/Product.wxs
Original file line number Diff line number Diff line change
Expand Up @@ -136,12 +136,12 @@
<!-- all predifined; directory in which the final programm will get installed-->
<Directory Id="TARGETDIR" Name="SourceDir">

<!-- Program Files folder for 32bit -->
<Directory Id="ProgramFilesFolder">
<!-- Program Files folder for our bitness -->
<Directory Id="$(var.ProgramFilesFolder)">
<Directory Id="INSTALLFOLDER" Name="TikaService" />
</Directory>

<Directory Id="SystemFolder">
<Directory Id="$(var.SystemFolder)">
<Directory Id="LogFiles" Name="LogFiles">
<Directory Id="LOG_PATH" Name="TikaService" />
</Directory>
Expand All @@ -156,7 +156,7 @@
<Shortcut Id="UninstallProduct"
Name="!(loc.uninstall) $(var.ProductName)"
Description="!(loc.uninstalls) $(var.ProductName)"
Target="[SystemFolder]msiexec.exe"
Target="[$(var.SystemFolder)]msiexec.exe"
Arguments="/x [ProductCode]"/>
<CreateFolder/>
<RemoveFolder Id="ProgramFilesFolder" On="uninstall" />
Expand Down

0 comments on commit 32bcfbb

Please sign in to comment.