소스 검색

Set registry view to match Python bitness

Thomas Kluyver 8 년 전
부모
커밋
15f49a7fc4
1개의 변경된 파일2개의 추가작업 그리고 0개의 파일을 삭제
  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}"