Go Back   Winamp Forums > Developer Center > NSIS Discussion

Reply
Thread Tools Search this Thread Display Modes
Old 11th May 2009, 12:15   #1
bukox
Junior Member
 
Join Date: Jun 2007
Posts: 10
Problem with deleting startup reg keys

I don't know why my script doesn't delete startup reg keys from registry:
DeleteRegKey HKLM "Software\Microsoft\Windows\CurrentVersion\Run\MyApp"
The path is correct but registry keys still exists.
I have no problems with deleting other registry keys and there problem is only with startup keys. What is the reason?
I'm running this script on XP as Administrator.
bukox is offline   Reply With Quote
Old 11th May 2009, 13:13   #2
kichik
M.I.A.
[NSIS Dev, Mod]
 
kichik's Avatar
 
Join Date: Oct 2001
Location: Israel
Posts: 11,337
You don't have keys under Run, only values. Use DeleteRegValue.

NSIS FAQ | NSIS Home Page | Donate $
"I hear and I forget. I see and I remember. I do and I understand." -- Confucius
kichik is offline   Reply With Quote
Old 11th May 2009, 13:28   #3
bukox
Junior Member
 
Join Date: Jun 2007
Posts: 10
I'm blind. Thx for help
bukox is offline   Reply With Quote
Reply
Go Back   Winamp 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