diff --git a/installer/PowerToysSetup/CustomDialogs/PTLicenseDlg.wxs b/installer/PowerToysSetup/CustomDialogs/PTLicenseDlg.wxs
new file mode 100644
index 0000000000..ee7b752591
--- /dev/null
+++ b/installer/PowerToysSetup/CustomDialogs/PTLicenseDlg.wxs
@@ -0,0 +1,29 @@
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/installer/PowerToysSetup/CustomDialogs/WixUI_PTInstallDir.wxs b/installer/PowerToysSetup/CustomDialogs/WixUI_PTInstallDir.wxs
index 8b035b28be..a06d1ed278 100644
--- a/installer/PowerToysSetup/CustomDialogs/WixUI_PTInstallDir.wxs
+++ b/installer/PowerToysSetup/CustomDialogs/WixUI_PTInstallDir.wxs
@@ -49,13 +49,13 @@ Patch dialog sequence:
1
- NOT Installed
+ NOT Installed
Installed AND PATCH
- 1
- LicenseAccepted = "1"
+ 1
+ 1
- 1
+ 1
1
NOT WIXUI_DONTVALIDATEPATH
"1"]]>
diff --git a/installer/PowerToysSetup/PowerToysSetup.wixproj b/installer/PowerToysSetup/PowerToysSetup.wixproj
index ccbffd912d..484e051119 100644
--- a/installer/PowerToysSetup/PowerToysSetup.wixproj
+++ b/installer/PowerToysSetup/PowerToysSetup.wixproj
@@ -20,6 +20,7 @@
+