Old 8th June 2003, 17:32   #1
FanBoy
Junior Member
 
Join Date: Jun 2003
Posts: 2
Changing (default) reg key

Hey, this has prolly been asked before but i cant seem to find the answer, or a way round it.

If i want to change the (default) key in a registry key I use:

WriteRegStr HKEY_CLASSES_ROOT ".plop" "(Default)" '"APlop"'

for example. But this creates a new key called (Default), I need to change the value in the current one. Is there a UpdateRegStr sorta thing? Thanks

-FanBoy
FanBoy is offline   Reply With Quote
Old 8th June 2003, 17:35   #2
kichik
M.I.A.
[NSIS Dev, Mod]
 
kichik's Avatar
 
Join Date: Oct 2001
Location: Israel
Posts: 11,343
Use an empty string instead of "(Default)".

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 8th June 2003, 17:36   #3
FanBoy
Junior Member
 
Join Date: Jun 2003
Posts: 2
Wow, that was fast, thank you very much!
FanBoy is offline   Reply With Quote
Reply
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