Old 28th July 2006, 00:38   #1
thefoxman
Junior Member
 
Join Date: Feb 2004
Posts: 2
Multiple Installs To Different Paths

I have read a thread started by petco named "Go back after Page InstFiles, run the installer again" on how to do multiple installs by using deguix's "RelGoToPage" function. It works well but when I go back and Browse to a new fiolder, the new folder I browse to always has the default target folder appended to the new folder.
ie if the default is C:\A\B and I install to that folder and then go back and browse to C:\J I get C:\J\B as the install path.

Question 1 How do I get the folder I browse to with out the appended default.

Question 2 How do I get the Install Details to show automatically without having to click "Show Details"
My script is attached

Thanks for any help you can provide.

Jerry Fox
Attached Files
File Type: nsi multipleinstalls.nsi (2.4 KB, 195 views)
thefoxman is offline   Reply With Quote
Old 28th July 2006, 02:49   #2
Comperio
Major Dude
 
Comperio's Avatar
 
Join Date: Jan 2005
Location: Oregon Coast
Posts: 737
Add a backslash to the end of the path defined by InstallDir. (See the help files for more info about this.)

Using your example, it should look like this:
code:

InstallDir "$PROGRAMFILES\FoxFales\OIO\"

Comperio is offline   Reply With Quote
Old 30th July 2006, 22:13   #3
JasonFriday13
Major Dude
 
JasonFriday13's Avatar
 
Join Date: May 2005
Location: New Zealand
Posts: 916
Question 2 answer (code):
ShowInstDetails show

"Only a MouseHelmet will save you from a MouseTrap" -Jason Ross (Me)
NSIS 3 POSIX Ninja
Wiki Profile
JasonFriday13 is offline   Reply With Quote
Old 3rd August 2006, 01:36   #4
thefoxman
Junior Member
 
Join Date: Feb 2004
Posts: 2
Thank you Gentlemen for the help.
thefoxman 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