Что такое WPI?

Windows Post-Install Wizard - коротко WPI (по-русски Мастер Windows Пост-инсталяции), гипертекстовое приложение, разработанное дать выбор пользователю. В то время, как Windows XP предлагает много путей приспособления под свои нужды процесса установки за рамки ОС, главный ее недостаток - нехватка возможности выбора, какие приложения выбрать, которые конечный пользователь мог установить. В прошлом, конечные пользователи и администраторы должны были либо скачивать файлы вручную, либо создавать черезчур сложные сценарии (скрипты), которые могли употреляться  только однажды. WPI позволяет вам создать один образ, который может быть потом сконфигурирован под себя и, дополнительно, автоматизирован, так, что конечный пользователь может установить любые приложения.

WPI - простая к пользованию программа для автоматизации выбора и установки множества программ, твиков и сценариев (скриптов). Больше вам не понадобятся дюжина или больше CD, когда будете делать свежую установку. Больше будет не нужно множество файлов, когда вы обслуживаете другой PC. С Windows Post-Install Wizard все, что вам нужно, это 1 или 2 CD\DVD для полной установки своего PC, со всеми своими приложениями, сценариями (скриптами), файлами или твиками (усовершенка) реестра. Вместо того, что перескачивать такие приложения, как adobe reader, flash или обновления программ, вы можете иметь все в одном диске. С WPI можете не только иметь всех в одном диске, но и потом иметь прекрасный интерфейс для выбора приложениий для установки, а потом надлежащим образом сконфигурированный WPI установит всех их без никакого вашего вмешательства. WPI также обычно прилагается к потребительским Windows установочным дискам. Таким образом можете автоматизировать весь процесс установки Windows и программ.

Со своей типичной  установкой WPI у вас есть OС и все приложения, твики и подобное в одном диске. После установки Windows пускается WPI, давая вам выбор всего, что сконфугировали с WPI, после этого можете выбрать какие хотите приложения или просто даете таймеру обратного отсчета отсчитывать  и будут устанавливаться ваши приложения по умолчанию.

Выявления новейшей версии!

Сейчас в окне "О WPI' вы можете попросить WPI осведомиться о  обновлениях. (Заметьте, это будет работать толко, если вы поставили "Разрешить проверку на соединение с интернетом" во вкладке "Общие" Настроек.

Три новых функций: RegDLL, UnRegDLL и INSTINF (INSTINF для использования RVM, инсталяторами основанными на .inf. Все, что вы делаете, это ввести в командную строку следующее: INSTINF "%wpipath%\Installer\Blah.inf" ПОМНИТЕ, это будет работать только на надлежаще построенных .inf инсталяторах ...)

Возвращен 64-битный процесс, но все-таки очень в алфа/экспериментальной стадии. Мы очень оценили бы ваши отзывы об этом ...

Известные ошибки (баги)\вопросы!

Кнопка перемотки НЕ РАБОТАЕТ на медиа плеере... (Возможно никогда)

WPI больше не нужно помещать в корневую папку CD.  Наименее ОДНУ папку вглубь в CD. (Таким образом помещайте всю папку WPI в корень, вместо того, чтобы иметь wpi.hta и папки в корне.)

Таблица содержания.
  1. Раздел 1 = WPI основы и краткий курс
  2. Раздел 2 = Обозрение Проводника настроек
  3. Раздел 3 = Обозрение Проводника конфигурации
  4. Раздел 4 = Продвинутые настройки и применения WPI
  5. Раздел 5 = Глобальные переменные
  6. Раздел 6 = Файлы и скачивания
Просим здесь проверить нет ли недавних версий и обновлений.

Ссылки и благодарности:

Web-страница: www.wpiw.net
Форум MSFN:
www.msfn.org
Форум WinCert:
www.wincert.net
Эл. почта:
kelsenellenelvian@gmail.com
Эл. почта:
mritter@internetepicenter.com

Комманда проекта:
Первоначальный разработчик:
Derek "Whimsy" McCabe

Руководитель и менеджер проекта:
 Troy "Kelsenellenelvian" Taylor 

Главный программист и ко-менеджер:
Mark "mritter" Ritter

Графика:
Jonathan "Wolfx2" Tychy

Дополнительный код, бэта испытатели, активные члены форума:
t4user, Djé, sadicq, Pliek, oneless, Dynaletik, Zorphnog, Lawrenca, Larciel

Спасибо всем вам переводчикам.

Пожертвования
Просим оказать поддержку WPI в активном развитии
PayPal:
kelsenellenelvian@gmail.com
PayPal:
mritter@internetepicenter.com

Текущий список изменений:

Программисты и те, кого это интересует, знают английский, и ниже не 
переведено.
v7.1.0 Updates - Released September 1, 2008
-------------------------------------------------------------------------------
* Shrunk and re-aligned the media player in the installer. This made the
window shorter, also.

* Added XP_06 progress bar.

* Added Vista Dark tabs.

* Made Installer window 86 pixels narrower.

* Added a Grids combo box to customize the grid skin. There are 7 skins.

* Now using grids to display large amounts of information, such as in the
Information window (Alt+G).

* Added 7 new Windows skins.

* Added First and Last links on the main page for quick jumping.

* Added a check box to Config wizard: Enable 64bit processing.
Checking this will use the 64bit versions of RegEdit and cmd.exe, if on a 64bit
system. It is still very beta.

* Config text input boxes moves cursor to end when pick from drop-down boxes.

* Added 2 more slider skins: default and Vista.

* Made internet check an option in General -> Options.

* An absolute path, not just Graphics folder, can be set for program icons.

* Added an online update check button in About WPI.

* Lithuanian and Russian manual from stasys44.
* Norwegian manual from rogergh. Thanks!

* Fixed in the installer, after a reboot, the Success text was black, not
green.

* Made sure that ./Common/imgs/spacer.gif is used everywhere, not the one in
the theme folder.

* Added to Options -> General -> Options: Load desktop before installation
starts. This will make WPI launch after the desktop is fully loaded.
Use this with caution:
1) Install Windows, WPI is launched before desktop loaded, timer counts down or
Begin Install, desktop loads, installation starts.
2) WPI started from desktop, timer counts down or Begin Install, WPI closes,
installation will not start until system rebooted and desktop loaded.

* Updated Sort Order list box to be like audio player box.

* Added to Config -> Commands: RegDLL, UnRegDLL, and INF.
RegDLL calls: regsvr32.exe /s %dll%
UnRegDLL calls: regsvr32.exe /u /s/ %dll%
INF calls: rundll32.exe setupapi,InstallHinfSection DefaultInstall 132 %inf%
(%dll% and %inf% are your chosen files)

* Added to Options -> General: Default install path. This allows you to choose
what path is used by default, or a custom path, for all the Config entries.


===============================================================================


v7.0.1 Updates - Released August 3, 2008
-------------------------------------------------------------------------------
* Added "native" tabs and buttons images for XP and Vista.

* Fixed a few small bugs that sneaked through in 7.0 release.


===============================================================================


v7.0 Updates - Released August 1, 2008
-------------------------------------------------------------------------------
* Now cleans up after itself after an aborted installation and a restart and
not continue installation.

* Fixed the long loading time of large config.js files.

* Added Style tab to the Options wizard. Can select from 11 different Windows
skins, 5 Tabs skins, 7 Sliders skins, 32 Buttons skins, 17 Cursors (mouse
pointers), 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: 24
You 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 a
fixed 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=TimedWaitForDelete(delay,file,secs) to wait for a file to be
deleted. 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 to
finish. This can be used to check for the existance of the program's icon or
exe 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 can
be moved and minimized when working in Config wizard to see all the functions
and how to use them.

* Added Corp_WindowsXP theme. This was a seperate entity called WPI Corporate
but decided to merge the two together. This theme is meant to look just like a
regular Windows window with menus and tool bar. No fancy graphics. Meant to
be used in a business setting where crazy graphics are not needed. Be sure to
use "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 drive
then cddrv (%cdrom%) defaults to %wpipath%.

* Added function isInstalled().
Usage: isInstalled("Adobe Reader 8.1.2")
Returns: true or false
WARNING: 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()==64
Returns: 64 or 32

* Updated the buttons to CSS buttons. Can be customizable in the Buttons
folder 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 box

The list will add the latest item to the bottom and scroll it in to view. If
move scroll bar up to see previous entries, it will stay there. Scroll back
down to bottom to resume scrolling.

* Fixed a bug when creating a new Options file it would error at SortOrder
line. (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 get
instead of GetFileVersion() and GetDriveLetters(). Both will still work.

* Added function getTotalRAM().
Usage: getTotalRAM()>512
Returns: 1024 (megabytes)

* Added function getFreeRAM().
Usage: getFreeRAM()>300
Returns: 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\")>10000
Returns: number of bytes or -1 if not exists

* Added function getFileSize().
Usage: getFileSize("C:\test.txt")>100
Returns: 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:\")>75
Returns: 150 (gigabytes) or -1 if not exists

* Added function DriveTotalSize().
Usage: DriveTotalSize("C:")>=100  or  DriveTotalSize("C:\")>=100
Returns: 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 coordinates
Pick "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.exe
or other appropriate path.

* Added function getArchMHz().
Usage: getArchMHz()>1800
Returns: 2002	(2GHz)
Return: 1496	(1.5GHz)

* Added function getNumProcs().
Usage: getNumProcs()>1
Returns 1, 2, 4, etc.

* Added function getArchIdentifier().
Returns: x86 Family 15 Model 4 Stepping 8
Returns: x86 Family 6 Model 13 Stepping 8

* Added function getArchNameStrings().
Returns: AMD Athlon(tm) 64 Processor 3200+
Returns: Intel(R) Celeron(R) M processor   1.50GHz

* Added function getArchName().
Usage: getArchName()=="AuthenticAMD"
Returns: AuthenticAMD, GenuineIntel, etc.

* Added function getBits().
Usage: getBits()==64
Returns: 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.txt
for 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.