Prev Previous Post   Next Post Next
Old 4th January 2008, 08:25   #1
zgy88c
Junior Member
 
Join Date: Jan 2008
Posts: 5
Question NSIS can't remove NSIS created registry key

I have an NSIS installer that creates a registry key, such that when ActiveSync sees a device cradled, it automatically starts my application.

The creation of the key works fine (as does the ActiveSync function), but on Un-Install, the registry key is not removed.

All other registry entries created can be deleted without issue.

Any help much appreciated.



So from my "post" section:

Section "-post"
; Create the ActiveSync key so our app starts when the device is cradled
WriteRegStr HKLM "SOFTWARE\Microsoft\Windows CE Services\AutoStartOnConnect" "${appname}" "$INSTDIR\${exe}"


And my Uninstall section:

Section "Uninstall"

; Delete the ActiveSync key so our app wont start when the device is cradled
DeleteRegKey HKLM "SOFTWARE\Microsoft\Windows CE Services\AutoStartOnConnect\${appname}"
zgy88c is offline   Reply With Quote
 
Go Back   Winamp & Shoutcast Forums > Developer Center > NSIS Discussion

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump