Jump to content

WPI 7.2.0

Recommended Posts

Happy 5th Anniversary!!!


Windows Post-Install Wizard (WPI for short) is a hypertext application designed for giving users choice. While Windows XP offers many ways of customizing the setup process out of the box, its major drawback is the lack of being able to select which applications an end user may install. In the past, end users and administrators needed to either download the files manually, or create overly complex scripts that could only be used once. WPI allows you to create one image, which can then be custom configured, and optionally, automated, so that end users can install any applications.

WPI is a simple to use automation program for the choice and installation of multiple programs, tweaks and scripts. No longer will you need a dozen CD's or more when doing a fresh Installation. No longer will you need multiple files when you are servicing another PC. With Windows Post-Install Wizard all that you will need is 1 or 2 CD\DVD's to fully install your PC with all of your apps, scripts, registry files or tweaks. Instead of having to re-download those apps like adobe reader, flash or updates to programs you can have them all on one disk. With WPI you can have all of them all on one disk and then have a nice interface for selecting which apps to install and after configured properly WPI will install all of them without any needed input from you. WPI also and is commonly used added to your windows installation disks. This way you can automate the complete process of Windows and program installations.

With your typical setup of WPI you have your OS and all of the apps, tweaks and such on one disk. After windows installs, WPI kicks in and you are given a selection of everything you have configured WPI with, then you can select the ones you want or simply let the timer run out and your default apps will install.

Highlights of the newest version!

v7.2.0 Updates - Released November 28th, 2008

* Renamed Corp_WindowsXP theme to CorporateIT.

* If check "Insert condition values or examples" checkbox, Conditions
and Grayed Conditions will fill in values based on your computer or an
example string will be entered to show how to use a function.

* Updated pngbehavior.htc. It is now only loaded when needed. Some
themes now require IE7 or higher.

* Added a new < meta> tag for themes that require a minimum version of
Internet Explorer. It must be on line 4.
< meta content="IE7">
Example: mritter_euDock requires IE7+
Note: don't put a space before meta.

* Conditions tab in Information window now shows some details based on
your computer.

* Updated the Commands, Conditions/Grayed Conditions combo boxes to full

* Added Hardware tab to Information window (Alt+G).

* Added Change Log tab to About window.

* Added function getBaseBoardManufacturer()
Usage: getBaseBoardManufacturer()=="ASUSTeK Computer Inc."
Returns: Name of motherboard manufacturer

* Added function getBaseBoardModel()
Usage: getBaseBoardModel()=="K8VSEDX"
Returns: Model of motherboard

* Added function getVideoControllerID()
Usage: getVideoControllerID()=="PCI\VEN_.........."
Returns: PnP Device ID. See Alt+G Hardware tab

* Added function getSoundDeviceID()
Usage: getSoundDeviceID()=="PCI\VEN_.........."
Returns: PnP Device ID. See Alt+G Hardware tab

Added function getNetworkAdapterID()
Usage: getNetworkAdapterID()=="PCI\VEN_.........."
Returns: PnP Device ID. See Alt+G Hardware tab

Added function getWirelessNetworkAdapterID()
Usage: getWirelessNetworkAdapterID()=="PCI\VEN_.........."
Returns: PnP Device ID. See Alt+G Hardware tab

Added function getModemID()
Usage: getModemID()=="PCI\VEN_.........."
Returns: PnP Device ID. See Alt+G Hardware tab

* Added function getSystemEnclosureType()
Usage: getSystemEnclosureType()=="Laptop"
Returns: Laptop or Desktop
Note: This cannot be checked by WMI, so it is based on whether or not a
battery exists and a PCMCIAController exists. Not perfect by any means.

* Added function getBIOSManufacturer()
Usage: getBIOSManufacturer()=="Phoenix"
Returns: Name of BIOS manufacturer

* Added function getBIOSVersion()
Usage: getBIOSVersion()=="PTLTD - 6040000"
Returns: Short string BIOS version

* Added function getSMBIOSVersion()
Usage: getSMBIOSVersion()=="2.3"
Returns: Short string BIOS version

* Added function getBIOSCaption()
Usage: getBIOSCaption()=="BIOS Version 73.08"
Returns: Long string BIOS version

* Added function getSysManufacturer()
Usage: getSysManufacturer()=="Gateway"
Returns: Gateway, Dell,..., To Be Filled By O.E.M.

* Added function getSysModel()
Usage: getSysModel()=="MX3231"
Returns: a string with model or To Be Filled By O.E.M.

* Added function getSysPCType()
Usage: getSysPCType()=="Desktop"
Returns: Unspecified, Desktop, Mobile, Workstation, Enterprise Server,
Small Office and Home Office (SOHO) Server, Appliance PC, Performance
Server, Maximum.
NOTE: Mobile does NOT refer to laptops.

* Added function getSysType()
Usage: getSysType()=="x64-based PC"
Returns: x64-based PC, X86-based PC, MIPS-based PC, Alpha-based PC,
Power PC, SH-x PC, StrongARM PC, 64-bit Intel PC, 64-bit Alpha PC,
Unknown, X86-Nec98 PC
NOTE: The 'x' is not always lower-case.

* Default description now set to program's name so tooltips won't show

* Added a filter to the Config Wizard to only display the items in the
selected category. More options to come later.

* Took out the default categories to prevent errors with the new filter.

* Added a prompt to confirm overwriting existing Options/Configs files.

* Updated the CD/DVD drive check again. Should be no more pop-ups
asking to insert a disc 4 times.

* Updated Options -> General -> Categories Sort Order to use grid.

* Added a check so can't try to save to a CD/DVD.

* {EXTRACT} is now handled internally for more control.

* Updated Options -> Audio Player to use grid.

* When select a DOS command in the command drop-down box it will replace
the current command. There can only be one DOS call per line, so it
assumes you want to change it.

* Updated the command string gadget to handle input better and reflect
it in the grid.

* Got the buttons to disable properly and not shrink/grow.

* Added TerminateProcess() to internally kill a process so no longer
need to rely on tskill or taskkill. This is done in Config wizard.
Usage: {TASKKILL} notepad.exe

* Extensively updated the Config Wizard:
* Your config file will be updated automatically at first run.
* Added a grid for navigation. It is sortable and uses keyboard
* Tabbed the wizard to save vertical space.
* Now has unlimited commands per entry.
* Registry Before/After are now eliminated. They are now placed as
first and last commands.
* To do any other reg edits, pick RegEdit from combo box.
* Updated the built-in commands to be encased in { }
This will allow for easier expansion in the future.
* More error checking capable in installer.
* {TASKKILL} now handles Vista and XP/2000 family properly.
* USSF updated to handle only 1 command line.
* Quotes will be added when possible when updating.
* Main command string gadget updated immensely.

* Updated all the possible alert() call with my new Alert() that uses
the built-in windows for a better look and customization, more buttons
possible, self-closing after a set time, etc.

* Your chosen options and config files are now remembered and loaded the
next time WPI is started. Since it is saved in a reg key, this only
works from the desktop. Otherwise you still have to use command line
args to specify other files.

* Fixed a bug with "Default install path" not being honored.

* Fixed some tiny bugs in Options Wizard.

* Occasionally USSF would erase the command line. It seems to always be
at the first run. Now WPI runs it when first open Config Wizard to get
it "initialized" properly. No guarantee it will fix the problem.

* Updated About WPI window.

* Made Install Order gadget only accept numbers.

* Removed tabs skin Vista Default Dark. Use DHX Black instead.

* Added 2 new buttons skins, DHX Black and DHX Blue.

* Added 2 new grids skins, DHX Blue (used to be light) and DHX Black.

* Added 12 menu skins for Corp_WindowsXP only.

* Added 4 toolbar skins for Corp_WindowsXP only.

* Added 3 new tab skins: Glassy Blue, DHX Blue, and DHX Black.

* Created a new layout for the Config Wizard with a new grid and tab
system. Not usable on 800x600 resolution.

* Moved several options around in the Options Wizard.

* Fixed a few bugs when saving a totally blank config.

* New option: Options -> General -> Verify before installing if started
from harddrive. If checked, will verify that you really want to do an
install process if started from harddrive. Will not ask, even if
checked, if started from cd/dvd. Prevent accidental installs when
editting config.

* When hit Abort in the installer, there is now an option, Open WPI,
that will abort the installer and re-open WPI.

* Improved the way the installer aborts when user halts the install
process. It used to finish all the commands in the current item. Now
it stops immediately.

* Some virus scanners were complaining that USSF is a virus. It is not.
It has been recompiled without UPX compression and can be decompiled for

* Added a check so can't switch to/from Options/Config editors directly
without closing the editor first.

* Changed the way path variables are handled a little. %root% or
%root%\ and %cdrom% or %cdrom%\ are acceptable now.

* Fixed Execute Before/After to properly set paths (%wpipath%, %root%)
and quotes.

* The shell window is now not shown (flashed) for DOS commands and
RegEdit entries.

* Took out XML error message when doing Internet check at startup.

* Updated code for all possible resolutions for ResChange.

* By pure chance, midiboy needed to turn on script debugging in IE to
send me a bug report. By doing this, it cured the problem of Office
causing WPI to do an internal restart. Now WPI checks 2 reg keys and
turns debugging on when started, closes itself, re-launches itself to
let reg keys take affect, and back off if that was the original state
when exits. This may also cure other mysterious anomolies people have

NOTE: The above only works on the desktop. When starting at RunOnceEx
you must change the reg keys before WPI is started. The scripts and
launchers are provided on the forum.

* Custom fonts placed in the theme folder will now be installed
automatically. Any number of fonts may be added, but they must occur
between the theme version line and <title> line:
<meta content="WPI Theme 7.0+">
<meta font="myfontname.ttf">
<title>Windows Post-Install Wizard</title>

* Fixed 2 bugs dealing with random theme selection. Windows theme can
now be deleted.

* Added Shuffle to audio player.

* Added to installer window: Count up timer; current item number of
total number of items (5/25); computer name and user name.

* Cleaned up the reboot code that had some code that was no longer
needed, changed the way the log file was written, and several other
small updates. This should prevent the installer from hanging on the
"Could not open rb_config.js" error message.

* Fixed a bug in the installer that would show the category line again
after a reboot.

* Now using JavaScript to install fonts internally. In the Tools
folder, Fonts/fontinst.exe and Fonts/fontinst.inf have been removed and
the Fonts folder moved to Graphics/Fonts. All the fonts in this folder
will be installed if Tools -> Install fonts is checked.

* getOSver() returns 08 for Server 2008.

* Updated getOSver(), getOSeditionID() and getSPver() checks by using

* Updated the cdrom check by using WMI.

* Added function getFirewallProduct()
Usage: getFirewallProduct()==""
Returns: name of firewall software/hardware registered with Windows
Security Center.

* Added function getAntiVirusProduct()
Usage: getAntiVirusProduct()=="AVG Anti-Virus Free"
Returns: name of antivirus software registered with Windows Security

* Got the grid colors to alternate properly and highlight the item that
is being hovered over.


Notes and Extras

Suggested disk folder layout:


With the above folder layout all your config entries should read like:

["%wpipath%\Install\Blah.exe" /switch]

Here is a small tutorial on how to add an app to WPI!

Ok this is a sample (Very simple) configuration for CCleaner (A.K.A Crap Cleaner)

This assumes you have all of the WPI files either in the WPI folder at the root of your Windows cd or all of the WPI folders (Common, Graphics, WPIScripts, Tools, Install and Themes) and the file WPI.hta at the root of your cd.

Remember this is just the most basic and required entries for a program!

1. Download the app and place it in the WPI\Install Folder. (CCleaner.exe in this example)

2. Run WPI.hta and click on the “Config” button\Icon area.

3. Go to the very top area above the config section and click on the button that says “Add”

4. Enter in the name section “CCleaner” No quotes! Then click on any other section of the config area to activate the rest of the wizard.

5. You will notice the Unique ID (UID) section gets automatically filled in for you.

6. All apps are selected to be installed by default right from the start so if you don’t want it selected by default you must uncheck this box.

7. Choose a category for your app to be displayed in. If you want the app to be displayed in a category you don’t see simply chose other and a box will appear that will allow the entry of you choice.

8. In the commands tab click on "Add" at the controls area just right of the command line pane and then the the little folder icon and browse to your folder that contains the app, preferably the .\WPI\Install folder then select the CCleaner installer, this will place the appropriate path in the command line.

9. Add the necessary switch(s) for the program to run silently. For CCleaner the switch is /S so you would have your command line looks like so = "%wpipath%\Install\CCleaner.exe" /S (This can be easily done for most standard apps by simply clicking on the USSF button on the far right of the command line.) Other switches for apps that USSF cannot identify you can try looking at the forum section here = MSFN Application Installs section,

10. Select the Save and then the Exit buttons and you have now configured your first app!

Afterwards you configure WPI to run with your CD using whichever method you choose. We suggest using one of the pre compiled and nicely provided $oem$ (Source folder if your are using Vista or Server 2008) folders that can be found in the downloads section. Then you can use an app like nLite, vLite, CDImageGUI or the Makeiso* program included in the tools folder to make your CD w\WPI bootable again.

* MakeIso.exe = Adds make bootable .iso to the right click menu of folders. It is a silent installer so DO NOT click on it 50x a simple double click is all that is need to install it. It can be uninstalled from the add\remove programs menu! Just go to the source folder (The one that contains I386 and WPI) and right click then select Make Bootable ISO...


I have seperated the tools out from the main archive. You can download the tools here:

Tools archive.

Contents of the tools archive:

WPI Config Lister

CDSwitch <-- 3 Custom themes for CDSwitch


autorun.inf <-- Updated and fixed

WPI.ico New icon thanks to WolfX2

TaskKillS.exe from sadicq <-- TaskKillS Instructions

Cleanup.exe (Deletes ALL icons from the desktop)

Reboot.exe (Dialog box that will reboot in 60 sec unless cancel is pressed)


Here is a quick start package that will set your windows disk up to use WPI after the desktop loads.

This is for use with all versions of Windows 2000, XP and 2003!

To make use of this archive all you need to do is unRAR it and place the %oem% folder beside the I386 and WPI folders.

Post $OEM$ Folder (The forum is messing up this link so copy www.wpiw.net/downloads/Post_$oem$.rar )

Contents of the Post %OEM% archive:




Here is a quick start package that will set your windows disk up to use WPI with runonceex.

This is for use with all versions of Windows 2000, XP and 2003!

To make use of this archive all you need to do is unRAR it and place the %oem% folder beside the I386 and WPI folders.

$OEM$ Folder (The forum is messing up this link so copy www.wpiw.net/downloads/$oem$.rar )

Contents of the %OEM% archive:


RunWPI.exe (Sets the runonceex and MCE themeing entries used for WPI)


An $OEM%\WPI folder that sets up your WPI for RunOnceEx with the official Zune Microsoft Theme!

$OEM$-Zune Folder (The forum is messing up this link so copy www.wpiw.net/downloads/$oem$-zune.rar )

Contents of the %OEM%-Zune archive:



Use is as the same as the one above...


This is for use with all versions of Windows Vista and Server 2008!

To make use of this archive all you need to do is unRAR it and place the Sources folder at the root of your CD.

Sources Folder.

Contents of the Sources archive:

setupcomplete.cmd (This needs to be several folders deep so I preset the folders for you)


Over 2000 .png images for your pleasure to use in your tooltips or whatever!

PNG Collection.


Themes are now hosted on WPI.net!!!

Please remember and donate!

Edited by Kelsenellenelvian
Link to comment
Share on other sites

@mritter - I love the new config wizard, and I'm sure unlimited commands will come in handy soon as some of my installs are up to 9 commands already. Excelent work to everyone involved.

Edited by eethball
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Recently Browsing   0 members

    • No registered users viewing this page.

  • Create New...