Jump to content

WPI v7.5.0

Recommended Posts


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.5.0 Updates - Released April 30th, 2009
* Fixed bug that when starting with no config file, the first entry
would cause an error in the grid.

* Finally got the xGrid and xWindows to work together to show the
alternating colors for each line.

* Fixed bug when add new Config entry it always asked if want to update
all UIDs even though it is brand new.

* Added function isUserName()
Usage: isUserName("Joe User")
Returns: true or false

* Added function isComputerName()
Usage: isComputerName("Accounting")
Returns: true or false

* Added function isUserDomain()
Usage: isUserDomain("Workgroup")
Returns: true or false
Note: If not on a real network, domain will be the same as computer name.

* Added function isLogOnServer()
Usage: isLogOnServer("\\Server1")
Returns: true or false


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 press the TAB button 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.


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.



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!


Contents of the %OEM%-Zune archive:




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


Contents of the %OEM%-Embedded archive:




Here is mritters RUN_ WPI solution!






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

Thanks for the new release men! :)

Could you please update all the themes with the 2 new images for the installer (Install_Fail & Install_Success)? Otherwise they are not found. :P

Edited by Dynaletik
Link to comment
Share on other sites

Could you please update my javascript function with this new one?

function fileVersionGreaterThan(fileVersion1,fileVersion2)
var split1 = fileVersion1.toString().split("."), split2 = fileVersion2.toString().split(".");
for (var i = 0; i < split1.length; i++)
var split2item = parseInt(split2[i]);
if ((parseInt(split1[i]) > (isNaN(split2item)?0:split2item)))
return true;
return false;

this one works also when you compare numbers and empty version numbers without throwing errors.

Edited by Francesco
Link to comment
Share on other sites

Is it a wanted behaviour that when you enable the "Load desktop before installation starts" WPI doesn't start installing if the desktop is already loaded? I have to restart WPI or reboot windows to make it work. I use WPI both unattended-ly after XP ends installing and also starts it to install additionals applications later so I need that option enabled.

Link to comment
Share on other sites

Yes, that is how it is supposed to work. That is a function meant to be used from DVD after Windows has been installed. Useful for registry tweaks that need the desktop to be loaded or certain user to be logged in.

Link to comment
Share on other sites


Sorry for being such a noob, but I am trying to figure out how to make slipstreamed CD's.

I am using nLite and doing a lot of reading. I have downloaded and extracted WPI so I can add my own apps to the CD, but can't seem to figure out how to install WPI. Even reading the tutorial is says to just install it, and even shows a screen-shot of the install prompt, but there is no install file anywhere that I can see.

Please help me pull my head out from between my butt cheeks.

Thanks a ton!

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...