-
Notifications
You must be signed in to change notification settings - Fork 5
Using Windows Post Install Wizard
Andrey Klimov edited this page Dec 17, 2019
·
1 revision
- Download and extract WPI.
- Open WPKG Express 2 in web browser and navigate to menu
Windows Post-Install Wizard
->List of packages for WPI
; - Download WPI configuration files. To do this in the page menu, click on the following items:
-
Download WPI configuration file
; -
Download WPKG configuration file for WPI
; -
Profiles of WPKG for WPI
; -
Hosts of WPKG for WPI
.
-
- Download and extract WPKG;
- Copy next files to
/path/to/WPI/Tools/Wpkg
:-
config.xml
; -
hosts.xml
; -
profiles.xml
; -
wpkg.js
.
-
- Copy main configuration file
config.js
to/path/to/WPI/UserFiles
. - Run
WPI.exe
and pressF2
to open theOptions Wizard
; - Open the
Tools
tab and find groupsExecute before
andExecute after
:- select the checkboxes
Script or program to execute before installation begins.
andScript or program to execute after installation is complete.
; - insert the following line in the text inputs:
%ComSpec% /C del /F /Q "%TEMP%\wpkg-wpi.xml"
; - press the
Save
andExit
buttons.
- select the checkboxes
The structure of the directory containing WPI
WPI.exe
+-- Tools
| +-- Wpkg
| +-- config.xml
| +-- hosts.xml
| +-- profiles.xml
| +-- wpkg.js
+-- UserFiles
+-- config.js
- Open WPKG Express 2 in web browser and navigate to menu
Windows Post-Install Wizard
->List of packages for WPI
; - In the page menu, click on the menu item
Add package WPI
; - Select a package and category from the list;
- If necessary, use the
Default
andForcibly
flags to install the default package or force the package to execute; - Click the
Save
button.
- Open WPKG Express 2 in web browser and navigate to menu
Windows Post-Install Wizard
->List of packages for WPI
; - In the page menu, click on the menu item
Categories
; - Click the
plus
button to add a new category; - Enter the name of the new category and click the
Save
button.
- Change to the temporary directory, e.g.:
cd %TEMP%
; - View log files by pattern
wpkg-wpi-%COMPUTERNAME%@*.log
.