diff --git a/cmake/templates/NSIS.template.in b/cmake/templates/NSIS.template.in
index 51a3c860b1..ad1c483a46 100644
--- a/cmake/templates/NSIS.template.in
+++ b/cmake/templates/NSIS.template.in
@@ -564,7 +564,6 @@ FunctionEnd
 
   !insertmacro MUI_PAGE_INSTFILES
   Page custom PostInstallOptionsPage
-  !insertmacro MUI_PAGE_FINISH
 
   !insertmacro MUI_UNPAGE_CONFIRM
   !insertmacro MUI_UNPAGE_INSTFILES