Kelsenellenelvian Posted October 10, 2006 Share Posted October 10, 2006 (edited) 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 that have been configured into WPI.Here is the 5.5 changelog:v5.5 Updates - Released October 9, 2006-------------------------------------------------------------------------------* Cured the alignment problem for Previous/Next buttons on the main window.This also cured the alignment at the top.* If 'Install by category' is checked, the category name is now shown in theinstall window above each categories' items.* Fixed a bug dealing with 'Sort Order' value not being changed in theNavigation pane.* Added 'Clone' to Config wizard to duplicate the current entry. * The manual is now opened to the section you are at: Main, Options (to theactive tab), or Config. * Commented out all alert() messages dealing with the install log file. Theywould pause the installation process until user intervention.* Added variable %root% to get WPI's parent folder.* Lawrenca wrote code to add keyboard shortcuts, I updated it to:Alt+Enter: Begin installCtrl+A: Select AllCtrl+D: Select DefaultCtrl+N: Select NoneAlt+O: Toggle Options WizardAlt+C: Toggle Config WizardAlt+S: Toggle Show SourceAlt+M: Toggle ManualAlt+W: Toggle About WPIAlt+B: Toggle Show Extra ButtonsAlt+B: Show list of global variablesAlt+T: Toggle Show Tool TipsESC: Close current wizard or Exit WPIF1: Toggle ManualF2: Toggle Options WizardF3: Toggle Config WizardF11: Toggle Show SourceF12: Toggle About WPI* Added to Options -> Interface 'Use USSF in silent mode' to either open theUSSF window or silently append the switches.* Added to Options -> Installer 'Re-open WPI after installation is complete'.This can be used if launching stand-alone programs, like FireFox, from a USBkey. Or to check the status of cond and gcond conditions after installingsome core programs.* Fixed the way the Config wizard file requester and USSF gadgets are toggled.* Added DriveType() to check what kind of drive a letter is.DriveType("D:")Returns one of these values:UNKNOWN, REMOVABLE, FIXED, NETWORK, CDROM, RAMDISK* Added DriveExists() for cond and gcond statements.DriveExists("E:")Returns true or false.* Installer now resumes before the desktop is displayed, but still after theuser logon.* Put back "Show extra buttons" options in Options -> Interface. Also added"Do not show if started from CD/DVD" to allow showing when run from harddrivebut automatically hide them when started from a CD/DVD.* Fixed a bug dealing with wpipath.===============================================================================Notes and ExtrasSuggested disk folder layout:With the above folder layout all your config entries should read like:%wpipath%\Install\Blah.exeI have seperated the tools out from the main archive. You can download the tools here:Tools archive.Contents of the tools archive:WPI Config ListerCDSwitchautorun.inf <-- Updated and fixedwpi.ico New icon thanks to WolfX2TaskKillS.exe from sadicqTaskKillS InstructionsHere is a quick start package that will set your windows disk up to use WPI with runonceex.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.Contents of the %OEM% archive:Media Center Style XP Theme (Will Optimize the look of the installer window)cmdlines.txtrunonceex.cmd1194 .png images for your pleasure to use in your tooltips or whatever!PNG Collection.Here is a small tutorial on how to add an app to WPI!Ok this is a sample (Very simple) configuration for Windows Defender Beta 2 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 Place the desired app in the install folder. (In this case WindowsDefender.msi)#2 Run WPI.hta and choose “Config”#3 Choose at the very top above the config section “Add”#4 Enter in the name section “Windows Defender” ß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 section gets automatically configured 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 Command 1 section browse to the installation package you want to have installed. You will get "%CDROM%\WPI\Install\WindowsDefender.msi"#9 Add the necessary switches for the program to run silently i.e. %wpipath%\Install\WindowsDefender.msi /qn (The new U.S.S.F. feature can assist you in finding the switches for most common apps)#10 Select the Save button and then the Exit button and you have now configured your first app! Edited October 18, 2006 by Kelsenellenelvian Link to comment Share on other sites More sharing options...
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
Already have an account? Sign in here.Sign In Now