divingbrit Site Admin


↓ details
Joined: 21 Jul 2004
Member: #2 Posts: 1204 Location: sinking slowly
Computer OS : Win XP/ Vista/win7
Monitor: 20
Groups:
|
| Wpi - Dscussion at last nights meeting |
Posted: Thu May 27, 2010 1:11 pm |
• Rate Post |
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.
No longer will you need a dozen CD's or more when doing a fresh Installation. No longer will you need multiple files when you are servicing another PC. With Windows Post-Install Wizard all that you will need is 1 or 2 CD\DVD's to fully install your PC with all of your apps, scripts, registry files or tweaks. Instead of having to re-download those apps like adobe reader, flash or updates to programs you can have them all on one disk.
With your typical setup of WPI you have your OS and all of the apps, tweaks and such on one disk. After windows installs, WPI kicks in and you are given a selection of everything you have configured WPI with, then you can select the ones you want or simply let the timer run out and your default apps will install. |
_________________ Divers do it deeper, would you agree Anonymous
checkout www.lincolnshire2012.com |
|
divingbrit Site Admin


↓ details
Joined: 21 Jul 2004
Member: #2 Posts: 1204 Location: sinking slowly
Computer OS : Win XP/ Vista/win7
Monitor: 20
Groups:
|
| Re: wpi - Dscussion at last nights meeting |
Posted: Thu May 27, 2010 1:18 pm |
• Rate Post |
This is the code to silently install two programs, the program last night had 65!
Sample Config
Sample config.js
Important note: Every line that begins with "//" is treated as comment and therefore not processed.
Config.js can be edited manually, or - since Version 3.1 - with the configuration wizard.
Here is the contents of a sample config.js
The prog[0] declaration. this should give an example. It's not used by any script.
Code:
// Reference ... prog[0] won't be used. It's just an example.
//-----------------------------------------------------------
// pn=0; // start value for prog numbering
// prog[pn]=['ProgramName'];
// ordr[pn]=[0];
// desc[pn]=['Description'];
// uid[pn]=['APP1'];
// dflt[pn]=['no'];
// cat[pn]=['Application Category'];
// forc[pn]=['false'];
// configs[pn]=['List of configs to be auto checked for comma seprated'];
// deps[pn]=[];
// excl[pn]=[];
// cond[pn]=['Javascript Conditional Statement'];
//gcond[pn]=['Javascript Conditional Statement to gray item'];
// regb[pn]=['Registry Key Path'];
// cmd1[pn]=['CommandLine 1'];
// cmd2[pn]=['CommandLine 2'];
// cmd3[pn]=['CommandLine 3'];
// cmd4[pn]=['CommandLine 4'];
// cmd5[pn]=['CommandLine 5'];
// cmd6[pn]=['CommandLine 6'];
// rega[pn]=['Registry Key Path'];
// picf[pn]=['Picture File'];
// picw[pn]=['Width'];
// pich[pn]=['Height'];
// textl[pn]=['Text location'];
// pn++;
Now the program definitions follow...
//-----------------------
// Your programs here ...
//-----------------------
pn=1;
prog[pn]=['.NET Framework 2.0'];
ordr[pn]=[3];
uid[pn]=['NET'];
dflt[pn]=['yes'];
cat[pn]=['System'];
forc[pn]=['no'];
configs[pn]=['yes'];
gcond[pn]=['FileExists(\'%programfiles%\\\')'];
cmd1[pn]=['%wpipath%\\Install\\dotnetfx2.exe'];
picf[pn]=['belarc.png'];
picw[pn]=['128'];
pich[pn]=['128'];
textl[pn]=['Top'];
pn++;
prog[pn]=['WinRAR 3.60 Beta 3'];
ordr[pn]=[220];
uid[pn]=['WINRAR360BETA3'];
dflt[pn]=['yes'];
cat[pn]=['System'];
forc[pn]=['no'];
configs[pn]=['yes'];
gcond[pn]=['FileExists(\'%programfiles%\\\')'];
cmd1[pn]=['%wpipath%\\Install\\WinRAR.exe /S'];
rega[pn]=['%wpipath%\\Install\\regfiles\\winrar.reg'];
picf[pn]=['Winrar1.png'];
picw[pn]=['128'];
pich[pn]=['128'];
textl[pn]=['Top'];
pn++;
// ---- // ... End of program definitions ... // ---- //
|
_________________ Divers do it deeper, would you agree Anonymous
checkout www.lincolnshire2012.com |
|