Go Back   Winamp & Shoutcast Forums > Developer Center > NSIS Discussion

 
Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
Old 13th December 2006, 23:00   #1
fashtas
Junior Member
 
Join Date: Dec 2006
Posts: 9
Question 2 dir paths, different defaults, auto-add for 1, Possible?

I am trying to get 2 different directory screens working in an installer.

One has the path for the program files, and adds the Default Program Directory to the end if the user browses to a new path

The second has the path for the data files, and does *not* want to append anything to the end of the path if the uses browses somewhere other than the initial default

I've attached a cut down version of the code I am using which will add "myTest2PathDir" to the end of any browsed to path on both directory windows.

I am aware that if I add a backslash at the end of the path for the install directory (thus)...

code:

InstallDir "$PROGRAMFILES\myTest2PathDir\"



...I can avoid the adding to the end of a browse path, but ideally I want it for the one (program), not the other (data)
Attached Files
File Type: nsi test2path.nsi (1,004 Bytes, 96 views)
fashtas 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