Config wizard

Navigation

This pane displays the entries in the config file. You can jump to an entry by clicking on it. The number on the left is the sort order assigned to it.

Name

Enter the name of item to be installed.

Install order

If a unique number is supplied, the items given numbers will be sorted in that order when installing. Items not given numbers will be installed after these items. 999999 is the highest install order value; this will be considered last, but Execute After will still be after this entry.

Description

A description of the program that will be shown in the tool tip.

Unique ID

A unique identifier assigned to this item. One will be generated if blank. After that the user will have to make any changes. This is useful when a version update is made; any dependents will not have to be changed.

Default

This item will be checked when WPI is first started if checked.

Category

Assign a category for this item. To create a new one, choose 'Other...' and a new text box will be displayed. Enter the new name here.

Forced

If checked, this item will be checked by default and will always be installed. It's checkbox in the main window will be disabled so it can not be un-checked.

Configurations

Assign this item to a single configuration or multiple. For each one chosen, it will be added to the string gadget.


Dependent of

If you have a program that only needs to be installed if something else is installed before it, such as a patch, then enter the Unique ID of the program it is dependent on. This entry will not selectable until the program it is dependent on is selected. An application can have multiple dependencies and can be a dependent of another application.

Excludes

If you have two programs, ProgA and ProgB, that will not function properly if both are installed, such as two virus scanners, use this to exclude oe another. Enter the Unique ID of the other program, and in the other program set it to Exclude this program. Mulitple exclusions are possible by using a comma between IDs.

Condition

Conditions can use built-in WPI functions to check if certain things are true or false. For example, if you have a program called AppX.exe (usually located in %CDROM%\Install\AppX\AppX.exe) that you only want to be available for installation if the archive exists on the CD. If the file was removed from the image before it was burned, you would get an error message.

To avoid this error message perform a FileExists() check:
FileExists("%CDROM%\Install\AppX\AppX.exe")

If the result is true, then the item will not be displayed in the main window.

Other possible checks are:

getOSver()=="XP" To be shown only on Windows XP systems. (notice the double equal signs)
getOSver() != "NT" To be excluded on Windows NT systems
RegKeyExists("HKEY_CURRENT_USER\Software\WPI\Theme") Returns true or false.
RegKeyValue("HKEY_CURRENT_USER\Software\WPI\Theme")=="Glossy" Returns value of the entry
DriveExists("C:") Returns true or false
DriveType("D:")=="CDROM" Returns: UNKNOWN, REMOVABLE, FIXED, NETWORK, CDROM, RAMDISK

Multiple tests can be checked for in one line:
(getOSver()=="XP" || getOSver()=="03") && FileExists("%WPIPATH%\\AppX\\AppX.exe")
getOSver()=="XP" && FileExists("%WPIPATH%\\Install\\Hotfixes_Critical\\KB873339.exe") && !FileExists("%windir%\\Debug\\KB873339.log") DriveExists("D:") && DriveType("D:")=="CDROM"

Grayed condition

This is the same as above except the entry will still be visible, but will be in a different color. It can still be selected unless you have checked 'If grayed condition is true, disable the checkbox' in Options -> Installer.

Registry before

If a registry entry is required before a program can be installed, or if you are just doing a registry tweak, this is the location to put it.
%CDROM%\Install\RegFiles\RemoveShortcutArrow.reg

Command 1 - 6

These lines are where you place the actual command lines for the archives to be installed. Put all your command line arguments, switches, and other data here. There can be up to 6 command lines for each program. Example: Command 1 could the the main program, Command 2 could be an update patch.

%CDROM%\Install\AdobeAcrobatReader\AdobeAcrobatReader.exe
%WPIPATH%\WPIapp\LavaSoft\aawsepersonal106.exe /SILENT
%WPIPATH%\XP\XP_UpDates\SP2_UpDates\contextual\KB835221.exe /q /n /z
%CDROM%\Install\DVDShrink.exe /VERYSILENT /NORESTART

The second image to the right of the text gadget is a link to the Universal Silent Switch Finder (USSF). Once you have selected the archive, hit this button and it will show you all the switches for that type of installer package.

NOTE: There can be no command line args in the path.

Registry after

Same as Registry Before, but is executed after the archive(s) have been installed.

Picture file

You can put the picture, or logo, of the program in the tool tip message box. These images must be in the Graphics folder.

Width

Width of the image. Approximately.

Height

Height of the image. Approximately.

Text location

Where is the description test will be placed in relation to the image.

Controls

Two new tool bars are on the way............