diff options
Diffstat (limited to 'Build/source/utils/asymptote/asymptote.nsi')
-rw-r--r-- | Build/source/utils/asymptote/asymptote.nsi | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Build/source/utils/asymptote/asymptote.nsi b/Build/source/utils/asymptote/asymptote.nsi index 453a420aa67..953b44e6346 100644 --- a/Build/source/utils/asymptote/asymptote.nsi +++ b/Build/source/utils/asymptote/asymptote.nsi @@ -14,6 +14,7 @@ XPStyle On ; MUI 1.67 compatible ------ !include "MUI.nsh" !include "LogicLib.nsh" +!include "EnvVarUpdate.nsh" ; MUI Settings !define MUI_ABORTWARNING @@ -70,6 +71,7 @@ ShowUnInstDetails show Section "Asymptote" SEC01 SetOutPath "$INSTDIR" + ${EnvVarUpdate} $0 "PATH" "A" "HKLM" "$INSTDIR" Delete "$INSTDIR\_imagingtk.pyd" SetOverwrite try File /r build-${PRODUCT_VERSION}\* @@ -159,6 +161,7 @@ Section Uninstall Delete "$INSTDIR\uninst.exe" !include AsymptoteUninstallList.nsi Delete "$INSTDIR\asy.bat" + ${un.EnvVarUpdate} $0 "PATH" "R" "HKLM" "$INSTDIR" RMDir "$INSTDIR" Delete "$SMPROGRAMS\$ICONS_GROUP\Uninstall.lnk" |