Old 25th February 2017, 07:25   #1
lagzs
Junior Member
 
Join Date: Feb 2017
Posts: 1
Unhappy help on custom page

dear sirs,
I'm working on a custom installer. once the user run the installer, it just display one custom page and show some banner images in slide show, and the progress bar.(just banner and progress bar ,no buttons) when the inst section is finished, the installer should auto closed and run the executable file. is it possible? I've wasted a lot of time on this, please help, thank you.
lagzs is offline   Reply With Quote
Old 25th February 2017, 10:52   #2
JasonFriday13
Major Dude
 
JasonFriday13's Avatar
 
Join Date: May 2005
Location: New Zealand
Posts: 847
Custom pages aren't designed for installing files. You can make it work but it requires you to move the progressbar manually for each action you do (time consuming to code this).

The easier method is to just use an InstFiles page and Section/SectionEnd to house all the installer commands, and use SetAutoClose true to close the installer after it completes, and Exec to run an executable.

Doing a banner on that page is a bit trickier, you can write/use a plugin to create the banner space, and use the dimensions/position of the listbox to place it on the page nicely.

"Only a MouseHelmet will save you from a MouseTrap" -Jason Ross (Me)
NSIS 3 POSIX Ninja
Wiki Profile
JasonFriday13 is offline   Reply With Quote
Reply
Go Back   Winamp & SHOUTcast Forums > Developer Center > NSIS Discussion

Tags
custom page

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