Go Back   Winamp Forums > Developer Center > NSIS Discussion

Reply
Thread Tools Search this Thread Display Modes
Old 5th April 2007, 10:05   #1
easthero
Junior Member
 
Join Date: Dec 2006
Location: Shanghai,China
Posts: 12
two question,please see picture

question1:
see picture1
the software has installed,when run the installer again,the page is show,how to do it?please give me a example

questtion2:
see picture 2
this is tomcat installer finish page,here is set
!define MUI_FINISHPAGE_RUN $INSTDIR\bin\tomcat5w.exe

I want to modify "Run Tomcat" to "Run foobar",how to do it?

thanks
Attached Images
File Type: jpg 2.jpg (23.9 KB, 95 views)
easthero is offline   Reply With Quote
Old 5th April 2007, 10:09   #2
easthero
Junior Member
 
Join Date: Dec 2006
Location: Shanghai,China
Posts: 12
sorry,the forum can upload only one picture?

the picture 1 is
easthero is offline   Reply With Quote
Old 5th April 2007, 10:24   #3
Red Wine
Forum King
 
Red Wine's Avatar
 
Join Date: Mar 2006
Location: Ath. GR
Posts: 2,078
1. Find the code into makensis.nsi example inside examples directory which is installed on your system
There isn't better example than this one.

2. Review MUI documentation under Page Settings/Finish Page Settings MUI_FINISHPAGE_RUN_TEXT.

Quick AVI Creator - Quick and easy convert from DVD/MPEG/AVI/MKV to AVI/MP4/MKV
Quick AVI Creator entirely edited with NSIS and entirely upgraded to Unicode NSIS
Red Wine is offline   Reply With Quote
Old 5th April 2007, 12:00   #4
easthero
Junior Member
 
Join Date: Dec 2006
Location: Shanghai,China
Posts: 12
thanks

I have installed nsis2.25,but the example makensis.nsi is the old version,have not this function that I meaned.
easthero is offline   Reply With Quote
Old 8th April 2007, 16:04   #5
kichik
M.I.A.
[NSIS Dev, Mod]
 
kichik's Avatar
 
Join Date: Oct 2001
Location: Israel
Posts: 11,337
makensis.nsi is used to build the installer itself, so it can't be the old version. When you compile it, you must define VER_MAJOR & VER_MINOR & VER_REVISION & VER_BUILD or that page won't appear. The script uses these defines to find out whether or not it needs to show the page.

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
Reply
Go Back   Winamp 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