WINAMP.COM | Forums : Powered by vBulletin version 2.3.9 WINAMP.COM | Forums > Developer Center > NSIS Discussion > Change directory on a second directory page
  Last Thread   Next Thread
Author
Thread Post New Thread    Post A Reply
KellyFreak
Junior Member

Registered: Oct 2009
From:

Change directory on a second directory page

Hi,

I have a problem with a second directory page. This page is for backing up an existing folder. With MUI_INNERDIALOG_TEXT I'm setting the backup directory to be displayed. This works fine.
After clicking Browse button and choosing a different location the application name from my installer is appended as subdirectory. There I don't want the application name to be displayed but the name of the backup directory. How can I set this to be displayed after browsing???

PHP:

Function DirectoryBackShow

    
!insertmacro MUI_INNERDIALOG_TEXT 1019 "$BACKUP_DIR"

FunctionEnd

Quick Link | Report this post to a moderator | IP: Logged

KellyFreak is offline Old Post 10-07-2009 09:09 AM
Click Here to See the Profile for KellyFreak Click here to Send KellyFreak a Private Message Find more posts by KellyFreak Add KellyFreak to your buddy list Edit/Delete Message Reply w/Quote
KellyFreak
Junior Member

Registered: Oct 2009
From:

Unhappy

I now figured out that InstallDir makes the substring following the last \ to be appended when Browse was selected.

I think that works for pages using the "original" INSTDIR variable. But I don't know how to do this for a second directory page which is using a different directory variable by giving

PHP:

!define MUI_DIRECTORYPAGE_VARIABLE "$BACKUP_DIR"



Can somebody help me please?!

Quick Link | Report this post to a moderator | IP: Logged

KellyFreak is offline Old Post 10-12-2009 07:18 AM
Click Here to See the Profile for KellyFreak Click here to Send KellyFreak a Private Message Find more posts by KellyFreak Add KellyFreak to your buddy list Edit/Delete Message Reply w/Quote
All times are GMT. The time now is 09:36 PM. Post New Thread    Post A Reply
  Last Thread   Next Thread
WINAMP.COM | Forums : Powered by vBulletin version 2.3.9 WINAMP.COM | Forums > Developer Center > NSIS Discussion > Change directory on a second directory page
Show Printable Version
 | 
Email this Page
 | 
Subscribe to this Thread

Forum Jump:
 

Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is off
vB code is ON
Smilies are ON
[IMG] code is ON