To personalize your installations with VB
Source of the program of installation being supplied,
Here is a version modified to cheer up your installations
The program of VB6's installation being little monothunders here is what I added him(her):
( To see it parallele the FAQ on the use of the pack of déploiment)
To change the gradation
To add message in the bottom
To make apparaitre MessageBox
To make apparaitre images
To modify the position of fenetres
To confirm the installation of the acces in data
-
To change the blue gradation
You have it have a good laugh to see this eternal degraded blue!
You can now invent the most mad gradations (with my program degrade)
And to post(show) them during the installation!
Syntax
To add a section [ BACKGROUND]
AREA contains the number of zone of the gradation (of 1 has 20)
RED contains the red constituent of every hurt separated with commas (AREA+1 Values)
GREEN contains constituent green of every hurt separated with commas
BLUE contains constituent blue of every hurt separated with commas
LIGHT DEFINI the luminosite of every zone separated with commas
Defined EXPRESS the sense(direction) of the dégragé value is of 1 by default for vertical, 0 for horizontal
TEXT colour of the label of title
SHADOW colour of the shadow of the label of title
Example
What gives:
-
To add messages in the bottom
It permetra to explain during the installation that your program is super brilliant in brief the best
This can this(they) make has various moments during the installation
Syntax
In a section STEPxx or in one of section xx % to add the following key
LABEL = index, caption, pip, left, red, green, blue, FontSize, Fat, Italic
Example
[ STEP01] LABEL=0,
Welcome in my program d'installation\nPersonnalisable in volonté\n
http://fred.just.free.fr/,500,50,255,255,0,18,1,1
\n allows return the line.
To make apparaitre MessageBox
Allows to punctuate the install with your own messages
To welcome the beginning or for the other thing(matter)...
Syntax
In a section STEPxx or in one of section xx % to add the following key
ALERT = drawn up with the message, code icone, titles of the window
I have concervé the syntax of the MsgBox command(order):
Code icone corresponds so to constants VB: 16=vbCritical , 48=vbExclamation or 64=vbInformation
The other values shall walk(work) but are without intéret.
Example
[ STEP01] ALERT=BIENVENUE
in the program of installation of indispensable CHM WORKSHOP\NL'OUTIL
To create file CHM, 48, CHM WORKSHOP INSTALL
\n allows return the line.
What gives:
To make apparaitre images in the bottom
To place arrests of screen of your application during the installation
And to show all the possibilities in images!
Syntax
In a section STEPxx or in one of section xx % to add the following key
EMBELLISHED WITH IMAGES = index, name of the file embellishes with images, pip, left
Files images have to be in the CAB
To see the FAQ: How to add files in the CAB
Example
[ STEP02] IMAGE=0,
route.jpg, 100 %, 80 % IMAGE=1,
navette.jpg, 50,95 %
What gives:
To modify the position of windows
The centred majority of fenetres apparaisent and it you bother to place images,
No problems one can make them apparaitre or one wants!
Syntax
To add a section corresponding in the name of the form which you want to move:
FrmWelcome sheet of acceuil
FrmBegin deuxieme sheet
FrmMessage sheet without bar of title or the different messages apparaisent
FrmGroup sheet of creation of the group of program
FrmCopy sheet containing ProgressBar
In the section the possible keys are:
CENTER=1 by defaut 0 to modify in case of error the sheet remains centred
PIP = 50 (corresponds has 50 Pixels)
LEFT=50% (correspond has 50 % of the screen)
TITLE=NOUVEAU titles of the fenetre
Example
[ FrmWelcome ]
CENTER=0
TOP=50
Left=50%
TITLE=MODIFICATION by fred.just@free.fr
The fenetre frmWelcome in 50 pixel will place down from the screen and in the middle by changing title.
For deplacer frmCopy during the installation one can use sections xx %
To confirm the installation of the acces in data
The multiple tests of installations are too long bus mdac_typ.exe settle down has every time.
To add these lines and a question apparaitra before the launch:
Syntax
In a new section [ ADO]
To add ASK = 1 to ask the question of installation
TITLE = title of her(it) limps with dialogue
MSG = message of her(it) limps
Example
[ ADO]
ASK=1
TITLE=QUESTION...
MSG=VOULEZ to install(settle) you the acces in data?
Sections xx %
They allow to modify installation during the copy of files when percentage depasse:
0 %
10 %
20 %
...
90 %
In all these places one can put in it:
FORECOLOR allows to modify the colour of ProgressBar
PIP deplace the fenetre frmCopy
LEFT DEPLACE the fenetre frmCopy
TITLE changes the title of the fenetre frmCopy
More all the possibilities of Sections STEPxx
Sections STEPxx
They allow to modify installation has the place xx:
STEP01 before the appearance of frmWelcome
STEP02 before the appearance of frmBegin
STEP03 before the appearance of frmGroup
STEP04 before the installation of mdac_typ.exe if necesaire
STEP05 before the appearance of frmCopy
STEP06 in the end
In all these places one can put in it:
ALERT
LABEL
IMAGE
REMARK: I did not touch the fonctionement of the program,
There will be so no more BUG during the distribution of your applications
To consult in that case the FAQ on the problems of installation with VB
To download an example of installation realized with it Setup1.exe
Attention it(he) will walk(work) only on posts(post offices) already having all the DLL VB 6 bus
For a reason of place I did not include them in the CAB