Skip to content

Commit

Permalink
Fix MSI installer to actually respect user picked location.
Browse files Browse the repository at this point in the history
  • Loading branch information
pmuetschard authored and AWoloszyn committed Jul 27, 2017
1 parent 27f87c9 commit fa0f6af
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
2 changes: 1 addition & 1 deletion kokoro/windows/build.bat
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ zip -r gapid-%VERSION%-windows.zip gapid

REM Create an MSI installer.
copy %SRC%\kokoro\windows\gapid.wxs .
%WIX%\heat.exe dir gapid -ag -cg gapid -dr gapid -template fragment -sreg -sfrag -srd -o component.wxs
%WIX%\heat.exe dir gapid -ag -cg gapid -dr GAPID -template fragment -sreg -sfrag -srd -o component.wxs
%WIX%\candle.exe gapid.wxs component.wxs
%WIX%\light.exe gapid.wixobj component.wixobj -b gapid -ext WixUIExtension -cultures:en-us -o gapid-%VERSION%.msi

Expand Down
5 changes: 2 additions & 3 deletions kokoro/windows/gapid.wxs
Original file line number Diff line number Diff line change
Expand Up @@ -24,15 +24,14 @@
<MediaTemplate EmbedCab="yes" />
<Directory Id="TARGETDIR" Name="SourceDir">
<Directory Id="ProgramFilesFolder" Name="PFiles">
<Directory Id="gapid" Name="gapid">
</Directory>
<Directory Id="GAPID" Name="gapid" />
</Directory>
</Directory>
<Feature Id="GAPID" Title="Graphics API Debugger" Level="1">
<ComponentGroupRef Id="gapid" />
</Feature>

<Property Id="WIXUI_INSTALLDIR" Value="gapid" />
<Property Id="WIXUI_INSTALLDIR" Value="GAPID" />
<!-- From WixUI_InstallDir.wxs - without a license dialog -->
<UI Id="gapid">
<TextStyle Id="WixUI_Font_Normal" FaceName="Tahoma" Size="8" />
Expand Down

0 comments on commit fa0f6af

Please sign in to comment.