Install Options 2 Tutorial: Difference between revisions
m ("remove" -> "removed".) |
|||
(18 intermediate revisions by 9 users not shown) | |||
Line 1: | Line 1: | ||
{{PageAuthor|Joel}} | {{PageAuthor|Joel}} {{PageAuthor|DannyStaple}} | ||
== Tutorial Contents == | |||
* Introduction | |||
** [[IO2_Tutorial_Label|Label]] | |||
** [[IO2_Tutorial_Text_Password|Text & Password]] | |||
** [[IO2_Tutorial_ComboBox_DropList_Listbox|ComboBox, DropList and ListBox]] | |||
** [[IO2_Tutorial_CheckBox_RadioButton|Checkbox and RadioButton]] | |||
** [[IO2_Tutorial_For_FileRequest_DirRequest|Tutorial For FileRequest and DirRequest]] | |||
** [[IO2_Tutorial_Icon_Bitmap|Icon & Bitmap]] | |||
** [[IO2_Tutorial_GroupBox|GroupBox]] | |||
** [[IO2_Tutorial_Link|Link]] | |||
* [[IO2_Tutorial_Example|Example]] | |||
** [[IO2_Tutorial_Select_Page|Make the "Select" Page INI]] | |||
** [[IO2_Tutorial_Confirm_Page|Make the "Confirm" Page INI]] | |||
** [[IO2_Tutorial_Downloader_Script|Script Used For Downloader]] | |||
== Welcome == | |||
Welcome to Install Options (IO) 2 tutorial v2. IO, from NSIS, is a plugin that allows the programmer to add more pages in their installation, see a [http://nsis.sourceforge.net/File:Io2_tutorial_screenshot.png screenshot]. There are a few changes, from the last tutorial: | |||
* Updated external urls. | |||
* Add a good example: [[IO2_Tutorial_Example|Downloader Example]]. | |||
* Also in CHM Format: <attach>Io2-tutorial.zip</attach>. <-- problem, the chm doesn't link well the page when using vista, all the link goes to this kind of url res://ieframe.dll/syntax.htm#mk:@MSITStore:C:\Users\support\Downloads\Io2-tutorial\io2.chm::/example1_2.htm and the result is that there is the error "L’adresse n’est pas valide ". The other chm files works on this OS. Is this file readable ? | |||
* More order. | |||
=== Let's begin, this is what we need: === | |||
# [http://www.nullsoft.com/free/nsis/ NSIS]. The installer that "doesn't suck and isn't huge". Get the latest Development Snapshot in their [http://nsis.sourceforge.net/ SourceForge site]. | |||
# Read the Install Options !! Readme file !!. | |||
# [http://www.users.on.net/johnson/resourcehacker/ Resource Hacker] !! Other resource editors!!. To edit the dialogs and put our controls on it. | |||
# Patience :whistle: . | |||
=== General Notes === | |||
* We'll do a Tweak with Right and Bottom so IO uses are values in the NSIS dialog, remember the values are in dialog units. | |||
* Is there a lot of possibilities that doesn't match the Resource Hacker dialog editor with the final dialog with NSIS. Test and move as many times you want the controls, just re-following the steps. | |||
* This tutorial will show you how to put the controls in a dialog so you get the values. This tutorial will not create a INI file. | |||
=== General Instructions: === | |||
* Select a UI. | |||
* Make a backup file. | |||
* Use that backup file to open with Resource Hacker. | |||
* Once open, look in the dialog 105. That will be our base dialog. | |||
* Clean up all the objects on it, so we have space for our controls. | |||
* Ready? Select you Control tutorial. | |||
If you have questions please use the [http://nsis.sourceforge.net/mediawiki/index.php?title=Talk:Install_Options_2_Tutorial&action=edit Comments Section]. | |||
Visit [http://forums.winamp.com/forumdisplay.php?s=&daysprune=15&forumid=65 NSIS Forum]. | |||
== Acknowledgements == | |||
Nsis and Install Options, as well their logo and related, are from NSIS: | |||
* Original version by Michael Bishop | |||
* DLL version by Nullsoft, Inc. | |||
* DLL version 2 by Amir Szekely, ORTIM, Joost Verburg | |||
* New documentation by Joost Verburg | |||
* Original from Lobo Lunar/Joel | |||
== Links == | == Links == | ||
<attach>Io2-tutorial.zip</attach> | <attach>Io2-tutorial.zip</attach> - If the file does not display properly read the following... | ||
For io2.chm help file to work with windows vista, 7 and some others you will need to extract the file from the archive and then right click on the file and select properties and press the UNBLOCK button. Then the file will display properly. | |||
== Version History == | == Version History == | ||
!! Out of date - maybe deprecate it in favour of the wiki page history later? !! | |||
; 24/Oct/2009 | |||
: Explained how to make the io2.chm file work on vista and others. | |||
; 5/mar/2004 | ; 5/mar/2004 | ||
: Changed URL and server. | : Changed URL and server. | ||
Line 25: | Line 79: | ||
[[Category:Tutorials]] | [[Category:Tutorials]] | ||
[[Category:Install Options 2 Tutorial]] |
Latest revision as of 19:58, 24 October 2009
Author: Joel (talk, contrib) |
Author: DannyStaple (talk, contrib) |
Tutorial Contents
- Introduction
- Example
Welcome
Welcome to Install Options (IO) 2 tutorial v2. IO, from NSIS, is a plugin that allows the programmer to add more pages in their installation, see a screenshot. There are a few changes, from the last tutorial:
- Updated external urls.
- Add a good example: Downloader Example.
- Also in CHM Format: Io2-tutorial.zip (818 KB). <-- problem, the chm doesn't link well the page when using vista, all the link goes to this kind of url res://ieframe.dll/syntax.htm#mk:@MSITStore:C:\Users\support\Downloads\Io2-tutorial\io2.chm::/example1_2.htm and the result is that there is the error "L’adresse n’est pas valide ". The other chm files works on this OS. Is this file readable ?
- More order.
Let's begin, this is what we need:
- NSIS. The installer that "doesn't suck and isn't huge". Get the latest Development Snapshot in their SourceForge site.
- Read the Install Options !! Readme file !!.
- Resource Hacker !! Other resource editors!!. To edit the dialogs and put our controls on it.
- Patience :whistle: .
General Notes
- We'll do a Tweak with Right and Bottom so IO uses are values in the NSIS dialog, remember the values are in dialog units.
- Is there a lot of possibilities that doesn't match the Resource Hacker dialog editor with the final dialog with NSIS. Test and move as many times you want the controls, just re-following the steps.
- This tutorial will show you how to put the controls in a dialog so you get the values. This tutorial will not create a INI file.
General Instructions:
- Select a UI.
- Make a backup file.
- Use that backup file to open with Resource Hacker.
- Once open, look in the dialog 105. That will be our base dialog.
- Clean up all the objects on it, so we have space for our controls.
- Ready? Select you Control tutorial.
If you have questions please use the Comments Section.
Visit NSIS Forum.
Acknowledgements
Nsis and Install Options, as well their logo and related, are from NSIS:
- Original version by Michael Bishop
- DLL version by Nullsoft, Inc.
- DLL version 2 by Amir Szekely, ORTIM, Joost Verburg
- New documentation by Joost Verburg
- Original from Lobo Lunar/Joel
Links
Io2-tutorial.zip (818 KB) - If the file does not display properly read the following... For io2.chm help file to work with windows vista, 7 and some others you will need to extract the file from the archive and then right click on the file and select properties and press the UNBLOCK button. Then the file will display properly.
Version History
!! Out of date - maybe deprecate it in favour of the wiki page history later? !!
- 24/Oct/2009
- Explained how to make the io2.chm file work on vista and others.
- 5/mar/2004
- Changed URL and server.
- 26/jul/2003
- External links updated.
- 26/jul/2003
- Added an Install Options example: Downloader.
- 7/jul/2003
- New web site address...Cool host... for me :P
- 23/jun/2003
- Changed download URL. You can download it in CHM and/or ZIP (html files). Added the "Link" tutorial. (Cool and easy as "Label")
- 14/jun/2003
- Changed download URL.
Thanks and sorry!