diff --git a/kokoro/windows/build.bat b/kokoro/windows/build.bat
index 59309c465f..bc92c6eb28 100644
--- a/kokoro/windows/build.bat
+++ b/kokoro/windows/build.bat
@@ -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
diff --git a/kokoro/windows/gapid.wxs b/kokoro/windows/gapid.wxs
index 4fd6ee2859..1d36a8a20b 100644
--- a/kokoro/windows/gapid.wxs
+++ b/kokoro/windows/gapid.wxs
@@ -24,15 +24,14 @@
-
-
+
-
+