Go Back   Winamp Forums > Developer Center > NSIS Discussion

Reply
Thread Tools Search this Thread Display Modes
Old 7th June 2011, 22:45   #1
JohnChen
Member
 
Join Date: Mar 2011
Posts: 80
How to use instfiles?

I couldn't find any resources regarding how to use instfiles in user's manual. Could any guru here explain it a little bit? I meant the syntax to use it and the meanings of each parameter. Also if I want to quit from instfiles page, how can I do that? It looks like there is a build-in page associated with instfiles page. If I don't want to show this page, how can I avoid it? Thanks for your help.
JohnChen is offline   Reply With Quote
Old 8th June 2011, 05:25   #2
MSG
Major Dude
 
Join Date: Oct 2006
Posts: 1,840
Instfiles isn't a command, it's a page. You can't "run" the instfiles page without showing the page. Aborting installation is difficult, but if you search the forums there's a lot of threads about it. If you want to install stuff without showing the instfiles page, I suppose you could do everything in the leave function of your own custom page... But there's probably a better way to create your own instfiles equivalent. No idea myself.
MSG is online now   Reply With Quote
Old 8th June 2011, 21:53   #3
JohnChen
Member
 
Join Date: Mar 2011
Posts: 80
Quote:
Originally Posted by MSG View Post
Instfiles isn't a command, it's a page. You can't "run" the instfiles page without showing the page. Aborting installation is difficult, but if you search the forums there's a lot of threads about it. If you want to install stuff without showing the instfiles page, I suppose you could do everything in the leave function of your own custom page... But there's probably a better way to create your own instfiles equivalent. No idea myself.
Basically my question is that how can I replace the exsiting instfiles page with my custom page? Thanks.
JohnChen is offline   Reply With Quote
Old 8th June 2011, 22:08   #4
demiller9
Senior Member
 
Join Date: Mar 2006
Location: Dallas
Posts: 442
Please explain why the install page won't work for you. It does several things 'behind the scenes' that would be more work to do on your custom page: it executes the sections that are selected, it changes the Next button to Install on the page before InstallFiles, it blocks going Back when InstallFiles is complete.
demiller9 is offline   Reply With Quote
Old 8th June 2011, 22:22   #5
JohnChen
Member
 
Join Date: Mar 2011
Posts: 80
Quote:
Originally Posted by demiller9 View Post
Please explain why the install page won't work for you. It does several things 'behind the scenes' that would be more work to do on your custom page: it executes the sections that are selected, it changes the Next button to Install on the page before InstallFiles, it blocks going Back when InstallFiles is complete.
It is not that install page won't work for me. It is because for some circumstance, I want to quit the installation, so the layout, text, etc from the original install page are not appropriate any more.
JohnChen 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