This commit was manufactured by cvs2svn to create tag 'WX_2_2_9'.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/tags/WX_2_2_9@13364 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Bryan Petty
2002-01-04 16:15:08 +00:00
parent dc3d889d0b
commit f7f6abe24d
2324 changed files with 375095 additions and 121526 deletions

View File

@@ -0,0 +1,9 @@
# Sample ini file for the last page
#
closeold
grabfile,install.bmp
loadwxr,finished.wxr
setbutton,101,exit
setbutton,103,exit
disable,button3
remove,install.bmp

View File

@@ -0,0 +1,25 @@
static char *dialog1 = "dialog(name = 'dialog1',\
style = 'wxRAISED_BORDER | wxCAPTION | wxTHICK_FRAME | wxSYSTEM_MENU',\
title = 'Installing wxInstall 0.1',\
id = 100,\
x = 10, y = 10, width = 264, height = 179,\
background_colour = 'D4D0C8',\
use_dialog_units = 1,\
use_system_defaults = 0,\
font = [8, 'wxSWISS', 'wxNORMAL', 'wxNORMAL', 0, 'MS Shell Dlg'],\
control = [101, wxButton, 'Exit Installer', '0', 'button2', 5, 160, 60, 14, '',\
[8, 'wxSWISS', 'wxNORMAL', 'wxNORMAL', 0, 'MS Shell Dlg']],\
control = [102, wxButton, '<< Back', 'wxNO_BORDER', 'button3', 165, 160, 44, 14, '',\
[8, 'wxSWISS', 'wxNORMAL', 'wxNORMAL', 0, 'MS Shell Dlg']],\
control = [103, wxButton, 'Finish', '0', 'button4', 209, 160, 44, 14, '',\
[8, 'wxSWISS', 'wxNORMAL', 'wxNORMAL', 0, 'MS Shell Dlg']],\
control = [104, wxStaticBitmap, '', 'wxNO_BORDER', 'static5', 9, 8, 60, 144, 'bitmap9',\
[8, 'wxSWISS', 'wxNORMAL', 'wxNORMAL', 0, 'MS Shell Dlg']],\
control = [105, wxStaticText, 'wxInstall Installation finished.', '0', 'statictext10', 81, 12, 164, 10, '',\
[8, 'wxSWISS', 'wxNORMAL', 'wxNORMAL', 0, 'MS Shell Dlg']],\
control = [6006, wxStaticText, 'Thanks for trying wxInstall. Press finish to exit.', '0', 'statictext6', 80, 42, 168, 6, '',\
[8, 'wxSWISS', 'wxNORMAL', 'wxNORMAL', 0, 'MS Shell Dlg']]).";
static char *bitmap9 = "bitmap(name = 'bitmap9',\
bitmap = ['install.bmp', wxBITMAP_TYPE_BMP, 'ANY']).";

Binary file not shown.

After

Width:  |  Height:  |  Size: 14 KiB

View File

@@ -0,0 +1,292 @@
/* XPM */
static char * inst[] = {
/* width height ncolors chars_per_pixel */
"100 275 10 1",
/* colors */
" c #AE3E4A",
"! c #C2C2C2",
"# c #828282",
"$ c #FEFEFE",
"% c #020202",
"& c #020282",
"' c #0202FE",
"( c #FE0202",
") c #02FE02",
"* c #028202",
/* pixels */
" ",
" ",
" ",
" ",
" ",
" ",
" ",
" ",
" ",
" ",
" ",
" ",
" ",
" ",
" ",
" ",
" ",
" ",
" ",
" ",
" ",
" ",
" ",
" ",
" ",
" ",
" ",
" ",
" ",
" ",
" ",
" ",
" ",
" ",
" ",
" ",
" ",
" ",
" ",
" ",
" ",
" $$$$ ",
" $$$$$!!!!$$ ",
" $$$$!!!!!!!!!!!$$ ",
" $$$$$!!!!!!!!!!!!!!!!!$$ ",
" $$ $$$$$!!!!!!!!!!!!!!!!!!!!!!!!$$ ",
" $$!!$$% $$$$$!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!$$ ",
" $$!!!!!!$$!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!$$ ",
" $$!!!!!!!!!!$$!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!$$ ",
" $!!!!!!!!!!!!!!$$!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!$$ ",
" $$!!!!!!!!!!!!!!!!!$$!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!$$ ",
" $!$!!!!!!!!!!!!!!!!!!$$!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!$% ",
" $!!$$!!!!!!!!!!!!!!!!!!$$!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!#% ",
" $!!!!$$!!!!!!!!!!!!!!!!!!$$!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!###% ",
" $!!!!!!$$!!!!!!!!!!!!!!!!!!$$!!!!!!!!!!!!!!!!!!!!!!!!!!!!#####% ",
" $!!!!!!!!$$!!!!!!!!!!!!!!!!!!$$!!!!!!!!!!!!!!!!!!!!!!!!#######% ",
" $!!!!!!!!!!$$!!!!!!!!!!!!!!!!!!$$!!!!!!!!!!!!!!!!!!!!#########% ",
" $!!!!!!!!!!!!$$!!!!!!!!!!!!!!!!!!$!!!!!!!!!!!!!!!!!###########% ",
" $!!!!!!!!!!!!!!$$!!!!!!!!!!!!!!!!!$$!!!!!!!!!!!!!#############% ",
" $!!!##!!!!!!!!!!!$$!!!!!!!!!!!!!!!!!$$!!!!!!!!!###############% ",
" $!!!#'##!!!!!!!!!!!$$!!!!!!!!!!!!!!!!!$$!!!!!#################% ",
" $!!!#&&'##!!!!!!!!!!!$$!!!!!!!!!!!!!!!!!$$!###################% ",
" $!!!#''&&'##!!!!!!!!!!!$$!!!!!!!!!!!!!!!!!%###################% ",
" $!!!#'&''&&'##!!!!!!!!!!!$$!!!!!!!!!!!!!!#%###################% ",
" $!!!#''&&'''&'##!!!!!!!!!!!$$!!!!!!!!!!###%###################% ",
" $!!!#&&'''&''&&&##!!!!!!!!!!!$$!!!!!!#####%###################% ",
" $!!!#''&&''&&'''&'##!!!!!!!!!!!$$!!#######%###################% ",
" $!!!#&&''&&'''&&''&&##!!!!!!!!!!!#########%###################% ",
" $!!!#&'&&''&&'''&&''&'##!!!!!!!!!#########%###################% ",
" $!!!#&&''&&''&&&''&'''&&##!!!!!!!#########%###################% ",
" $!!!#''&&&'&##''&'''&&''&'##!!!!!#########%###################% ",
" $!!!#&&&'&&'####''&&''&&''&&##!!!#########%###################% ",
" $!!!#&'&&''&######''&'''&&''&$!!!#########%###################% ",
" $!!!#&&''&&'#!######''&&''&''$!!!#########%##################% ",
" $!!!#&'&&&'&#!!!#####&''&'''&$!!!#########%#################%% ",
" $!!!#&&&'&&'#!!%!!####&&''&&'$!!!#########%################%#% ",
" $!!!#&'&&''&#!!!%%!!##''&&''&$!!!#########%###############%##% ",
" $!!!#&&&'&&&#!&&!!!%!#&&''&&'$!!!#########%##############%###% ",
" $!!!#&&&&&'&#!&&&&!!!#''&&''&$!!!#########%#############%####% ",
" $!!!#&&&'&&&#!!!&&&&!#&&'&&&'$!!!#########%############%#####% ",
" $!!!#&'&&&&&##!!!!&&!#'&&&''&$!!!#########%###########%######% ",
" $!!!#&&&'&&&'&##!!!!!#&&''&&'$!!!#########%##########%#######% ",
" $!!!#&&&&&'&&&&&##!!!#''&&''&$!!!#########%#########%########% ",
" $!!!$$&&'&&&'&&&'&##!#&&'&&&'$!!!#########%########%#########% ",
" $!!!!!$$&&&&&&'&&&&&##'&&&''&$!!!#########%#######%##########% ",
" $!!!!!!!$$&&&&&&'&&&'&&&''&&'$!!!#########%######%###########% ",
" $!!!!!!!!!$$&&&&&&'&&&&&&&'&&$!!!#########%#####%############% ",
" $#!!!!!!!!!!$$&&'&&&'&&&'&&&'$!!!#########%####%###########%% ",
" %%#!!!!!!!!!!!$$&&&&&&'&&&&&&$!!!#########%###%##########%% ",
" %##!!!!!!!!!!!$$&&'&&&'&&&'$!!!#########%##%#########%% ",
" %%##!!!!!!!!!!!$$&&&&&&'&&$!!!#########%#%########%% ",
" %%##!!!!!!!!!!!$$&&'&&&'$!!!#########%%#######%% ",
" $$!!%%##!!!!!!!!!!!$$&&&&&$!!!#########%######%% ",
" $$!!!!!!%%##!!!!!!!!!!!$$&&'$!!!#########%####%%$ ",
" $$!!!!!!!!!!%%##!!!!!!!!!!!$$&$!!!#########%##%%#%%$$ ",
" $$!!!!!!!!!!!!$#%%##!!!!!!!!!!!&$!!!#########%%%#####%!$$ ",
" $$!!!!!!!!!!!!!$####%%##!!!!!!))!!!!!!#########%########%!!$$ ",
" $$!!!!!!!!!!!!!!$#######%%##!!!!**!!!!!!#########%#########%!!!$$ ",
" $!$$!!!!!!!!!!!!$!!!!!####%%##!!!!!!!!!!#########%#########%!!!!!$$ ",
" $!!!$$!!!!!!!!!!$!!!!!!!!###%%##!!!!!!!!#########%#########%!!!!!!!$$ ",
" $!!!!!$$!!!!!!!!$!!!!!!!!!!###%%##!!!!!!#########%#########%!!!!!!!!!$$ ",
" $!!!!!!!$$!!!!!!$!!!!!!!!!!!!###%%##!!!!########%%#########%!!!!!!!!!!!$% ",
" $!!!!!!!!!$$!!!!!$!!!!!!!!!!!!!###%%##!!######%%##########%!!!!!!!!!!###% ",
" $!!!!!!!!!!!$$!!!%$!!!!!!!!!!!!!####%%######%%############%!!!!!!!!#####% ",
" $!!!))!!!!!!!!$!!!%$!!!!!!!!!!!!!!####%%##%%#############%!!!!!!!#######% ",
" $!!!))!!!!!!!!$!!!!%$$!!!!!!!!!!!!!#####%%##############%!!!!!!!!#######% ",
" $!!!**!!!!!!!!!$$!!!%%$$!!!!!!!!!!!!##################%%!!!!!!!#########% ",
" $!!!!!!!!!!!!!!!!$$!!!%%$$$!!!!!!!!!!###############%%!!!!!!!###########% ",
" $!!!!!!!!!!!!!!!!!!$$!!!%%%$$$$$!!!!!!###########%%%!!!!!!!#############% ",
" $!!!!!!!!!!!!!!!!!!!!$$!!!!%%%%%$$$$$$######%%%%%!!!!!!!!###########%%##% ",
" $!!!!!!!!!!!!!!!!!!!!!!$$!!!!!!!%%%%%%%%%%%%!!!!!!!!!!!###########%%%%##% ",
" $!!!!!!!!!!!!!!!!!!!!!!!!$$!!!!!!!!!!!!!!!!!!!!!!!!!!#############%%#%##% ",
" $#!!!!!!!!!!!!!!!!!!!!!!!!!$$!!!!!!!!!!!!!!!!!!!!!!###############%%#%##% ",
" %%##!!!!!!!!!!!!!!!!!!!!!!!!!$$!!!!!!!!!!!!!!!!!!#################%%%%##% ",
" %%##!!!!!!!!!!!!!!!!!!!!!!!!!$$!!!!!!!!!!!!!!###################%#%%##% ",
" %%##!!!!!!!!!!!!!!!##!!!!!!!!$$!!!!!!!!!!#####################%%%%##% ",
" %%##!!!!!!!!!!!!!$$##!!!!!!!!$$!!!!!!!######################%%####% ",
" %%##!!!!!!!!!!!!!$$##!!!!!!!!$$!!!#############################%% ",
" %%##!!!!!!!!!!!!!$$##!!!!!!!!$#############################%% ",
" %%#!!!!!!!!!!!!!!$$##!!!!!!!###########################%% ",
" %##!!!!!!!!!!!!!!$$##!!!!!#########################%% ",
" %%##!!!!!!!!!!!!!!$$!!!!!#######################%% ",
" %%##!!!!!!!!!!!!!!!!!!!#####################%% ",
" %%##!!!!!!!!!!!!!!!!!###################%% ",
" %%##!!!!!!!!!!!!!!!#################%% ",
" %%##!!!!!!!!!!!!!###############%% ",
" %%##!!!!!!!!!!!#############%% ",
" %%##!!!!!!!!!###########%% ",
" %%##!!!!!!!#########%% ",
" %%##!!!!!#######%% ",
" %%##!!!#####%% ",
" %%##!####% ",
" %%###%% ",
" %%% ",
" ",
" ",
" ",
" ",
" ",
" $$ ",
" $$$$$$ $$ ",
" $$!!(($$$$ $$$$$$ ",
" $$!!!!!!(($$$$ $$!!(($$$$ ",
" $$!!!!!!!!!!(($$$$ $$!!!!!!(($$$$ ",
" $$!!!!!!!!!$$!!!(($$$ $!!!!!!!!!!(($$$$ ",
" $$!!###!!!!!$##$!!!!(($$$ $$!!!!!!!!$$!!!(($$$$ ",
" $!!#######!!!!$$!!!!!!!!!#% $$!!##!!!!!$##$!!!!(($$$$ ",
" %##!!######$$!!!!!!!!!!!##% $!!######!!!!$$!!!!!!!!!!#% ",
" %%##!!%#$$$$$$!!!!!!!!#%% %##!!######!!!!!!!!!!!!!##% ",
" %%##$$%!!($$$$!!!!##% %%##!###%%##!!!!!!!!!##%% ",
" $$!!!!!!(($$$$##%% %%#!!%%##!#!!!!!!##%% ",
" $$!!!!!!!!!!(($$$$ %##!!%%##!!!!##%% ",
" $$!!!!!!!!!$$!!!(($$$$ %%##%%!!!!##%% ",
" $$!!###!!!!!$##$!!!!(($$$ %%##!!%##% ",
" $!!#######!!!!$$!!!!!!!!!!% %%##%% ",
" %##!!#######!!!!!!!!!!!!!#% $$ %% ",
" %%##!!###%%##!!!!!!!!!##% $$$$$$ ",
" %%##!!%##!!#!!!!!!##%% $$!!(($$$$ ",
" %%##!!%##%!!!!##%% $$!!!!!!(($$$ ",
" %%##%%!!!!##%% $$!!!!!!!!!!(($$$ ",
" %%##!!%##% $$!!!!!!!!!$$!!!($$$$ ",
" %%##%% $$!!###!!!!!$##$!!!(($$$$ ",
" %% $!!#######!!!!$$!!!!!!!!!#% ",
" %##!!#######!!!!!!!!!!!!##% ",
" %%##!!###%%##!!!!!!!!##%% ",
" %%##!!%##!!#!!!!!##%% ",
" %%##!!%##%!!!!#%% ",
" %%##%%!!!!##% ",
" %%##!!%##% ",
" %%##%% ",
" %% ",
" ",
" ",
" ",
" ",
" ",
" ",
" ",
" ",
" ",
" ",
" ",
" ",
" ",
" ",
" ",
" ",
" ",
" ",
" ",
" ",
" ",
" ",
" ",
" ",
" ",
" ",
" ",
" ",
" ",
" ",
" ",
" ",
" ",
" ",
" ",
" ",
" ",
" ",
" ",
" ",
" ",
" ",
" ",
" ",
" ",
" ",
" ",
" ",
" ",
" ",
" ",
" ",
" ",
" ",
" ",
" ",
" ",
" ",
" ",
" ",
" ",
" ",
" ",
" ",
" ",
" ",
" ",
" ",
" ",
" ",
" ",
" ",
" ",
" ",
" ",
" ",
" ",
" ",
" ",
" ",
" ",
" ",
" ",
" ",
" ",
" ",
" ",
" ",
" ",
" ",
" ",
" ",
" ",
" ",
" ",
" ",
" ",
" ",
" ",
" ",
" ",
" ",
" ",
" "
};

View File

@@ -0,0 +1,26 @@
wxWindows Library Licence, Version 3
====================================
Copyright (C) 1998 Julian Smart, Robert Roebling [, ...]
Everyone is permitted to copy and distribute verbatim copies of this licence document, but changing it is not allowed.
WXWINDOWS LIBRARY LICENCE
TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
This library is free software; you can redistribute it and/or modify it under the terms of the GNU Library General Public Licence as published by the Free Software Foundation; either version 2 of the Licence, or (at your option) any later version.
This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Library General Public Licence for more details.
You should have received a copy of the GNU Library General Public Licence along with this software, usually in a file named COPYING.LIB. If not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA.
EXCEPTION NOTICE
1. As a special exception, the copyright holders of this library give permission for additional uses of the text contained in this release of the library as licenced under the wxWindows Library Licence, applying either version 3 of the Licence, or (at your option) any later version of the Licence as published by the copyright holders of version 3 of the Licence document.
2. The exception is that you may use, copy, link, modify and distribute under the user's own terms, binary object code versions of works based on the Library.
3. If you copy code from files distributed under the terms of the GNU General Public Licence or the GNU Library General Public Licence into a copy of this library, as this licence permits, the exception does not apply to the code that you add in this way. To avoid misleading anyone as to the status of such modified files, you must delete this exception notice from such code and/or adjust the licensing conditions notice accordingly.
4. If you write modifications of your own for this library, it is your choice whether to permit this exception to apply to your modifications. If you do not wish that, you must delete the exception notice from such code and/or adjust the licensing conditions notice accordingly.

View File

@@ -0,0 +1,5 @@
# ini file that gets called when the license isn't checked.
#
message,"Please accept the license or exit."
setbutton,101,exit
setbutton,103,page2.ini

View File

@@ -0,0 +1,12 @@
# Sample ini file for page one
#
closeold
grabfile,install.bmp
loadwxr,page1.wxr
setbutton,101,exit
setbutton,103,page2.ini
disable,button3
grabfile,license.txt
mleview,textctrl11,license.txt
remove,license.txt
remove,install.bmp

View File

@@ -0,0 +1,27 @@
static char *dialog1 = "dialog(name = 'dialog1',\
style = 'wxRAISED_BORDER | wxCAPTION | wxTHICK_FRAME | wxSYSTEM_MENU',\
title = 'Installing wxInstall 0.1',\
id = 100,\
x = 10, y = 10, width = 264, height = 179,\
background_colour = 'D4D0C8',\
use_dialog_units = 1,\
use_system_defaults = 0,\
font = [8, 'wxSWISS', 'wxNORMAL', 'wxNORMAL', 0, 'MS Shell Dlg'],\
control = [101, wxButton, 'Exit Installer', '0', 'button2', 5, 160, 60, 14, '',\
[8, 'wxSWISS', 'wxNORMAL', 'wxNORMAL', 0, 'MS Shell Dlg']],\
control = [102, wxButton, '<< Back', 'wxNO_BORDER', 'button3', 165, 160, 44, 14, '',\
[8, 'wxSWISS', 'wxNORMAL', 'wxNORMAL', 0, 'MS Shell Dlg']],\
control = [103, wxButton, 'Next >>', '0', 'button4', 209, 160, 44, 14, '',\
[8, 'wxSWISS', 'wxNORMAL', 'wxNORMAL', 0, 'MS Shell Dlg']],\
control = [104, wxStaticBitmap, '', 'wxNO_BORDER', 'static5', 9, 8, 60, 144, 'bitmap9',\
[8, 'wxSWISS', 'wxNORMAL', 'wxNORMAL', 0, 'MS Shell Dlg']],\
control = [105, wxStaticText, 'Welcome to wxInstall 0.1', '0', 'statictext10', 81, 12, 164, 10, '',\
[8, 'wxSWISS', 'wxNORMAL', 'wxNORMAL', 0, 'MS Shell Dlg']],\
control = [106, wxTextCtrl, '', 'wxTE_READONLY | wxTE_MULTILINE', 'textctrl11', 80, 32, 168, 99, '',\
[8, 'wxSWISS', 'wxNORMAL', 'wxNORMAL', 0, 'MS Shell Dlg']],\
control = [6001, wxCheckBox, 'I accept the terms of this license.', '0', 'checkbox1', 84, 140, 157, 10, 0,\
[8, 'wxSWISS', 'wxNORMAL', 'wxNORMAL', 0, 'MS Shell Dlg']]).";
static char *bitmap9 = "bitmap(name = 'bitmap9',\
bitmap = ['install.bmp', wxBITMAP_TYPE_BMP, 'ANY']).";

View File

@@ -0,0 +1,11 @@
# Sample ini file for page two
#
getcheck,checkbox1,nocheck.ini
closeold
grabfile,install.bmp
loadwxr,page2.wxr
settext,textctrl1
setbutton,101,exit
setbutton,102,page1.ini
setbutton,103,page3.ini
remove,install.bmp

View File

@@ -0,0 +1,27 @@
static char *dialog1 = "dialog(name = 'dialog1',\
style = 'wxRAISED_BORDER | wxCAPTION | wxTHICK_FRAME | wxSYSTEM_MENU',\
title = 'Installing wxInstall 0.1',\
id = 100,\
x = 10, y = 10, width = 264, height = 179,\
background_colour = 'D4D0C8',\
use_dialog_units = 1,\
use_system_defaults = 0,\
font = [8, 'wxSWISS', 'wxNORMAL', 'wxNORMAL', 0, 'MS Shell Dlg'],\
control = [101, wxButton, 'Exit Installer', '0', 'button2', 5, 160, 60, 14, '',\
[8, 'wxSWISS', 'wxNORMAL', 'wxNORMAL', 0, 'MS Shell Dlg']],\
control = [102, wxButton, '<< Back', 'wxNO_BORDER', 'button3', 165, 160, 44, 14, '',\
[8, 'wxSWISS', 'wxNORMAL', 'wxNORMAL', 0, 'MS Shell Dlg']],\
control = [103, wxButton, 'Next >>', '0', 'button4', 209, 160, 44, 14, '',\
[8, 'wxSWISS', 'wxNORMAL', 'wxNORMAL', 0, 'MS Shell Dlg']],\
control = [104, wxStaticBitmap, '', 'wxNO_BORDER', 'static5', 9, 8, 60, 144, 'bitmap9',\
[8, 'wxSWISS', 'wxNORMAL', 'wxNORMAL', 0, 'MS Shell Dlg']],\
control = [105, wxStaticText, 'Choose installation directory', '0', 'statictext10', 81, 12, 164, 10, '',\
[8, 'wxSWISS', 'wxNORMAL', 'wxNORMAL', 0, 'MS Shell Dlg']],\
control = [106, wxTextCtrl, '', 'wxTE_READONLY | wxTE_MULTILINE', 'textctrl11', 80, 48, 168, 99, '',\
[8, 'wxSWISS', 'wxNORMAL', 'wxNORMAL', 0, 'MS Shell Dlg']],\
control = [6002, wxTextCtrl, '', '0', 'textctrl1', 80, 28, 168, 13, '',\
[8, 'wxSWISS', 'wxNORMAL', 'wxNORMAL', 0, 'MS Shell Dlg']]).";
static char *bitmap9 = "bitmap(name = 'bitmap9',\
bitmap = ['install.bmp', wxBITMAP_TYPE_BMP, 'ANY']).";

View File

@@ -0,0 +1,11 @@
# Sample ini file for page three
#
gettext,textctrl1
closeold
grabfile,install.bmp
loadwxr,page3.wxr
setbutton,101,exit
setbutton,102,page2.ini
setbutton,103,page4.ini
setbutton,6004,readme.ini
remove,install.bmp

View File

@@ -0,0 +1,29 @@
static char *dialog1 = "dialog(name = 'dialog1',\
style = 'wxRAISED_BORDER | wxCAPTION | wxTHICK_FRAME | wxSYSTEM_MENU',\
title = 'Installing wxInstall 0.1',\
id = 100,\
x = 10, y = 10, width = 264, height = 179,\
background_colour = 'D4D0C8',\
use_dialog_units = 1,\
use_system_defaults = 0,\
font = [8, 'wxSWISS', 'wxNORMAL', 'wxNORMAL', 0, 'MS Shell Dlg'],\
control = [101, wxButton, 'Exit Installer', '0', 'button2', 5, 160, 60, 14, '',\
[8, 'wxSWISS', 'wxNORMAL', 'wxNORMAL', 0, 'MS Shell Dlg']],\
control = [102, wxButton, '<< Back', 'wxNO_BORDER', 'button3', 165, 160, 44, 14, '',\
[8, 'wxSWISS', 'wxNORMAL', 'wxNORMAL', 0, 'MS Shell Dlg']],\
control = [103, wxButton, 'Start', '0', 'button4', 209, 160, 44, 14, '',\
[8, 'wxSWISS', 'wxNORMAL', 'wxNORMAL', 0, 'MS Shell Dlg']],\
control = [104, wxStaticBitmap, '', 'wxNO_BORDER', 'static5', 9, 8, 60, 144, 'bitmap9',\
[8, 'wxSWISS', 'wxNORMAL', 'wxNORMAL', 0, 'MS Shell Dlg']],\
control = [105, wxStaticText, 'Ready to begin installation.', '0', 'statictext10', 81, 12, 164, 10, '',\
[8, 'wxSWISS', 'wxNORMAL', 'wxNORMAL', 0, 'MS Shell Dlg']],\
control = [6002, wxStaticText, 'Thanks for trying wxInstall. Feel free to contact me at', '0', 'statictext2', 80, 27, 172, 10, '',\
[8, 'wxSWISS', 'wxNORMAL', 'wxNORMAL', 0]],\
control = [6003, wxStaticText, 'dbsoft@technologist.com with comments questions or bug reports.', '0', 'statictext3', 80, 36, 181, 6, '',\
[8, 'wxSWISS', 'wxNORMAL', 'wxNORMAL', 0, 'MS Shell Dlg']],\
control = [6004, wxButton, 'View Readme', '0', 'button5', 84, 81, 162, 15, '',\
[8, 'wxSWISS', 'wxNORMAL', 'wxNORMAL', 0, 'MS Shell Dlg']]).";
static char *bitmap9 = "bitmap(name = 'bitmap9',\
bitmap = ['install.bmp', wxBITMAP_TYPE_BMP, 'ANY']).";

View File

@@ -0,0 +1,11 @@
# Sample ini file for page four
#
remove,readme.txt
closeold
grabfile,install.bmp
loadwxr,page4.wxr
setbutton,101,exit
disable,button3
disable,button4
remove,install.bmp
startinst,gauge5,finished.ini

View File

@@ -0,0 +1,25 @@
static char *dialog1 = "dialog(name = 'dialog1',\
style = 'wxRAISED_BORDER | wxCAPTION | wxTHICK_FRAME | wxSYSTEM_MENU',\
title = 'Installing wxInstall 0.1',\
id = 100,\
x = 10, y = 10, width = 264, height = 179,\
background_colour = 'D4D0C8',\
use_dialog_units = 1,\
use_system_defaults = 0,\
font = [8, 'wxSWISS', 'wxNORMAL', 'wxNORMAL', 0, 'MS Shell Dlg'],\
control = [101, wxButton, 'Exit Installer', '0', 'button2', 5, 160, 60, 14, '',\
[8, 'wxSWISS', 'wxNORMAL', 'wxNORMAL', 0, 'MS Shell Dlg']],\
control = [102, wxButton, '<< Back', 'wxNO_BORDER', 'button3', 165, 160, 44, 14, '',\
[8, 'wxSWISS', 'wxNORMAL', 'wxNORMAL', 0, 'MS Shell Dlg']],\
control = [103, wxButton, 'Next >>', '0', 'button4', 209, 160, 44, 14, '',\
[8, 'wxSWISS', 'wxNORMAL', 'wxNORMAL', 0, 'MS Shell Dlg']],\
control = [104, wxStaticBitmap, '', 'wxNO_BORDER', 'static5', 9, 8, 60, 144, 'bitmap9',\
[8, 'wxSWISS', 'wxNORMAL', 'wxNORMAL', 0, 'MS Shell Dlg']],\
control = [105, wxStaticText, 'Please wait while installing wxInstall...', '0', 'statictext10', 81, 12, 164, 10, '',\
[8, 'wxSWISS', 'wxNORMAL', 'wxNORMAL', 0, 'MS Shell Dlg']],\
control = [6005, wxGauge, '', 'wxGA_HORIZONTAL', 'gauge5', 85, 58, 157, 15, 0, 100,\
[8, 'wxSWISS', 'wxNORMAL', 'wxNORMAL', 0, 'MS Shell Dlg']]).";
static char *bitmap9 = "bitmap(name = 'bitmap9',\
bitmap = ['install.bmp', wxBITMAP_TYPE_BMP, 'ANY']).";

View File

@@ -0,0 +1,8 @@
# Sample ini file for the readme
#
grabfile,readme.txt
system,"notepad readme.txt"
setbutton,101,exit
setbutton,102,page2.ini
setbutton,103,page4.ini
setbutton,6004,readme.ini

View File

@@ -0,0 +1,25 @@
Ok, this is the first release of wxInstall, my wxWindows port of my
OS/2 installation program. Everything is under the wxWindows license
except for the Infozip code.
Current Status:
Archive support: ACE and ZIP.
Tested platforms: Windows 2000, FreeBSD 4.0 (GTK)
Todo:
I need to write a directory browser, since the wxDirCtrl won't work.
I need to add Project support to the wxInstall builder.
Add platform specific code for modifying the startup environment.
--- There is some code for OS/2 (currently unsupported) and Windows ---
Bugs:
XPM's crash the installer on Windows.
ZIP archives crash on Windows.
Thanks!
You can reach me at dbsoft@technologist.com

View File

@@ -0,0 +1,62 @@
# Name of the application being installed
#
INSTALLER_APPLICATION=wxInstall
#
# Version of the application being installed
#
INSTALLER_VERSION=0.1
#
# What the installer says in the title bar
#
INSTALLER_TITLE=wxInstall Installer
#
# Default install path
#
INSTALLER_PATH=c:\wxInstall
#
# Bitmap Width to avoid sizing problems
#
INSTALLER_BITMAP_WIDTH=100
#
# Bitmap Height to avoid sizing problems
#
INSTALLER_BITMAP_HEIGHT=275
#
# Make WPS Program: Title ,Program name, Icon, Destination, ID, setup
#
INSTALLER_PROGRAM=wxInstall,%USERPATH%\wxib.exe,,wxInstall,,,DialogEd,%USERPATH%\dialoged.exe,,wxInstall,,
#
# Make WPS Folder: Folder title, Icon, Destination, ID, setup
#
INSTALLER_FOLDER=wxInstall,,,,
#
# Make WPS Folder: Shadow title, Reference, Destination
#
INSTALLER_SHADOW=
#
# Make a generic object: Title, Class, Destination, ID, setup
#
INSTALLER_OBJECT=
#
# Add SETs to the CONFIG.SYS: Variable, Value, flag
# flag = 1 if the installer should overwrite existing SETs
# flag = 2 if the installer should only create it if it is nonexistant
#
INSTALLER_SETS=
#
# Add System Variables (LIBPATH, PATH, ETC): SysVariable, Value
#
INSTALLER_SYSVAR=LIBPATH,%INSTALLPATH%
#
# Adds a line to the Config.Sys replacing an expandables.
#
INSTALLER_SYSLINE=
#
# Number of packages included in this self extractor.
#
INSTALLER_PACKAGE_COUNT=2
#
# List of packages.
#
INSTALLER_PACKAGE=misc.ace,Misc. Files
INSTALLER_PACKAGE=wxinst.ace,wxInstall version 0.1