Zitat
Version 5.1 (July/4th/2006) (Corresponding Thread)
Can now restart or shut down the computer after installation is complete. Can also allow the Desktop to load or not. Useful for making a Ghost image.
Now every text is localized. The language files have many new lines in them.
Updated, "tricked", all the file requesters to clear the default file before opening to prevent sending a file name if hit Cancel.
Took out all support for Disc Path. It was dead and a non-usable function that was never accessable.
Fixed bug in timer progress bar count down. Was going way too fast.
Updated the options and config wizards to allow for creating new, loading other, and saving current settings under different names. There are new gadgets: New Options, Load, Save As...
The current files are displayed in the respective wizard. When exit each wizard, that file is set as the default and will be loaded the next time WPI is run. If the file does not exist it will default back to the original: useroptions.js or config.js.
If the path contains '\WPI\WPIScripts\' it will be assumed the file is in the WPI main folder and will change the path to relative './WPIScripts/'.
The files should be kept in the WPIScripts folder.
With the new command line args, you will have to specify them in your cmd script since they are saved as registry entries.
Updated the wpi.htm theme file yet again. Removed the config wizard gadget template and updated it to match the options wizard template. Sizes and locations are now consistant. This does require a simple update to 5.0 themes.
Added command line support to specify different config and user options files:
WPI.hta options=useroptions_mritter.js config=config_mritter.js check=Work timer=30
If a path is not specified for the file, it will assume they are in WPIScripts.
It will still check for:
WPI.hta Work 30
for backwards compatibility. But update your tags, please. They will probably change in the future. Thanks to Dje again for the code and help.
NOTE: Paths can be full (starting with a drive letter) or relative to WPI.hta (starting with '.\' or '..\') and must end in '.js'. Spaces are supported only is a path is provided and properly quoted: (config="c:\space in\file path.js").
Took out function path(). It was redundant of replpath(), which is now ReplacePath(), and the redundant code was actually never used. It was doing a check that would never be true. Dje then updated it more to handle all environment variables easier.
Dje updated code to handle multiple lines in program names. Just put a break in the text to break it.
Split the huge 300K lang.js file into seperate language files to keep RAM usage down and for easier editing. English is loaded as default, followed by specified language. If text is missing, English is used.
Added a fix for PNG transparency problem.
Added Options -> Installer: Sort Within Categories. If checked will sort the items in each of the categories. If not, then the order they are created is maintained. Useful if you want items displayed or installed in a certain order not condusive to ordr[].
Fixed a bug with picw, pich, textl not displaying the proper values in the Config wizard when switching entries. The default was being set in the wrong function/location.
Updated code to reflect changes in config lists dynamically. No more having to save the list first, reload, then go back to Options -> Installer tab.
Added a drop down box in Config wizard to aid in selecting Configurations.
Added a drop bow box in Options -> Installer wizard to aid in selecting a category sort order.
Fixed a bug in Audio Player showing a blank line if song list is empty.
Install log now lists failures as *** Fail *** to help stand out.
Updated Selections drop-down box to group items better.
Put some standard defaults in the globals.js for times when there is not a config.js and useroptions.js file and the first config entry is made; it would no show up.
Added function getSPver() to get the Service Pack value. Returns 1, 2, 3, etc., or 'Not found'.
Can now restart or shut down the computer after installation is complete. Can also allow the Desktop to load or not. Useful for making a Ghost image.
Now every text is localized. The language files have many new lines in them.
Updated, "tricked", all the file requesters to clear the default file before opening to prevent sending a file name if hit Cancel.
Took out all support for Disc Path. It was dead and a non-usable function that was never accessable.
Fixed bug in timer progress bar count down. Was going way too fast.
Updated the options and config wizards to allow for creating new, loading other, and saving current settings under different names. There are new gadgets: New Options, Load, Save As...
The current files are displayed in the respective wizard. When exit each wizard, that file is set as the default and will be loaded the next time WPI is run. If the file does not exist it will default back to the original: useroptions.js or config.js.
If the path contains '\WPI\WPIScripts\' it will be assumed the file is in the WPI main folder and will change the path to relative './WPIScripts/'.
The files should be kept in the WPIScripts folder.
With the new command line args, you will have to specify them in your cmd script since they are saved as registry entries.
Updated the wpi.htm theme file yet again. Removed the config wizard gadget template and updated it to match the options wizard template. Sizes and locations are now consistant. This does require a simple update to 5.0 themes.
Added command line support to specify different config and user options files:
WPI.hta options=useroptions_mritter.js config=config_mritter.js check=Work timer=30
If a path is not specified for the file, it will assume they are in WPIScripts.
It will still check for:
WPI.hta Work 30
for backwards compatibility. But update your tags, please. They will probably change in the future. Thanks to Dje again for the code and help.
NOTE: Paths can be full (starting with a drive letter) or relative to WPI.hta (starting with '.\' or '..\') and must end in '.js'. Spaces are supported only is a path is provided and properly quoted: (config="c:\space in\file path.js").
Took out function path(). It was redundant of replpath(), which is now ReplacePath(), and the redundant code was actually never used. It was doing a check that would never be true. Dje then updated it more to handle all environment variables easier.
Dje updated code to handle multiple lines in program names. Just put a break in the text to break it.
Split the huge 300K lang.js file into seperate language files to keep RAM usage down and for easier editing. English is loaded as default, followed by specified language. If text is missing, English is used.
Added a fix for PNG transparency problem.
Added Options -> Installer: Sort Within Categories. If checked will sort the items in each of the categories. If not, then the order they are created is maintained. Useful if you want items displayed or installed in a certain order not condusive to ordr[].
Fixed a bug with picw, pich, textl not displaying the proper values in the Config wizard when switching entries. The default was being set in the wrong function/location.
Updated code to reflect changes in config lists dynamically. No more having to save the list first, reload, then go back to Options -> Installer tab.
Added a drop down box in Config wizard to aid in selecting Configurations.
Added a drop bow box in Options -> Installer wizard to aid in selecting a category sort order.
Fixed a bug in Audio Player showing a blank line if song list is empty.
Install log now lists failures as *** Fail *** to help stand out.
Updated Selections drop-down box to group items better.
Put some standard defaults in the globals.js for times when there is not a config.js and useroptions.js file and the first config entry is made; it would no show up.
Added function getSPver() to get the Service Pack value. Returns 1, 2, 3, etc., or 'Not found'.
http://www.wpiw.net/
cya
Dieser Beitrag wurde von Jammer bearbeitet: 16. September 2006 - 22:34