Kelsenellenelvian Posted August 1, 2008 Share Posted August 1, 2008 (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 7.0 changelog:* Now cleans up after itself after an aborted installation and a restart andnot continue installation.* Fixed the long loading time of large config.js files.* Added Style tab to the Options wizard. Can select from 11 different Windowsskins, 5 Tabs skins, 7 Sliders skins, 32 Butons skins, 17 cursors (mousepointers), 11 Progress bars, 12 installer backgrounds, 6 installer logos.More to come......this is just a starting point.* Localized more strings. (Dynaletik)* Added line at end of installer log:Number of failed installations: 24You can quick look here to see if all went well or had errors.* Streamlined all of the themes. All css data is now loaded in WPI.hta.* Took out Extra Width and Extra Height gadgets for installer window. It is afixed size now. Can be put back if people want it.* Took out 16 redundant images from every theme.* Removed optionbg from all themes. It was a redundant picture.* Moved all common images to either the common\imgs or the graphics folders.* Added JSCRIPT=TimedWaitForDelet(delay,file,secs) to wait for a file to bedeleted. This can be used to check if an installer temp file has been deleted.delay=num secs before start checking, give the installer time to start.JSCRIPT=TimedWaitForDelete(10,"C:\Program Files\WinRAR\WinRAR.exe",10)* Added JSCRIPT=TimedWaitForFile(file,secs) to truly wait for an installer tofinish. This can be used to check for the existance of the program's icon orexe before doing a reg tweak. (deadbug had original idea/code)JSCRIPT=TimedWaitForFile("C:\Program Files\WinRAR\WinRAR.exe",10)* Added JSCRIPT= to commands to execute a JavaScript function. (deadbug)JSCRIPT=alert("Opens a window")JSCRIPT=WriteRegKey("HKEY_CURRENT_USER\\Software\\WPI\\WPI_Rocks",1,"REG_DWORD")* Fixed bug dealing with RestartComputer not working if a %reboot% was done.* Fixed bug dealing with no default log file reg key being written.* About WPI is now opened in an internal window like below.* The manual is now opened in an internal window like below.* The Alt+G information page now opens in an internal window. This window canbe moved and minimized when working in Config wizard to see all the functionsand how to use them.* Added Corp_WindowsXP theme. This was a seperate entity called WPI Corppratebut decided to merge the two together. This theme is meant to look just like aregular Windows window with menus and tool bar. No fancy graphics. Meant tobe used in a business setting where crazy graphics are not needed. Be sure touse "Show window border" in Options -> Window.There is still work to do in Config wizard......stay tuned for updates.* Fixed several bugs, updated a ton of code, streamlined code, etc.......* Updated the volume slider. Skinnable.* Took out 2 checks for CDROM. If can't find WPI.hta on an actual CD/DVD drivethen cddrv (%cdrom%) defaults to %wpipath%.* Added function isInstalled().Usage: isInstalled("Adobe Reader 8.1.2")Returns: true or falseWARNING: This could take from 5 to 30 seconds for each check! Does not work on Windows 2003.* Added function ConnectedToInternet().Usage: ConnectedToInternet()Returns: true or false* Added function getmshtaBits().Usage: getmshtaBits()==64Returns: 64 or 32* Updated the buttons to CSS buttons. Can be customizable in the Buttonsfolder in Common/imgs/Buttons. Change name in the theme style sheet. Size is important!* Added function getOSeditionID().Usage: getOSeditionID()=="HomePremium"Returns: HomePremium, Ultimate,... or "Not found"* Updated the installer: * Whole new look and feel. More professional looking. * List of commands is scrollable * Each item is broken down by rega, commands, regb * No longer using images for success/failed. * Window and list are wider * Current command line shown at top of list boxThe list will add the latest item to the bottom and scroll it in to view. Ifmove scroll bar up to see previous entries, it will stay there. Scroll backdown to bottom to resume scrolling.* Fixed a bug when creating a new Options file it would error at SortOrderline. (t4user)* Fixed a bug in the paths not inhereting their parent path properly.* Fixed a "bug" in the OSLang code. Now defaults to ENU if none specified.* Added function getOSlocale().Usage: getOSlocale()=="English - United States"Returns: English - United States* Start to use: getFileVersion() and getDriveLetters(), lower-case getinstead of GetFileVersion() and GetDriveLetters(). Both will still work.* Added function getTotalRAM().Usage: getTotalRAM()>512Returns: 1024 (megabytes)* Added function getFreeRAM().Usage: getFreeRAM()>300Returns: 512 (megabytes)* Added function getFileType().Usage: getFileType("C:\test.txt")=="PNG Image"Returns: "" or type, ie, "Text Document"* Added function getFolderSize().Usage: getFolderSize("C:\windows\")>10000Returns: number of bytes or -1 if not exists* Added function getFileSize().Usage: getFileSize("C:\test.txt")>100Returns: number of bytes or -1 if not exists* Added function FolderExists().Usage: FolderExists("C:\test\")Returns: true or false* Added function DriveAvailableSpace().Usage: DriveAvailableSpace("C:")>75 or DriveAvailableSpace("C:\")>75Returns: 150 (gigabytes) or -1 if not exists* Added function DriveTotalSize().Usage: DriveTotalSize("C:")>=100 or DriveTotalSize("C:\")>=100Returns: 150 (gigabytes) or -1 if not exists* Added function DriveFileSystem().Usage: DriveFileSystem("C:")=="NTFS" or DriveFileSystem("C:\")=="NTFS"Returns: FAT16, FAT32, NTFS, or null.* Added function DriveShareName().Usage: DriveShareName("X:") or DriveShareName("X:\")Returns: null or a name like "\\server\share".Must be a mapped network drive.* Added function DriveVolumeName().Usage: DriveVolumeName("C:") or DriveVolumeName("C:\")Returns: "" or a name. C:\ is usually blank.* t4user translated the manual into French. Thanks!* Dynaletik translated the manual into German. Thanks!* Added "Window Coordinates" to Window tab which allows: * Custom window width and height * Open main window at specified x y coordinates * Open installer window at specified x y coordinatesPick "Custom..." from drop-down box to enabled text gadgets.* Added command line args: theme=Evil_Vista no spaces! resolution=1024 the width 800 = 800x600 12802 = 1280x720 1024 = 1024x768 12803 = 1280x768 1280 = 1280x1024 12804 = 1280x800 1400 = 1400x1050 1440 = 1440x900 1600 = 1600x1200 16002 = 1600x1024 1920 = 1920x1400 1680 = 1680x1050 19202 = 1920x1080* Fixed bug in Config wizard not opening Other... text box for category.* Fixed a minor bug picking which language for the manual.* Added function getComSpec().Returns: C:\WINDOWS\system32\cmd.exeor other appropriate path.* Added function getArchMHz().Usage: getArchMHz()>1800Returns: 2002 (2GHz)Return: 1496 (1.5GHz)* Added function getNumProcs().Usage: getNumProcs()>1Returns 1, 2, 4, etc.* Added function getArchIdentifier().Returns: x86 Family 15 Model 4 Stepping 8Returns: x86 Family 6 Model 13 Stepping 8* Added function getArchNameStrings().Returns: AMD Athlon(tm) 64 Processor 3200+Returns: Intel® Celeron® M processor 1.50GHz* Added function getArchName().Usage: getArchName()=="AuthenticAMD"Returns: AuthenticAMD, GenuineIntel, etc.* Added function getBits().Usage: getBits()==64Returns: 32 or 64* Added function getArch6432().Usage: getArch6432()=="AMD64"Returns: AMD64 or NOT_DEFINED.* Added function getArch().Usage: getArch()=="AMD64"Returns: x86, AMD64, or IA64 (Itanium).* Added to Tools tab: Time stamp log file. The log file can now time stamped:WPI_Log_2008.06.02_22.36.34.txtfor testing purposes. Keep an eye on the log path, it can fill up quickly!* The log file command lines are now 1 line for easier reading.* Updated Installer.hta to deal with css better.* Updated "About WPI" code to auto-update.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. Choose the button at the very top above the config section 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 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. Also you can decide if you want this app to be a Forced Install or not. #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 click on the little folder icon and browse to the WPI\Install folder and select the CCleaner.exe installer, this will place the appropriate path in the commandline. #9. Add the necessary switches for the program to run silently i.e. %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 commandline.) #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 ListerCDSwitch <-- 3 Custom themes for CDSwitchMakeISO.exeautorun.inf <-- Updated and fixedWPI.ico New icon thanks to WolfX2TaskKillS.exe from sadicq <-- TaskKillS InstructionsCleanup.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: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.$OEM$ Folder (The forum is messing up this link so copy www.wpiw.net/downloads/$oem$.rar )Contents of the %OEM% archive:cmdlines.txtRunWPI.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:cmdlines.txtRunWPI_Zune.exeUse 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)________________________________________________________1978 .png images for your pleasure to use in your tooltips or whatever!PNG Collection.________________________________________________________Themes are now hosted on WPI.net!!!Theme page!Please remember and donate! Edited August 1, 2008 by Kelsenellenelvian Link to comment Share on other sites More sharing options...
Dynaletik Posted August 1, 2008 Share Posted August 1, 2008 Yeah!Rocks more than ever! Link to comment Share on other sites More sharing options...
anonymous_user Posted August 1, 2008 Share Posted August 1, 2008 After running WPI and rebooting I get this:http://img27.picoodle.com/img/img27/3/8/1/...edm_a0ef9ef.pngI tried clicking the second blue button but it just popped up a message dialog with no text and two blank buttons.So what the heck is it? Link to comment Share on other sites More sharing options...
mritter Posted August 2, 2008 Share Posted August 2, 2008 Looks like WPI launched way early in the reboot and got "stuck." I have seen it a few times myself. Can't really explain it. Can't reproduce it; just happens. WPI is trying to load everything but can't for some reason. Wigs out. Link to comment Share on other sites More sharing options...
anonymous_user Posted August 2, 2008 Share Posted August 2, 2008 (edited) Why does WPI try to launch after the reboot though? Previous version didnt do that. Edited August 2, 2008 by anonymous_user Link to comment Share on other sites More sharing options...
sp00f Posted August 2, 2008 Share Posted August 2, 2008 (edited) Can i use my old CONFIG.JS ?And when i choose Dutch language, the buttons look like this : Edited August 2, 2008 by sp00f Link to comment Share on other sites More sharing options...
Kelsenellenelvian Posted August 2, 2008 Author Share Posted August 2, 2008 OH dear.... Wow please check and see if your lang file has all of the needed trahslated lines in it.Also YES you can keep your old config! Link to comment Share on other sites More sharing options...
sp00f Posted August 2, 2008 Share Posted August 2, 2008 OH dear.... Wow please check and see if your lang file has all of the needed trahslated lines in it.Also YES you can keep your old config! I wanted to edit the post to say its with all languages, but you replied already. I chaged it into english, and the buttons are still like that. Link to comment Share on other sites More sharing options...
mritter Posted August 2, 2008 Share Posted August 2, 2008 I just tried several languages all without problem. Did you take out language support files with nLite possibly? Try it on a clean/full install to see if the languages work. No one else has this problem. Link to comment Share on other sites More sharing options...
sp00f Posted August 4, 2008 Share Posted August 4, 2008 No , i didnt used Nlite to remove things. Link to comment Share on other sites More sharing options...
skinhead Posted August 12, 2008 Share Posted August 12, 2008 Is it possible to burn WPI into separate cd and run it instead of incorporating into Xp setup Link to comment Share on other sites More sharing options...
Kelsenellenelvian Posted August 12, 2008 Author Share Posted August 12, 2008 Yes it is very possible...It the "Tools" extra package you will find a WPI autorun and ico for just this purpose. Link to comment Share on other sites More sharing options...
Zxian Posted August 29, 2008 Share Posted August 29, 2008 Links to the $OEM$ folder downloads are broken... Link to comment Share on other sites More sharing options...
Kelsenellenelvian Posted August 29, 2008 Author Share Posted August 29, 2008 You didn't read the part right by them did you?( The forum is messing up this link so copy www.wpiw.net/downloads/$oem$.rar ) Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now