Эх сурвалжийг харах

fix the Windows installer to install to correct directory on 64-bit OSes

Ashish Kulkarni 11 жил өмнө
parent
commit
fbd68b61f6
1 өөрчлөгдсөн 0 нэмэгдсэн , 5 устгасан
  1. 0 5
      wkhtmltox.nsi

+ 0 - 5
wkhtmltox.nsi

@@ -3,12 +3,7 @@
 
 Name             "wkhtmltox ${VERSION}"
 OutFile          "static-build\wkhtmltox-${VERSION}_${TARGET}.exe"
-!if ${ARCH} == "win64"
 InstallDir       "$PROGRAMFILES64\wkhtmltopdf"
-!else
-InstallDir       "$PROGRAMFILES\wkhtmltopdf"
-!endif
-InstallDirRegKey HKLM "Software\wkhtmltopdf" "InstallPath"
 VIProductVersion "${SIMPLE_VERSION}.0"
 VIAddVersionKey  "ProductName"     "wkhtmltox"
 VIAddVersionKey  "FileDescription" "wkhtmltox ${VERSION}"