diff options
author | Andy Cedilnik <andy.cedilnik@kitware.com> | 2006-04-23 23:45:43 (GMT) |
---|---|---|
committer | Andy Cedilnik <andy.cedilnik@kitware.com> | 2006-04-23 23:45:43 (GMT) |
commit | 4e9564a0f161cc6b5fb18eb8ee4d406285e6cab1 (patch) | |
tree | 8ad824df8b884d2bba691243fa95d1013db73ca7 /Modules/NSIS.template.in | |
parent | f33480937c999b4566a69ce22f0878f078082ec5 (diff) | |
download | CMake-4e9564a0f161cc6b5fb18eb8ee4d406285e6cab1.zip CMake-4e9564a0f161cc6b5fb18eb8ee4d406285e6cab1.tar.gz CMake-4e9564a0f161cc6b5fb18eb8ee4d406285e6cab1.tar.bz2 |
ENH: Propagate system name and handle win32/win64 name
Diffstat (limited to 'Modules/NSIS.template.in')
-rw-r--r-- | Modules/NSIS.template.in | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Modules/NSIS.template.in b/Modules/NSIS.template.in index bcee37f..e93a144 100644 --- a/Modules/NSIS.template.in +++ b/Modules/NSIS.template.in @@ -134,6 +134,7 @@ Function AddToPath Goto AddToPath_done AddToPath_NT: + MessageBox MB_OK 'Add to path "$0"' ReadRegStr $1 SHCTX "Environment" "PATH" StrCpy $2 $1 1 -1 # copy last char StrCmp $2 ";" 0 +2 # if last char == ; @@ -202,6 +203,7 @@ Function un.RemoveFromPath Goto unRemoveFromPath_done unRemoveFromPath_NT: + MessageBox MB_OK 'Remove from path "$0"' ReadRegStr $1 SHCTX "Environment" "PATH" StrCpy $5 $1 1 -1 # copy last char StrCmp $5 ";" +2 # if last char != ; |