|
|
#1 |
|
Junior Member
Join Date: Sep 2007
Location: Brighton
Posts: 1
|
Removing Reg keys on uninstall with Vista
Hi
I'm hoping someone can help me here, I'm very new to Nsis and just trying to edit an installer so it will now support Vista as well as XP but have run into a problem. With my XP installer it seems to work fine when removing a reg key for a context menu ive added but with vista it wont remove the context menu item aka not removing the reg key. have anyone had this probelm before maybe? Code: Install WriteRegStr HKLM "Software\CLASSES\*\shell" "" "" WriteRegStr HKLM "Software\CLASSES\*\shell\AIToolkit" "" "" WriteRegStr HKLM "Software\CLASSES\*\shell\AIToolkit\command" "" "$\"${INSTDIR}\AIToolkit.exe$\" $\"%L$\" $\"context$\"" Uninstall DeleteRegValue HKLM "Software\CLASSES\*\shell\AIToolkit" "command" DeleteRegValue HKLM "Software\CLASSES\*\shell" "AIToolkit" Thanks!!! |
|
|
|
|
|
#2 |
|
Moderator
Join Date: Jun 2002
Location: ${NSISDIR}
Posts: 5,449
|
try
DeleteRegKey HKLM "Software\CLASSES\*\shell\AIToolkit" IntOp $PostCount $PostCount + 1 |
|
|
|
![]() |
|
|||||||
| Thread Tools | Search this Thread |
| Display Modes | |
|
|