Kelsenellenelvian Posted August 25, 2010 Posted August 25, 2010 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!New Theme EditorLoads of new features! Please read the changelog...Known Bugs\Issues!The rewind button DOES NOT work on the media player... (Probably never has)Nero 7 messes with the IE scripting engine and WPI will not work if Nero 7 has been installed or is currently installed. HOWEVER, This link to Nero Cleantool --> HERE has been reported to fix this issue. So if you wish to use WPI and have had Nero7 installed you will want to "clean" your system first.v8.1.0 Updates - Released August 25th, 2010========================================================================~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~* New to the wpi_theme.js in each theme folder is Installer_BackgroundRepeat to specify either a big background image or asmall pattern.Note: In the theme folder in installer.css under .Background, you mustset the actual repeat style.Options: repeat, stretchUsage: Installer_BackgroundRepeat="stretch";* Also new is Theme_BackgroundPosition is set the background imageposition if using an image that is smaller than the screen and not usingstretch option.Note: Must also set: Theme_BackgroundRepeat="no-repeat";Options: top, left, center, right, bottom. and any combonationUsage: Theme_BackgroundPosition="top right";* In installer.css in each theme is a new entry: .WPI_Text.This sets the text color for the title text in the installer windownear the bottom.~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~There is a new theme type: Windows Framed. The first theme to use it isWindowsFramed. Simply put, there is a frame around the main body, 7 pixels wide, 20 pixels in from the edge.In the theme's folder in wpi_theme.jsTheme_FrameColor="#ffffff";sets the frame color. If Frame.png exists, that image will be used.There are no SmallBarT.png and SmallBarB.png images in this theme type.All of the new features below are also in this new type.~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~There are two new options in each theme folder in wpi_theme.js,Theme_MainPanelBGColor="" and Theme_MainPanelBGImageRepeat="".These set the main checkbox panel's background color or image. IfMainPanel.png exists, that image will be used.You now have three independant background images:Wallpaper.png (.jpg) as the main background.SidePanel.pngMainPanel.pngYou now have three independant background colors:Theme_BGColorTheme_SidePanelBGColorTheme_MainPanelBGColorNote: Only applies to Windows and WindowsFramed based themes.~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~* If the three png images for the main control links (Install.png,InstallDown.png, InstallOver.png) do not exist, then just the text will be displayed with no error image. Useful if tight on space or justdon't want any images.Note: Only applies to Windows based themes.* There is a new option in each theme folder in wpi_theme.js,Theme_ShowButtonText, to show or not show the text for the controllinks (Begin Install, Options, About WPI, etc). Setting this option tofalse allows you to make full image text buttons. The drawback of thisis you lose locale support since images can't be translated. So usethis only if you don't need multi-language support.Usage: Theme_ShowButtonText=false;Note: Only applies to Windows based themes.Note: Theme_ShowExitButtonText is still independant of this option.* With the addition of the above feature, there are now seperate imagesfor Defaults, All, and None in all Windows and Accordion based themes.* The large combobox on Options Wizard -> General tab has been removedsince many people seemed to not see it. It has been replaced by a newFeatures tab with all the check boxes laid out in two columns.* An oversite in the wpi_theme.js file has been remedied:Theme_BackgroundRepeat="";It was fine for large background images, but not small patterns thatneeded to be repeated.Options: repeat, no-repeat, repeat-x, repeat-y~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~New to the Config Wizard -> Details tab -> Return code requires reboot.This function allows for a script, or program, to be run multiple timeswith reboots in between. For example, you could have a script thatcreates a new user, exit code for reboot, set user's network settings,exit code for reboot, do some more stuff, exit code 0 for done.If you have the "Repeat command until other code is returned" WPI willrestart at the same command. Else it will continue on to the next item.The reboot code can not be 0 or 1.There are now new warning image and sound files, and a css entry for it with yellow text. The default ones have been copied to all themes.~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~* Added three new options in Options Wizard -> General tab:- Abort installation process if failure occurs- Script or program to execute if failure- Continue next installation where failedVery handy for testing a program or script.* Fixed a bug dealing with stdout redirection and quotes in the path."d:\program.exe" "param1" >c:\app.txtwould fail, but with no quotes it always worked. Works all the timenow.* WPI now reports success/fail properly in the installer. The returncode was not being processed properly. 999 is the "default" fail code,which usually means the file does not exist. 0 is success. 1 usuallymeans a file doesn't exist in a CMD /C or cmd.exe call.ex: cmd /c copy a b Return code 1* Added function {JSCRIPT}=CreateRegKey().Usage: {JSCRIPT}=CreateRegKey("HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\RunOnceEx\001")Sometimes a key needs to be created first, then it's value set. If{JSCRIPT}=WriteRegKey() fails to make and set the key, use thisfunction first, then write the value.* Small update to tips.js which should make the tooltips display alittle faster and smoother.~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~There is a new Theme Wizard to edit themes and a full GUI to edit thetooltips. This interface has been much needed since none of the optionshave been properly documented. Most of the options are self-explanatory, so here are the obscure details:* Appearance behavior: Controls how the tip message is displayed. Somewill stay open when mouse is moved. This allows for internet links tobe used in the message (ie, program's home page).- Visible: Same as Sticky below but no X close button.- Sticky: The tip message will not hide after your mouse goes off the link and it will only be positioned once. A close link is automaticallygenerated and inserted at the top right of the tip message so if you would like to hide the tip message just click it. The properties (color, bgcolor, etc) of the close link are set from the title's properties so the close link and title will have exactly the same style and look as the title. This is designed specially for the need of inserting links in the tip message or any thing that involves using the mouse in tip message's content.- Keep: The tip message will not hide after your mouse goes of the link rather the tip message will move with your mouse around the page. This will produce the same effect as if you didn't specify the mouse out function in the link.* Tip position type: Open the tip relative to the mouse pointer.- Float: The tip message will not move with the mouse rather it will popup at the coordinates of the X Pos and Y Pos entries. And if you scroll down or left the scroll values are added to the X Pos and Y Pos values so the tip message will always float in the same place no matter how much you scroll left or right, in simple words "Static position".- Fixed: The tip message will not move with the mouse rather it will popup at the coordinates of the X Pos and Y Pos entries. And it will not float with the scrollbars.* Background image: Uses Graphics\ToolTipsBgs\ as base folder. Put allyour images in there. The image overrides the background color.-OR- place ToolTipsTitleBg.png and/or ToolTipsBodyBg.png in the theme folder to use that image to override the user specified one.* X pos / Y pos: - If the tip message's position is set as left or right it sets the coordinate of the tip message relative to the position of the mouse.- If the tip message's position is set as float or fixed it sets the coordinate of the tip message relative to the window. You may set positive or negative numbers.* Shadow type: You may apply one of two shadow styles: simple or complex, or none. You must also add a shadow color to enable it.The ColorPicker does not like words for colors (white, red, etc) so usethe hex value whenever possible.Keyboard shortcuts are either F6 or Alt+H.~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~* Updated WriteRegKey() to use the WMI version instead of the DOS-basedReg. This speeds up the startup process by several seconds.* Added to Options Wizard -> General -> combobox -> Disable hot keys.Use this in conjunction with "Show extra buttons" and "Do not show ifstarted from CD" and/or "Do not show if started from USB". This willblock all access to Wizards. Enable when you make your final DVD.Use with care.~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~Updated WPI and the Installer to handle custom audio files.You can now place custom audio files in your theme's folder to overridethe one's specified in Options Wizard -> Audio tab. WPI will check ifthe files exist in the Theme folder and use those in place of thespecified ones.The checkboxes in the Audio tab still must be checked for the audio toplay.The audio files must be named:SndWPIStart.wavSndInstallStart.wavSndInstallSuccess.wavSndInstallWarning.wavSndInstallFail.wavSndInstallFinish.wavSndWPIExit.wavThe audio files can either be wave (.wav) or midi (.mid) files.Keep them as short as possible. The installer will not wait for thesample to finish playing before moving on to the next item.~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~* Fixed a small issue with the audio player. If no files are specifiedthe Install.m3u file was not cleared.* Alper Catak (ZEUS__) created some new themes: 7Fresh, 7Matrix, 7Pure,7StarWars, and 7Transformers. He also created 7Matrix, Black, Pure,LightGray, and CobaltSteel skin styles.* Black_Kel skin style is gone. Use new Black style.~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~It has come to my attention that it is difficult for people to specifycertain operations, like file copy, when building one config for both32 and 64 bit systems. Here is a simple example on how to copy a filebased on your cpu bits and cpu type:{JSCRIPT}=if (getBits()==32) RunCmd('%wpipath%\Install\CCleaner.exe /s',false,true){JSCRIPT}=if (getBits()==32) RunCmd('cmd /c copy /y "C:\WPI\ChangeLog.txt" "C:\"',false,true){JSCRIPT}=if (getBits()==64) RunCmd('cmd /c copy /y "%wpipath%\Install\MyFile.txt" "%ProgramFiles(x86)%\"',false,true){JSCRIPT}=if (getArch()=="AMD64") RunCmd('cmd /c copy /y "%wpipath%\Install\CCleaner\Password.ini" "%ProgramFiles%\CCleaner\"',false,true)Using RunCmd() is the key. There are 2 possible options:RunCmd('your command',OutputWindow,Wait)Use single quotes around your command so don't interfere with doublequotes in your paths.OutputWindow: true or false. Show the cmd output window or not.Wait: true or false. Wait until the command is finished or not.All of the functions in the Dependecies can be used with {JSCRIPT}.~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~* Updated version extraction method.~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~New to the Installer window is a combobox under the Pause/Abort buttonsto specify what to do when WPI is finished installing your programs.There are 3 options: "none", Restart, and Shut Down.If you have "Restart Computer" specified in Options Wizard -> Tools tab,then that option will be reflected here. If you don't, then "none" isselected. (no restart or shutdown)With this combobox you can specify, or change, what to do on the fly.Selecting "none" will cancel the restart or shut down.The time delay and "Do not load desktop" options are still used.~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~* When hit Abort in the Installer window, any restart or shut down iscancelled.* Added new option to Options Wizard -> General tab -> Options combobox:"Do not show extra buttons if started from USB drive". This has same functionality as the original "...if started from CD Drive.". This is needed because it is possible to still allow writing to a USB drive.* Updated how drives are checked for how WPI was started.Notes and ExtrasSuggested 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 dont 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 dont 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 ISO Creator program included in the tools folder to make your CD w\WPI bootable again._____________________________________________________________________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 ListerMakeISO.exeCleanup.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.http://www.wpiw.net/downloads/Post_$OEM$.rarContents of the Post %OEM% archive:cmdlines.txtRunWPI.inf_______________________________________________________________________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.http://www.wpiw.net/downloads/$OEM$.rarcmdlines.txtRunWPI.exe_______________________________________________________________________Here is mritters RUN_ WPI solution!http://www.wpiw.net/downloads/$OEM$_RunWPI.cmd.rarCleanUpWPI.cmdcmdlines.txtRunOnceEx.cmdRunWPI.cmdUse is as the same as the one above..._______________________________________________________________________This is for use with all versions of Windows Vista, Server 2008 and Windows 7!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.________________________________________________________[url="https://www.paypal.com/cgi-bin/webscr?cmd=_xclick&business=kelsenellenelvian%40gmail%2ecom&no_shipping=0&no_note=1&tax=0 Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.