aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorludwig <ludwig@edf5b092-35ff-0310-97b2-ce42778d08ea>2009-04-18 17:03:29 +0000
committerludwig <ludwig@edf5b092-35ff-0310-97b2-ce42778d08ea>2009-04-18 17:03:29 +0000
commit2d04f20d0b73d7d16695d02ddc9b434e6308ab4e (patch)
tree7d5450060fa02ddb896f09ed1c0db24d75417154
parenta32119091fd4a855ffe5657b38178de15dce5794 (diff)
downloadioquake3-aero-2d04f20d0b73d7d16695d02ddc9b434e6308ab4e.tar.gz
ioquake3-aero-2d04f20d0b73d7d16695d02ddc9b434e6308ab4e.zip
nsis: registering unistaller in shell context works too
git-svn-id: svn://svn.icculus.org/quake3/trunk@1526 edf5b092-35ff-0310-97b2-ce42778d08ea
-rw-r--r--misc/nsis/ioquake3.nsi.in10
1 files changed, 5 insertions, 5 deletions
diff --git a/misc/nsis/ioquake3.nsi.in b/misc/nsis/ioquake3.nsi.in
index b37835e..8be010d 100644
--- a/misc/nsis/ioquake3.nsi.in
+++ b/misc/nsis/ioquake3.nsi.in
@@ -99,10 +99,10 @@ Section "ioquake3 (required)"
WriteRegStr SHCTX "Software\ioquake3" ${MULTIUSER_INSTALLMODE_DEFAULT_REGISTRY_VALUENAME} "$MultiUser.InstallMode"
; Write the uninstall keys for Windows
- WriteRegStr HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\ioquake3" "DisplayName" "ioquake3"
- WriteRegStr HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\ioquake3" "UninstallString" '"$INSTDIR\uninstall.exe"'
- WriteRegDWORD HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\ioquake3" "NoModify" 1
- WriteRegDWORD HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\ioquake3" "NoRepair" 1
+ WriteRegStr SHCTX "Software\Microsoft\Windows\CurrentVersion\Uninstall\ioquake3" "DisplayName" "ioquake3"
+ WriteRegStr SHCTX "Software\Microsoft\Windows\CurrentVersion\Uninstall\ioquake3" "UninstallString" '"$INSTDIR\uninstall.exe"'
+ WriteRegDWORD SHCTX "Software\Microsoft\Windows\CurrentVersion\Uninstall\ioquake3" "NoModify" 1
+ WriteRegDWORD SHCTX "Software\Microsoft\Windows\CurrentVersion\Uninstall\ioquake3" "NoRepair" 1
WriteUninstaller "uninstall.exe"
SectionEnd
@@ -147,7 +147,7 @@ SectionEnd
Section "Uninstall"
; Remove registry keys
- DeleteRegKey HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\ioquake3"
+ DeleteRegKey SHCTX "Software\Microsoft\Windows\CurrentVersion\Uninstall\ioquake3"
DeleteRegKey SHCTX "Software\ioquake3"
; Remove files and uninstaller