WPI Version Revisions v8.6.3 Updates - Released October 4th, 2012 ==================================================== *** Added some (all?) of the Win8 Edition OSSKU info. *** Better recognition of Win8. *** Better recognition of IE 9 & 10. *** Fixed getKeyboardID for x64 windows. *** Fixed getPointingDevice for x64 windows. *** Fixed getSoundDeviceID for x64 windows. *** Conditions ConnectedToInternet will return true or false. *** Conditions isDesktopLoaded will return true or false. *** Conditions hasDVDDrive will return true or false. *** Conditions hasDVDBurner will return true or false. *** Removed duplicate hasDVDROM entry. v8.6.2 Updates - Released September 12th, 2012 ==================================================== *** Fixed ArchType in the installerlog. *** Fixed OSBuild in the information section. *** More information tweaks. *** Added Number of cores to information. *** Added Number of logical Processors to infomation. *** Added USB to the information section. *** Function get system enclosure has been greatly enhanced. *** Extra language entries at the bottom of lang_en. v8.6.1 Updates - Released September 4th, 2012 ==================================================== *** Fixed GetOSvernum. *** Restored installer window size. *** More language localization fixes. v8.6.0 Updates - Released September 1st, 2012 ==================================================== *** Fixed some localizations not getting fully utilized. *** Get Firewall product now shows current information. *** Get Antivirus product now shows current information. *** Added Windows and Theme file location into the log. *** Fixed Get Edition ID. *** Added OS Current Build to log. *** More lines at the bottom of the lang_en file. *** Removed some redundant code. (Skins file???) v8.5.9 Updates - Released August 29th, 2012 ==================================================== *** Added French Manual! Thanks myselfidem! *** Added EditionID. *** Do NOT use midi files for music from HD! *** Put the installer windows on a diet. v8.5.8 Updates - Released August 23rd, 2012 ==================================================== *** Lots of audio fixes. *** Added fuction getosver number. *** Fixed more missing information from the log file. *** Changed the lang_en file. (Line 181 and a new line at bottom) v8.5.7 Updates - Released August 18th, 2012 ==================================================== *** Fixed the extract errors with 7z.exe *** Fixed the rest of old commands and lines leftovers. *** Audio process error fixes. *** Fixed the WPI re-running error after a reboot. v8.5.6 Updates - Released August 16th, 2012 ==================================================== *** Fixed out of line boxes issue on layout 3&4. *** Changed the txt in Allow internet check -- -- This is a XP only function. *** Fixed getArch6432 and getmshtaBits don't work. -- They were removed as they did not work properly. *** Fixed conditions are inserted at the end. *** Fixed a typo in global. *** Fixed wrong path in audio copying\playing. *** Fixed Cannot check categories when items are hidden. *** Fixed Category was not translated in config wizard proglist. *** Yet TONS more code cleanup! *** Streamlined the Registry cleanup functions. v8.5.5 Updates - Released August 12th, 2012 ==================================================== *** Relocated the Codebase folder into the Common folder. *** Removed Tool tip position: Float *** Added Win8 to getosver. *** HUGE Amounts of code cleanup. *** TONS of minor fixes. *** Fixed WPI not resuming after reboot on Vista, Win7 & Win8. *** Fixed Feature: Don't split categories ignores hidden items. v8.5.4 Updates - Released August 8th, 2012 ==================================================== *** Alphabetized lang_en, Any new lines added will be at the bottom. *** Fixed fileVersionGreaterThan can fail on minor versions. *** Fixed WMP files are locked with player disabled. *** Fixed Some languages were not being displayed properly. *** Fixed Missing code in the Options\Windows section. *** Some old code cleanup. v8.5.3 Updates - Released August 4th, 2012 ==================================================== *** Fixed Dependencies are ignored on startup. *** Fixed WPI update ignores minor versions. v8.5.2 Updates - Released August 2nd, 2012 ==================================================== *** Minor code changes, optimizations and updates. *** Fixed Items in horizontal layout weren't updated properly. v8.5 Updates - Released May 19th, 2012 ==================================================== *** [Feature] {OS=...} filter for commands and {X86}/{X64} improvements. Example: {OS=Win7,Vista} "%WpiPath%\Install\MyApplication\MyApplicationSetup.exe" will execute the command only on Windows 7 and Vista (no XP, 2000 and previous). *** Fixed The commands toolbar worked with no command selected. *** Fixed Saving after command drag&drop breaks the commands list. *** Updated the launcher to v1.0.3 to fix network installation issues. *** Made the Manual a "Optional" Button Like the readme button if there is no Manual\manual.txt file the button disappears. v8.4.6 Updates - Released October 24th, 2011 ==================================================== *** ***!!!*** Changed the 5 core files to WPI\Userfiles\ ***!!!***. *** Francesco cleaned the tooltips code up. *** Added = Francesco provided a {LaunchINF} Mod. *** "Windows 7" Theme was renamed to "Win7" Please make sure and add Your theme files to the new WPI folder. *** Fixed Adding an entry returns error when category is filtered. *** Fixed Category filter errors after deleting entries. *** Removed the ResChanger. (Sorry had to be done). *** Fixed Closing WPI with Alt+F4 doesn't restore IE debug setting. *** Fixed A JavaScript error is shown before reboots. *** Fixed getAntiVirusProduct and getFirewallProduct on vista/7. *** Found a bug with the skins code. *** GUI for WriteRegKey doesn't write REG_MULTI_SZ correctly. *** Fixed Write < IMG > in the name, category, category or in a command, it will be interpreted instead of being escaped. *** Fixed RegKeyExists works on values instead of keys. *** Fixed Saving the Config file temporarily breaks the Commands grid. *** Fixed GUI for WriteRegKey doesn't write REG_MULTI_SZ correctly. *** Fixed Broken WPIPath trimming in browser dialog. *** Fixed getAntiVirusProduct and getFirewallProduct broken on vista/7. *** Fixed Adding WriteRegKey from the menu adds the wrong command. *** Fixed The app list overflows on the Exit button. *** Fixed The installer causes IE timeout errors. *** Default folder for switches is userfiles now also. *** Fixed an installer issue with size AGAIN. *** Fixed LoadDesktopBeforeInstall breaks after a wizard is closed. *** Fixed the ie9 + ie6 script debugger errors. *** alt+f4 now deletes the WPI regentries too. *** The "Close" window button is fixed and working now. *** Fixed WPI doesn't properly restore IE debug keys. v8.2.2 Updates - Released August 12th, 2011 ==================================================== *** Refixed installer window size. *** Fixed the {Reboot} error code in the installer.js. *** Moved to a Windows 7-based theme. v8.2.1 Updates - Released June 5th, 2011 ==================================================== *** Fixed some bugs in the layout engine, installer window size, Network Wizard password handler, etc. *** Wrote a simple disc changer. Put this on your Windows' DVD. Run it like you ran WPI before WPI.exe came along. Put your actual WPI folder on the second DVD and run WPI like normal. v8.2.0 Updates - Released May 15th, 2011: Dedicated to Kimbra ==================================================== *** If WPI is started from a network share (\\share\folder) it will look for the mapped drive letter (if has one) and use it. *** Added DOS function {START} because it seems some people have a problem calling it directly. USAGE: {START} start "opera" /MIN "%wpipath%\Install\opera.exe" /install *** To give better and more accurate error reporting, if an item returns a code other than 0 or 1, it will show up as Warning in yellow. This does not count as failed. It usually just means a reboot is required to finish the installation. It's just a visual for you. *** Fixed a bug in the Configurations selector. Wasn't being critical enough. *** Fixed a bug in the new Pause script. *** The installer window now opens to the correct inner size no matter what window border size. *** Added to Config Wizard -> Details -> "Check for reboot". This will monitor a registry key to see if a reboot is required before installing this item. *** Added to Options Wizard -> Features -> "Maintain auto logon count". This will maintain the auto logon count when a reboot is required. *** Fixed small bug dealing with conditions. *** Added to Options Wizard -> Features tab -> "Disable combo box in installer window". This disables the combo box that changes the reboot/shutdown state. *** Fixed bug in "Eject CD When Done". Works for some people, but not others. Stumped on it still. *** Fixed a small bug in determining paths for network shares. *** The navigation grid in the Config Wizard now remembers what column and direction to sort by. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ People still have a mix of x86 and x64 software and are running into issues with installing the proper architecture version. Now in Config Wizard -> menu -> Other there is a new Architecture item. Instead of creating two entries for each program with conditions to hide it depending on x86 or x64, do it this way as a shortcut: When adding items in the Config Wizard, if needed, double the entries for the install program: {x86} D:\MyProgram_x86.exe /s {x64} D:\MyProgram_x64.exe /s When start the installer and it comes to these entries, WPI will check the architecture bits (32 or 64) and either skip the entry or install it like normal. It will say Skipped when not on the right architecture. This is only needed if the install package doesn't have both versions in it and checks itself for which to use. This method will reduce the number of entries and not require any condition statements. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ *** icnocop and I worked out a better Pause solution for reboots so WPI would not continue with the next item before it should. *** New Vista_Ultimate2 theme. *** Fixed bug in log file time stamp. *** Updated the internet connection test. *** The flickering problem has been resolved in Windows based themes. Still not resolved for Windows Framed themes. *** New Croatian (Hrvatski) courtesy of Robert F. Merlin alias Švedo. *** The installed now recognizes return code 259 "STILL_ACTIVE" and reports it as a warning. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In the Themes Wizard -> Style tab, there are now 4 layout styles: 1) Vertical columns; checkboxes 2) Vertical columns; checkboxes; logos 3) Horizontal rows; checkboxes 4) Horizontal rows; boxes; logos One and two are the same as previous versions. Three and four have the items laid out horizontally instead of vertically. Each category is the full width of the window with the items spaced evenly below it. When testing each style, remember, until you pick a style and stick with it the colors carry over from each layout style. Once you find one you like, and then edit the colors and font sizes. Layout 4 is much more modern and easier to read. See theme Windows Framed for an example of how to color items. Black text for all class’s works best. There are now separate: categoryBg and category, categoryBg_logo and category_logo in the wpi.css style sheet. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ *** Log file shows the "Execute Command If Failure" command line and result. *** Updated dhtmlx to v2.6. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ New addition to Config Wizard -> Commands tab -> menu bar -> Internet. *** Open a web site: This will open Internet Explorer to the site specified. Handy for showing company's web site, program's web site manual page, etc. Usage: {WEB} http://www.wpiw.net/The_Dark_Side/doc.html *** Download a file: This has been asked for many times in the past. It's main purpose is to download the latest archive of your program(s) so you don't have to manually download them and burn them to a DVD. WPI will download the file, save it to %TEMP% folder, and then execute it as if it was on a DVD. Usage: {DOWNLOAD} http://www.filehippo.com/CCleaner.exe /s Still include all the switches like normal. USSF will not work with this feature since the archive is not actually on your hard drive. Obviously your NIC driver must be installed before WPI is launched. The only drawback to this is that the path and filename can never change with each new version. Else you will have to modify each filename. To specify a user name and password (I have not tested this): Usage: {DOWNLOAD} http://user:password@www.filehippo.com/CCleaner.exe /s In Options Wizard -> Features tab -> Show download output window checkbox to show progress of download. v8.1.0 Updates - Released August 19th, 2010 ==================================================== *** New to the wpi_theme.js in each theme folder is Installer_BackgroundRepeat to specify either a big background image or a small pattern. Note: In the theme folder in installer.css under .Background, you must set the actual repeat style. Options: repeat, stretch Usage: Installer_BackgroundRepeat="stretch"; *** Also new is Theme_BackgroundPosition is set the background image position if using an image that is smaller than the screen and not using stretch option. Note: Must also set: Theme_BackgroundRepeat="no-repeat"; Options: top, left, center, right, bottom. and any combination Usage: 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 window near the bottom. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ There is a new theme type: Windows Framed. The first theme to use it is WindowsFramed. 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.js Theme_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. If MainPanel.png exists, that image will be used. You now have three independent background images: Wallpaper.png (.jpg) as the main background. SidePanel.png MainPanel.png You now have three independent background colors: Theme_BGColor Theme_SidePanelBGColor Theme_MainPanelBGColor Note: 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 just don'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 control links (Begin Install, Options, About WPI, etc). Setting this option to false allows you to make full image text buttons. The drawback of this is you lost locale support since images can't be translated. So use this 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 independent of this option. *** With the addition of the above feature, there are now separate images for Defaults, All, and None in all Windows and Accordion based themes. *** The large combobox on Options Wizard -> General tab has been removed since many people seemed to not see it. It has been replaced by a new Features tab with all the check boxes laid out in two columns. *** An oversight in the wpi_theme.js file has been remedied: Theme_BackgroundRepeat=""; It was fine for large background images, but not small patterns that needed 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 times with reboots in between. For example, you could have a script that creates 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 will restart at the same command. Else it will continue on to the next item. The reboot code cannot 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 failed Very 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.txt would fail, but with no quotes it always worked. Works all the time now. *** WPI now reports success/fail properly in the installer. The return code was not being processed properly. 999 is the "default" fail code, which usually means the file does not exist. 0 is success. 1 usually means 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 its value set. If {JSCRIPT}=WriteRegKey() fails to make and set the key, use this function first, then write the value. *** Small update to tips.js which should make the tooltips display a little faster and smoother. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ There is a new Theme Wizard to edit themes and a full GUI to edit the tooltips. This interface has been much needed since none of the options have 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. Some will stay open when mouse is moved. This allows for internet links to be used in the message (i.e., 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 automatically generated 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 especially for the need of inserting links in the tip message or anything 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 all your 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 use the hex value whenever possible. Keyboard shortcuts are either F6 or Alt+H. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ *** Updated WriteRegKey() to use the WMI version instead of the DOS-based Reg. 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 if started from CD" and/or "Do not show if started from USB". This will block 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 override the one's specified in Options Wizard -> Audio tab. WPI will check if the files exist in the Theme folder and use those in place of the specified ones. The checkboxes in the Audio tab still must be checked for the audio to play. The audio files must be named: SndWPIStart.wav SndInstallStart.wav SndInstallSuccess.wav SndInstallWarning.wav SndInstallFail.wav SndInstallFinish.wav SndWPIExit.wav The audio files can either be wave (.wav) or midi (.mid) files. Keep them as short as possible. The installer will not wait for the sample to finish playing before moving on to the next item. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ *** Fixed a small issue with the audio player. If no files are specified the 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 specify certain operations, like file copy, when building one config for both 32 and 64 bit systems. Here is a simple example on how to copy a file based 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 double quotes 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 Dependencies can be used with {JSCRIPT}. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ *** Updated version extraction method. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ New to the Installer window is a combobox under the Pause/Abort buttons to 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" is selected. (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 is cancelled. *** 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. v8.0.3 Updates - Released May 30th, 2010 ==================================================== *** Fixed a path bug in the installer. v8.0.2 Updates - Released May 27th, 2010 ==================================================== *** Changed language file codes: dk-> da, and se -> sv. *** Fixed bug in USSF dealing with .msi archives. *** Updated the media player code for the installer. *** Updated new file error handling code some more. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Updated the Installer to handle custom images and backgrounds. Added a "None" option to the combobox for installer background image. This will make the top titlebar transparent in case you want to use a full size background image. You can now put custom images and backgrounds in your theme folder to override the selected ones in Options->Style tab: *** If Wallpaper_Installer.jpg or Wallpaper_Installer.png exists, it will be used as the window background image. Window size is 430x460 pixels. *** If InstallBg.png exists, this will be used as the title bar background image. Use in conjunction with "None" in the combobox. No more than 428x60 pixels. *** If InstallLogo.png exists, it will be used as the title image. No more than 430x60 pixels. *** If ProgressBar.png exists, it will be used for the progress bar image. This will also be used in the main window for the countdown timer. Must be 400x20 pixels. *** If Wallpaper_InstallItems.jpg or Wallpaper_InstallItems.png exists, it will be used for the background image for the install items textbox. Box size is 400x256 pixels. 7Fresh theme uses most of the above options. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ *** Fixed bug with install order value not being placed in the grid when changed. v8.0.1 Updates - Released May 16th, 2010 ==================================================== *** Added 120Hz and 240Hz monitor refresh rates. *** Locked the size of the Installer window. *** Fixed bug in "Copy audio folder to hard drive" setting the default path every time. *** Fixed an issue with tf.Close() and a bad path name in the theme loader. *** Fixed bug in Options wizard that would still change the theme colors if hit Exit instead of Save. *** Fixed a bug in the tooltips dealing with carriage returns. Note: For a new line press Shift+Enter. For a new paragraph, just hit Enter. v8.0.0 Updates - Released May 10th, 2010 ==================================================== *** UTF-16 is now supported for foreign language custom characters. To update your config.js file, load it in a text editor, like Notepad++, and save it in UCS-2 Little Endian format. It will then be editable within WPI. *** Added command line argument "continue" to automatically continue an aborted installation. You will not be presented with the alert to continue or cancel. WPI.exe continue=true *** Added command line argument "language" to switch saved language. Use two letter language code. WPI.exe language=de *** The tool tips text location for Left and Right were reversed. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Added a new layout design that shows the program's logo (.png image) and a short description under the main text. The main use of the second line would be for version, system requirements, exclusions, etc. It does use much more real estate, but looks much nicer than the old boring list. To toggle the traditional list style and the new layout, go to Options Wizard -> Style tab -> Use alternate layout with program's logos. Be sure to adjust the style sheet: .txt_logo, .shortDescTxt_logo, .grayTxt_logo, .forceTxt_logo, and .checkedTxt_logo. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ *** Updated the tool tips to not show "undefined" when nothing is specified in the Description field. *** Fixed a bug in CreateShortcut() if the sub-folder doesn't exist; it will be created now. *** If a category carries over to the next column or page, the spacing for next category has been fixed. *** Fixed a small bug in determining the width of the layerboxes div to set the width of the columns properly. This in turn fixed the text being cut off too soon. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Added {JSCRIPT}=TimedWaitForProgram(ImageName,Minutes) to monitor installers, or any program, to close before moving on to next install item. This was requested for installers or scripts that do not wait properly when they launch installers from inside themselves. Usage: {JSCRIPT}=TimedWaitForProgram("Setup.exe",10) The image name is case sensitive. Minutes is the amount of time WPI will wait before moving on in case the program hangs/crashes. WPI will check every 3 seconds or until the specified minutes is reached. To see the actual image name, open a command prompt window, start the program/installer, at the command prompt type "tasklist". This will give a list of all the running programs. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ *** Updated the progress bar in the installer to finally keep the value centered all the time. *** The euDock theme is now localized. No more making custom images for each language. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ The Options -> Style tab has been reduced to remove a lot of theme bloat. You can no longer change the skin of individual gadgets. You can still change the installer background image and the progress bar image. There is now a new "Selected skin" drop-down box that has 8 skins to keep all the gadgets the same colors. Much better consistency. More skins will be added later. This reduced the archive size and number of files down significantly. If you want to make your own skin, use the Skin Builder here: http://www.dhtmlx.com/docs/products/skinBuilder/index.shtml Please upload it to the forum to share with others and maybe have it included with future WPI releases. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ *** Updated the Configurations tab in the Config Wizard to use 2 grids. *** Took out option to have maximize button on window border. Until I can listen for it and redraw the data properly, no point in having it. *** Updated the internet check. Now done within the launcher. *** Put the Change Log tab back in the About window. *** If ReadMe.txt file exists in main folder, a Read Me button will be displayed above the Install button. Use this to give the user important information about the install package. Like, certain items require user input (not totally silent), drivers need to reboot, etc. *** Francesco ported USSF from Auto IT to JavaScript; I finished it up. No more false positives from virus scanners thinking USSF is a virus. And I have full control of it now. *** Francesco updated the launcher to disable the X close button on the window so .reg keys are sure to get set back properly. *** Added function {JSCRIPT}=ErrorReporting(). Usage: {JSCRIPT}=ErrorReporting(Enable,Notify,WindowsOS,Programs) This works just like the Windows XP's Error Reporting, but also for Vista and newer. *** Fixed bug in Config Wizard when added a new entry it would always ask if want to update UID when it doesn't need to be. *** Added function {JSCRIPT}=PowerOptions(). Usage: {JSCRIPT}=PowerOptions(too many to list) This works just like the Windows' Power Options. Settings are visible for both desktops and laptops to make things easier. Note: A reboot is required for all changes to take effect. *** Added function {JSCRIPT}=ScreenSaver(). Usage: {JSCRIPT}=ScreenSaver("ssbezier",Minutes,t/f) "Screen saver is secure" will either show logon screen if Fast User Switching is enabled, or ask for a password if not. The account must have a password assigned. Note: A reboot is required for all changes to take effect. *** Added function {DIRMOVE}. Usage: {DIRMOVE} "C:\Test" "D:\Test" Note: Both paths must be in quotes. Note: If final destination folder does not already exist, you must specify it. *** Fixed a bug with %CDROM% not being set. It was, but then cleared right after. *** The sub windows will now resize automatically to match different font sizes. *** Broke down the Conditions and Grayed Conditions menus in Config Wizard for easier navigation. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Updated all of the themes to a new rendering engine. The html code is no longer in the theme folder. This way all the themes will match and function properly. All images may be replaced or removed. Many items in the theme are still customizable. This is done via the new wpi_theme.js in each theme folder. The type of theme is defined in the wpi.inf file: Windows, euDock, CorporateIT, or Accordion. The names of the images are hard coded in and cannot be changed and they must be PNG images. The background image can either be called Wallpaper.jpg or Wallpaper.png. Or no image and set a background color. If Title.png exists it will be used. If does not exist, text will be used. To have no image and no text, copy in Title.png from /Common/imgs/. If TitleBG.png exists, it will be used as the background pattern. Or set a color in wpi_theme.js. SmallBarT.png a SmallBarB.png, if exist will be used. Erase them to not use them. The heights can be specified in some themes. If SidePanel.png exists, it will be used as the background for the side panel (Begin Install, Select All, Select None, etc.). And/or a color can be specified. The width of the side panel is also customizable. If Logo.png exists, it will be used as a second image. It is mainly meant for a company logo/watermark when don't want a big background. Usually would be light colored, almost transparent. Set its right edge and bottom edge location. PinkRibbon and Woody themes are examples. If Bottom.png exists, it will be placed in the bottom bar at center. If BottomBG.png exists, it will be used as the background pattern. Or set a color in wpi_theme.js. You can specify and customize text to be placed in the bottom bar in wpi_theme.js. Cannot have both image and text. The exit button can be on left or right side, and show or not show the text. Not all theme types have all the customizable features. If it's not in wpi_theme.js then it can't be modified so don't try to add anything from other types. Went through every .css file and removed several old items that are no longer used, and changed the names of several items. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Added Network Wizard to facilitate entry of user IP information, create Windows' users, etc. This wizard is meant to be set up ahead of time. If you have a business with 25 users/computers, you would make an entry for each user/computer with their specific information: IP address, computer name, Workgroup, etc. If you also use a winnt.sif or XML file, you do not need to enter Any user specific data, so you only need one "universal" file with global settings (i.e., Display, Unattended, Windows key, etc). Once the install process is started, a window will open and you pick which user/computer you are installing for. Or hit Cancel and nothing will be changed. The user may also be specified from a command line argument: user="Ritter, Mark". To specify a different network settings file: network=iowa_office_networkoptions.js. In the grid you will see an entry ".default". This entry cannot be deleted. You can use it for Administrator account, or other non-specific users. User information: ----------------- Friendly name: Ritter, Mark or Mark Ritter. This is the name you specify in command line args. Computer name: Enter the name for user's computer. If left blank no change will be made. Windows user account information: --------------------------------- User name: Mark. This will create a new user account in Windows. User password: Leave blank if don't want one. Administrator: Check to give this user Administrator rights, else will be a limited user. Join workgroup: --------------- Workgroup: Name of your Workgroup. Options: -------- Reboot after settings are applied: Checking this will reboot the computer so the newly created user account can be logged on to for user specific settings/programs. Auto logon user: Automatically log on to this newly created user. Clear auto logon user when WPI is finished: This is recommended so any user password is cleared from registry, and if multiple accounts exist, allows selection of desired one again. The rest of the settings are the usual network adapter settings for IP address, DNS servers, etc. No support for domains is included. That needs to be done on the Active Directory server. Alt+K shortcut key. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ *** Broke down the Commands menu in Config Wizard for easier navigation. *** Added function {JSCRIPT} =SetSecurityCenter_XP (). Usage: {JSCRIPT} =SetSecurityCenter_XP (Firewall, Updates, Virus, Disabled, Disabled) *** Added function {JSCRIPT} =SetAutoLogonUser (). Usage: {JSCRIPT} =SetAutoLogonUser ("Name","Password","Domain") Note: Password is optional. If not on domain, use computer name. *** Added function {JSCRIPT} =ClearAutoLogonUser(). Usage: {JSCRIPT}=ClearAutoLogonUser() *** Added function {JSCRIPT}=RenameComputer(). Usage: {JSCRIPT}=RenameComputer("Name") Note: Reboot computer to take effect. *** Added function {JSCRIPT}=CreateWindowsUser(). Usage: {JSCRIPT}=CreateWindowsUser("Name","Password",Administrator) Note: Password is optional. Administrator=true/false. Switch user to take effect. *** Added function {JSCRIPT}=DeleteWindowsUser(). Usage: {JSCRIPT}=DeleteWindowsUser("Name",true) Note: If second arg is true, all associated files will be deleted. *** Added function {JSCRIPT}=SetFirewall(). Usage: {JSCRIPT}=SetFirewall(state) Note: true or false for enabled or disabled. *** Added function {JSCRIPT}=SetFilePrinterSharing(). Usage: {JSCRIPT}=SetFilePrinterSharing(state) Note: true or false to enabled or disable file and printer sharing. *** Added function {JSCRIPT}=MapNetworkDrive(). Usage: {JSCRIPT}=MapNetworkDrive("Letter","Path",Reconnect) Note: true or false for Reconnect at logon. Note: No path checking is done. *** Added function {JSCRIPT}=ShareFolder(). Usage: {JSCRIPT}=ShareFolder("ShareName","Path") Note: No path checking is done. *** Added function {JSCRIPT}=SetPageFileSize(). Usage: {JSCRIPT}=SetPageFileSize(DriveLetter,InititalSize,MaximumSize, NoPageFile) Note: Reboot computer to take effect. *** Added function {JSCRIPT}=FormatDrive(). Usage: {JSCRIPT}=FormatDrive(Drive,Label,FileSystem,ClusterSize, QuickFormat,EnableCompression) Note: Requires user input during install process. *** Added option to dropdown box in Options -> General -> "Eject CD when WPI is finished". *** Updated WriteRegKey() to handle all key types properly. REG_MULTI_SZ did not work before. *** No special characters are allowed in UID now. Only A-Z and 0-9. *** Added command line arg "force" to force the install process. At least one item must be set to Forced for this to work. Usage: wpi.exe force=true *** Removed a bunch of code for CorporateIT theme. *** Added global variable %userprofileroot%. XP: C:\Documents & Settings Vista: C:\Users Usage: {COPY} d:\UserStuff.txt %userprofileroot%\Mark *** Improved the IE6 PNG fix code some more. *** Updated images to work with IE6 better. *** Fixed bug in Config's commands grid in how it showed some items. *** Now checks for changes in the wizards before creating a new file or loading an existing file. *** The list of configurations was not being updated in the Details tab. *** Updated saving of all options files. *** Updated the Ajax code for when checking for an update. *** Francesco updated his WPI.exe launcher more. Mainly, the Office reg keys are set before WPI is launched. You won't have to set them in your batch file anymore. FROM NOW ON, USE WPI.EXE TO START WPI. *** Removed "Do Office debugger check" option. No longer needed with launcher. *** Added "global" flag to setEnvVar(). If true, then variable is system wide. If not, only the current process (WPI installer) and any batch files after will see them, and will clear upon exit. *** Created a new way to update the useroptions.js and config.js in a much more user-friendly way. Will make future updates much easier. *** The Options and Config wizards are now opened in their own window. This makes Options smaller, but Config larger, to best utilize space. *** Updated how often the Dependent Of and Excludes combo boxes get populated. Much faster now when switching items, especially with large configs. *** These environment variable are now created when WPI is started for use in batch files: %HDD%, %CDDRV%, %WPIPATH%, %ROOT%, %OSLANG%, %OSLOCALE%. *** Added function {JSCRIPT}=removeEnvVar(). Usage: {JSCRIPT}=removeEnvVar("Variable") Note: You don't need to specify the percent's. *** Music is stopped before Install Finish sound is played. *** Francesco made WPI Launcher that will use the proper 32/64bit MSHTA based on your system. Find it on the main forum thread. *** Updated the way the config.js version is checked. Much more flexible for future updates. v7.7.0 Updates - Released July 28th, 2009 ==================================================== **** You will be alerted that your config file is too old. You will need to save your Config file first, then your Options file, IN THAT ORDER, to update them. *** All of the themes have been updated slightly; just for the padding around the wizards. You should update yours from the web site if you are not using one of the default ones. *** Added 24 128x128 generic .png's in the graphics folder for tooltips. These images can be found, and added to, in the Graphics/Logos folder. *** Fixed some wrong language codes. *** Updated the grids with drag-and-drop functionality. Top, Up, Down, Bottom buttons have been removed. Dragging in main config list not necessary so not implemented. *** Changed Conditions and Grayed Conditions string gadgets to textareas to show more. *** Added a simple HTML editor for the Description in the Config wizard. Waiting for the next version to come out with more features. *** Added Accordions and Editors combo boxes to Style tab. Three skins each. *** MAJOR updates to the Options and Config wizards. *** New Configurations tab in Config wizard. These items were moved from General tab in Options wizard. These are now specific to the config file being used. When they were global, all kinds of issues arose with category sort order, configurations, etc. *** Interface tab in Options wizard is gone. Those items are moved to the General tab. *** All the gadget layouts in all wizards/windows have been updated. *** The wizard’s sizes have shrunk a little bit. NOTE: You will be alerted that your config file is too old. You will need to save your Config file first, then your Options file, IN THAT ORDER, to update them. *** Do Not Load Desktop functionality has been updated. *** Updated the Picture handling in the Config Wizard. *** Tool tip images can now be placed anywhere. They are not forced to be in the Graphics folder. If no path is specified it will still be assumed the Graphics folder for backwards compatibility. *** Updated trimString() to handle network and additional paths properly. *** Added function isDesktopLoaded(). (Francesco) Usage: isDesktopLoaded() Returns: true or false *** When using "Load desktop before installation starts", if already on the desktop, it will start to install. Before it would wait for a reboot. *** Updated Bulgarian Lang file. v7.6.1 Updates - Released July 6th, 2009 ==================================================== *** Updated German, Spanish, and Italian Lang files. (Thanks Guys) *** Updated German Manual. (Dynaletik) *** Updated fileVersionGreaterThan() Function (Francesco). *** Fixed English and Swedish flags. v7.6.0 Updates - Released July 5th, 2009 ==================================================== *** Updated the Manual. *** Added License tab to About window. *** Fixed a function name typo: had DriveAvailableSize(), but should have been DriveAvailableSpace(). *** Added function {JSCRIPT}=CreateShortcut() to Commands menu in Config Wizard to create a shortcut. Usage: {JSCRIPT}=CreateShortcut("Description","IconLocation","Hotkey", "TargetPath","Arguments","Destination","Folder") Description: Shortcut to MyTextFile Icon Location: C:\Windows\Notepad.exe HotKey: CTRL+SHIFT+F TargetPath: C:\Docs\MyTextFile.txt -or- TargetPath: http://www.mywebsite.com -or- TargetPath: \\server\files\ThisOne.xls Arguments: -c -q (command line arguments for a program) Destination: Desktop, Favorites, etc. Folder: Subfolder in My Documents, Start Menu, etc. Can be nested. Note: Use the wizard to make it, please! Note: Start Menu places it in the upper section of start menu. Start Menu\Programs places it in the main section of start menu. *** Updated the error output when saving files. *** Fixed a bug that would not gray a forced item. Would cause double installations in certain situations. *** Fixed bug with WriteRegKey(). *** Added function {JSCRIPT}=setEnvVar(). Usage: {JSCRIPT}=setEnvVar("USERNAME","Mark") Note: You don't need to specify the percent's. Why: Set environment variables for installation paths, users, etc. *** Added function getEnvVar(). Usage: getEnvVar("USERNAME")=="Mark" Returns: The value or if invalid the same name passed. Note: You don't need to specify the percent. *** Added Bulgarian language. Thank you belivakov. *** Added option to dropdown box in Options -> General -> "Do Microsoft Office debugger check". It was always done at startup, but occasionally caused problems. Only needed if installed Office and do not change the keys before WPI are started. *** Updated the external modules to the latest versions. *** Changed the picture width and height drop-down boxes to string gadgets to allow any size to be used. *** The picture width and height are automatically filled in. Change if you wish to scale the picture up or down. *** Updated the Language drop-down box to show the language flag and put the text in the matching language. *** Added Sounds Scheme tab to Options Wizard to play sounds at critical times. Look in Windows\Media and WPI\Audio\SoundsScheme for samples. The red stop button is there in case you played a long sample and want it stopped. *** Removed option "Randomly select theme" from Options Wizard -> Style. *** When change themes in the Options Wizard -> Style tab, the settings are now loaded right away and can be changed. No more need to exit the wizard to load the new theme settings. 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 v7.4.0 Updates - Released March 18th, 2009 ==================================================== *** Added new option: Options -> General -> Always show output window to display the output window in case input it required. *** If you change the Unique ID of an entry, WPI will now offer to update it for all Excludes and Dependencies. *** Added function fileVersionGreaterThan() (Francesco). Usage: fileVersionGreaterThan("7.0",getFileVersion("C:\Program Files\Internet Explorer\iexplore.exe")) Usage: fileVersionGreaterThan("2.0.40115.0",RegKeyValue("HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Silverlight\Version")) Returns: true or false *** Added {RUNBG}, run in background, in the Config wizard to allow a program to be launched by the installer, but not wait for it to quit. Useful for starting programs when desktop is already loaded, but not meant for installers. Use with care. *** Added new option: Options -> General -> Show images in installer to drop down combo box. This will show a success/fail image instead of text. *** Thank you to all the language translators. *** Fixed bug with command line arguments not being passed to restart. v7.3.0 Updates - Released January 27th, 2009 ==================================================== *** If you wish to add your own custom functions, if it doesn't already exist, create a file called userfunctions.js in the WPIScripts folder, and place your code in it. Then use JSCRIPT={MyFunction()} to call it. *** Added more information to the log file. *** Fixed bug with quotes not being placed around paths from network share. *** Added function getPointingDeviceID() Usage: getPointingDeviceID()=="ACPI\PNP.........." or Usage: getPointingDeviceID()=="HID\VID_.........." Returns: PnP Device ID. See Alt+G Hardware tab. Why: For wireless mice, multi-button mice. *** Added function getKeyboardID() Usage: getKeyboardID()=="ACPI\PNP.........." or Usage: getKeyboardID()=="HID\VID_.........." Returns: PnP Device ID. See Alt+G Hardware tab. Why: For wireless keyboards, hot keys. *** Added function getHDDControllerID() Usage: getHDDControllerID("PCI\VEN_..........") Returns: true or false. See Alt+G Hardware tab. *** Added function getCDBurnerID() Usage: getCDBurnerID()=="IDE\CDROM.........." Returns: PnP Device ID. See Alt+G Hardware tab. Why: Determine if install burning software, Light Scribe software, etc. Note: Could be a CD or DVD burner. See hasDVDBurner(). Note: Combination drives like CDRWDVD drives do not always return reliable information. Same for USB drives. *** Added function getCDBurnerName() Usage: getCDBurnerName()=="PLEXTOR DVDR PX-800A ATA Device" Returns: Name of burner. See Alt+G Hardware tab. Why: Determine if install Light Scribe software or not Advanced Usage: getCDBurnerName().toUpperCase().indexOf("SCRIBE") != -1 Result: if == -1, then SCRIBE doesn't exist, not Light Scribe. if != -1 (does not equal), then SCRIBE does exists. This is a simple check of the name for Light Scribe. Can also check for DVD or something else in the name. Note: Could be a CD or DVD burner. See hasDVDBurner(). *** Added function getCDROMID() Usage: getCDROMID()=="IDE\CDROM.........." Returns: PnP Device ID. See Alt+G Hardware tab. Why: Determines hasDVDROM(). May have other use. Completeness. Note: Could be a CD-ROM or DVD-ROM. See hasDVDROM(). *** Added function hasDVDROM() Usage: hasDVDROM() Returns: true or false Why: Determine if install DVD movie playing software or not. Older computers may only have a CD-ROM. *** Added function hasDVDBurner() Usage: hasDVDBurner() Returns: true or false Why: Determine if install DVD only burning software, i.e., for movies. Advanced Usage: hasDVDBurner() Result: There is a burner and it is a DVD burner. Short cut method. Advanced Usage: getCDBurnerName() != "n/a" && !hasDVDBurner() Result: There is a burner but it's not a DVD burner, so it's just a CD burner. *** Added function hasDVDDrive() Usage: hasDVDDrive() Returns: true or false Why: Shortcut to determine if there is a DVD ROM or burner, but doesn't say what kind of drive. Same as: hasDVDROM() || hasDVDBurner *** Added function getHDDControllerID() Usage: getHDDControllerID("PCI\VEN_..........") Returns: true or false. See Alt+G Hardware tab. Note: There could be multiple controllers, so you have to know the ID of the one you are checking if exists or not. Note: This is only useful for installing support software, not the driver itself. *** Items with very long names will not be cut off and will see an ellipsis, ... , so all the columns stay the same width and no horizontal scroll bar. If text gets cut off when doesn't need to be, reduce the number of columns in Options -> General -> Number of columns. *** Updated all installer.css files. *** Created LIVESTRONG and PinkRibbon themes. *** Created Accordion theme. The navigation system may be used later in the main program. *** Created Da Vinci theme to show customization of themes. *** Updated {EXTRACT} to handle wildcards better. *** All reg keys are now deleted to prevent any cross-contamination. *** The reg keys that store the paths for options and config files are now deleted when quit and after install is complete. *** Updated getOSver() and getOSeditionID(). Usage: getOSeditionID()=="Home Basic Premium Edition" *************** NOTE: getOSeditionID() now has Edition in all returned values. You will need to update your conditions. *************** If on XP, getOSeditionID() will return "Home Edition" or "Professional Edition". If on Server 2003, getOSeditionID() will return "Standard Edition", "Enterprise Edition", "Web Edition", "Datacenter Edition", or "Itanium Edition". If on 2K, getOSeditionID() will return "Professional Edition", "Server Edition", "Advanced Server Edition", or "Datacenter Edition". *** Updated the command line args parser. Wasn't accepting quotes in path names. *** The font installer now checks if the font already exists so don't get any verification alerts to overwrite it. *** Installer cannot be started if a wizard is open. *** Updated some of the audio player function calls. *** Added option to Audio Player to copy the Audio folder to your harddrive when installation starts. This should prevent any skipping or slowing of reads from DVD. v7.2.2 Updates - Released December 21th, 2008 ==================================================== *** Tweaked all the themes to get spacing in buttons to match across the board. *** Log file now logs all user settings. *** Fixed a bug in the installer with the reboot and history files. *** Tweaked the update notice for config file. *** Tweaked how the Options/Config file path is set. No longer uses relative paths. *** Added function getIEver(). Usage: getIEver()=="7.0" Returns: 5.5, 6.0, 7.0, 8.0 *** Automated the %comma% placement/replacement. You can put your commas back in place of the %comma%. *** Fixed bug with &'s in command line. Also fixed bugs with commas in names. *** Fixed bug in installer not using selected language after a reboot. *** Took Change Log tab out of About WPI window. Too large; slows closing of window. *** More information is logged in the install log file. *** Fixed a sorting bug when saving the Config file. *** Using new IE6 PNG filter code. It works better, but, is slower and system intensive. *** Updated CDROM check yet again. CDROM will be set if started from a CD or a USB key (removable device). *** Updated Pause and Abort in installer even more. *** Updated the Pause in installer. Now pauses immediately. v7.2.1 Updates - Released December 8th, 2008 ==================================================== *** {INSTINF} will now remove quotes when pick a file from file requester. Commas cannot be used in the path either. *** Tweaked the 2 basic themes some. *** Re-added the missing XP_06 timer/progress bar. *** Graphical tweaks. *** Added %comma% to be able to use a comma in a command line. *** Fixed bug in Category Sort Order not auto-populating all the categories. *** Fixed quote problem in Category Sort Order and Audio Player. *** Changed default paths to handle network shares properly. *** Fixed typo in {DELDIR}. *** Updated {SLEEP} and {REBOOT} functions. *** Added option "Show command line text in installer" to General tab. This will hide or show the command line at the top of the installer window. *** Made some tweaks to {FILECOPY} and {DIRCOPY}. *** ssjoco did Hungarian translation. *** CorporateIT theme now supports wallpapers in theme folder, and custom background images in Graphics folder. Use wisely... *** Updated {DIRCOPY} command. *** jinkazama did Italian translation. *** AlBundy33 found 2 bugs. v7.2.0 Updates - Released November 28, 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 tag for themes that require a minimum version of Internet Explorer. It must be on line 4. 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 menus. *** 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 undefined. *** 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 sort able and uses keyboard shortcuts. *** Tabbed the wizard to save vertical space. *** Now has unlimited commands per entry. *** Registry Before/After is 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 { } i.e., {FILECOPY}, {REGEDIT} 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 editing 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 inspection. *** 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 effect, and back off if that was the original state when exits. This may also cure other mysterious anomalies people have encountered. 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