Sfoglia il codice sorgente

Set registry view to match Python bitness

Thomas Kluyver 8 anni fa
parent
commit
15f49a7fc4
1 ha cambiato i file con 2 aggiunte e 0 eliminazioni
  1. 2 0
      nsist/pyapp.nsi

+ 2 - 0
nsist/pyapp.nsi

@@ -40,6 +40,7 @@ SectionEnd
 [% block sections %]
 
 Section "!${PRODUCT_NAME}" sec_app
+  SetRegView [[ib.py_bitness]]
   SectionIn RO
   SetShellVarContext all
   File ${PRODUCT_ICON}
@@ -123,6 +124,7 @@ Section "!${PRODUCT_NAME}" sec_app
 SectionEnd
 
 Section "Uninstall"
+  SetRegView [[ib.py_bitness]]
   SetShellVarContext all
   Delete $INSTDIR\uninstall.exe
   Delete "$INSTDIR\${PRODUCT_ICON}"