Old 13th October 2005, 06:13   #1
CGTV
Junior Member
 
Join Date: Oct 2005
Location: CA
Posts: 8
InstallDirRegKey?

Hi,

I am wondering how to use InstallDirRegKey but then also add a specific extention onto the end of what that returns from the registry.

For Example, if I use:

;InstallDirRegKey HKLM "Software\Company\Software" "Uninstall"

I might get back D:\Software

I get back the Directory I want for the installer interface, but then I would like it to add onto that a couple of other directories such as

D:\Software\Plugins\Custom

what is the easiest way to do this?

thanks for any help.
CGTV is offline   Reply With Quote
Old 13th October 2005, 08:31   #2
Yathosho
Forum King
 
Yathosho's Avatar
 
Join Date: Jan 2002
Location: AT-DE
Posts: 3,366
$INSTDIR\Plugins\Custom ?
Yathosho is offline   Reply With Quote
Old 13th October 2005, 19:02   #3
CGTV
Junior Member
 
Join Date: Oct 2005
Location: CA
Posts: 8
no that didnt work.

anyone know the answer for sure?
CGTV is offline   Reply With Quote
Old 13th October 2005, 21:44   #4
Pidgeot
Senior Member
 
Pidgeot's Avatar
 
Join Date: Jan 2002
Location: Denmark
Posts: 136
You're supposed to use it with SetOutPath in a section. That is:

Section "Foo"
SetOutPath $INSTDIR\Plugins\Custom
//rest of code
SectionEnd
Pidgeot is offline   Reply With Quote
Old 13th October 2005, 23:20   #5
CGTV
Junior Member
 
Join Date: Oct 2005
Location: CA
Posts: 8
ok great.
CGTV 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