Jump to content

restart betwen installs


Recommended Posts

Hello

I have made a Vista with wpi and everything works great..

But i have a question. is it possible to install 10 installs and then wpi restart the pc at keep going with the next.

if this is not possible is there anyway to do that. like firstlogoncomands and the secondlogoncomands.

Thank you for all the help so far :)

Link to comment
Share on other sites


Look in the commands button...

It is simply {reboot} 30

30 being the lentgh of time in seconds before it reboots... (Any number can go there)

Then WPI will pickup from where it left off.

Hello

you think like this...

i need to see how much time WPI is to install like 10 software and then set the time to that in the reboot. ?

Link to comment
Share on other sites

No, no, no..

On the 10th command add a new line that says {reboot} 30.

WPI will reboot 30 seconds after it reads that command.

so it would be the entries like so:

1

2

3

4

5

6

7

8

9

10

{reboot} 30

11

12

13

14

15.....

Thats how it works.

Hello

Thank you very much. i will try this now :)

Again thank you for the quick answere

Link to comment
Share on other sites

prog[pn]=['olympus'];

uid[pn]=['olympus'];

ordr[pn]=[33];

dflt[pn]=['yes'];

forc[pn]=['no'];

bit64[pn]=['no'];

cat[pn]=['Software'];

cmds[pn]=['%cdrom%\\Programmer\\Applications\\software\\olympus\\olympus.exe /S','{reboot} 05'];

gcond[pn]=['FileExists(\'%programfiles%\')'];

pn++;

This dosent work. WPI just stopped and dident do anything else. i just to reboot after 5 seconds

Link to comment
Share on other sites

Hello

I have try that you said and it dosent work right.

it install the 1-10 and then it reboot like it should but then i says failed and then restart again and the last 2 dosent instal.

Just to be sure the location correct, i try to run the last 2 software from the CD and then it installs. but if i try to install everything in windows. i just dos the same thing. as above

The log file wpi generate

14. april 2009 13:06:54 - cmd1 *** Fail *** (returned code undefined): \xxxx\xxx\xxx\xx\xxx.exe /q:a /c:"inst /l /q /norestart"

14. april 2009 13:06:54 - cmd1 *** Fail *** (returned code undefined): \xxxx\xxx\xxx\xx\xxx.exe /q:a /c:"inst /l /q /norestart"

WPI script useroptions.

// WPI Options 5.0+

//

// User defined options

//

// Window tab

Resolution=1024;

MainWindowWidth=800;

MainWindowHeight=600;

MainWindowX=-1;

MainWindowY=-1;

InstallerWindowX=25;

InstallerWindowY=25;

// Interface tab

ShowToolTips=true;

UseTransitions=false;

IndentText=false;

// Style tab

Theme='Windows';

RandomTheme=false;

BgPicture='';

// General tab

Configurations=[''];

ShowMultiDefault=true;

CheckOnLoad='default';

NumCols=3;

// ---

SortOrder=['Dotnet','Hotfix','Software','Applications','Dotnet 2'];

// ---

Timer=true;

Seconds=15;

StartBeepAtSecs=05;

// ---

ShowExtraButtons=true;

DoNotShowIfCD=true;

USSFSilentMode=false;

VerifyInstallHDD=false;

AllowCheckForInternet=false;

LoadDesktopBeforeInstall=false;

ReOpenAfterInstall=false;

DisableCatCheckBoxes=false;

SortWithinCats=false;

DisableOnDepsNotMet=true;

AlwaysUseScrollBar=true;

DontSplitCats=true;

InstallByCategory=true;

ReallyForce=false;

DisableIfDoGray=false;

InstallFonts=false;

ShowCommandInInstaller=true;

ShowInstallerImages=false;

AlwaysShowOutputWindow=false;

// ---

DefaultInstallPath='default';

CustomInstallPath=[''];

// ---

Language='da';

// Audio tab

PlayAudioInInstaller=false;

InstallAudio=[''];

Volume=75;

Shuffle=false;

CopyAudioFolder=false;

CopyAudioPath=['%systemdrive%\\WPI_Audio'];

DeleteAudioFolder=false;

// Tools tab

MonitorResolution=0;

MonitorDepth=0;

MonitorRefresh=0;

// ---

ExecuteBeforeEnabled=false;

ExecuteBeforebit64=false;

ExecuteBefore=[''];

ExecuteAfterEnabled=false;

ExecuteAfterbit64=false;

ExecuteAfter=[''];

// ---

RestartComputer=true;

RestartType=0;

RestartSeconds=15;

DoNotLoadDesktop=false;

// ---

LogInstallation=true;

LogPath=['%systemdrive%\\WPI_Log.txt'];

TimeStampLogFile=true;

Link to comment
Share on other sites

// WPI Config 7.2.0+

//

// User defined options

//

//---------------------------------------------------------------------------------------------

// Reference ... prog[0] won't be used. It's just an example.

// Look in program.js to see explanation of these properties.

//---------------------------------------------------------------------------------------------

// pn=0; // start value for prog numbering

// prog[pn]=['ProgramName'];

// uid[pn]=['APP1'];

// desc[pn]=['Description'];

// ordr[pn]=[0];

// dflt[pn]=['no'];

// bit64[pn]=['no'];

// forc[pn]=['false'];

// cat[pn]=['Application Category'];

// configs[pn]=['List of configs to be auto checked. Comma seperated'];

// cmds[pn]=['Command Lines'];

// deps[pn]=[];

// excl[pn]=[];

// cond[pn]=['Javascript Conditional Statement'];

// gcond[pn]=['Javascript Conditional Statement to gray item'];

// picf[pn]=['Picture File'];

// picw[pn]=['Width'];

// pich[pn]=['Height'];

// textl[pn]=['Text Location'];

// pn++;

//---------------------------------------------------------------------------------------------

// Your programs here ...

//---------------------------------------------------------------------------------------------

pn=1;

prog[pn]=['.Net Framework 3.5 Dansk'];

uid[pn]=['.NetFramework35Dansk'];

ordr[pn]=[1];

dflt[pn]=['yes'];

forc[pn]=['no'];

bit64[pn]=['no'];

cat[pn]=['Dotnet'];

cmds[pn]=['%cdrom%\\Programmer\\Applications\\Dotnet\\NetFramework35\\setup.exe /q:a /c:"inst /l /q /norestart"'];

gcond[pn]=['FileExists(\'%programfiles%\')'];

pn++;

prog[pn]=['.Net Framework 3.5 Dansk Sprog pakke'];

uid[pn]=['NETFRAMEWORKDANSKSPROGP'];

ordr[pn]=[2];

dflt[pn]=['yes'];

forc[pn]=['no'];

bit64[pn]=['no'];

cat[pn]=['Dotnet'];

cmds[pn]=['%cdrom%\\Programmer\\Applications\\Dotnet\\NetFramework35DanskSprogpakke\\setup.exe /q:a /c:"inst /l /q /norestart"'];

gcond[pn]=['FileExists(\'%programfiles%\')'];

pn++;

prog[pn]=['Windows6.0-KB938371-v2-x86'];

uid[pn]=['Windows6.0-KB938371-v2-x86'];

desc[pn]=['Windows6.0-KB938371-v2-x86<i>Recommended</i>'];

ordr[pn]=[3];

dflt[pn]=['yes'];

forc[pn]=['no'];

bit64[pn]=['no'];

cat[pn]=['Hotfix'];

cmds[pn]=['%cdrom%\\Programmer\\Applications\\hotfix\\Hotfix\\Windows6.0-KB938371-v2-x86.msu /quiet /norestart'];

gcond[pn]=['FileExists(\'%programfiles%\')'];

pn++;

prog[pn]=['Windows6.0-KB955069-x86'];

uid[pn]=['Windows6.0-KB955069-x86'];

desc[pn]=['Windows6.0-KB955069-x86<i>Recommended</i>'];

ordr[pn]=[4];

dflt[pn]=['yes'];

forc[pn]=['no'];

bit64[pn]=['no'];

cat[pn]=['Hotfix'];

cmds[pn]=['%cdrom%\\Programmer\\Applications\\hotfix\\Hotfix\\Windows6.0-KB955069-x86.msu /quiet /norestart'];

gcond[pn]=['FileExists(\'%programfiles%\')'];

pn++;

prog[pn]=['X86_IA64_AMD64-all-clwireg'];

uid[pn]=['X86_IA64_AMD64-all-clwireg'];

desc[pn]=['X86_IA64_AMD64-all-clwireg<i>Recommended</i>'];

ordr[pn]=[5];

dflt[pn]=['yes'];

forc[pn]=['no'];

bit64[pn]=['no'];

cat[pn]=['Hotfix'];

cmds[pn]=['%cdrom%\\Programmer\\Applications\\hotfix\\Hotfix\\X86_IA64_AMD64-all-clwireg.exe /Q /O /N /Z'];

gcond[pn]=['FileExists(\'%programfiles%\')'];

pn++;

prog[pn]=['X86_IA64_AMD64-all-ochelper_21'];

uid[pn]=['X86_IA64_AMD64-all-ochelper_21'];

desc[pn]=['X86_IA64_AMD64-all-ochelper_21<i>Recommended</i>'];

ordr[pn]=[6];

dflt[pn]=['yes'];

forc[pn]=['no'];

bit64[pn]=['no'];

cat[pn]=['Hotfix'];

cmds[pn]=['%cdrom%\\Programmer\\Applications\\hotfix\\Hotfix\\X86_IA64_AMD64-all-ochelper_21.exe /Q /O /N /Z'];

gcond[pn]=['FileExists(\'%programfiles%\')'];

pn++;

prog[pn]=['windows-kb890830-v2.8'];

uid[pn]=['windows-kb890830-v2.8'];

desc[pn]=['windows-kb890830-v2.8<i>Recommended</i>'];

ordr[pn]=[7];

dflt[pn]=['yes'];

forc[pn]=['no'];

bit64[pn]=['no'];

cat[pn]=['Hotfix'];

cmds[pn]=['%cdrom%\\Programmer\\Applications\\hotfix\\Hotfix\\windows-kb890830-v2.8.exe /Q /O /N /Z'];

gcond[pn]=['FileExists(\'%programfiles%\')'];

pn++;

prog[pn]=['Windows6.0-KB954459-x86'];

uid[pn]=['Windows6.0-KB954459-x86'];

desc[pn]=['Windows6.0-KB954459-x86<i>Recommended</i>'];

ordr[pn]=[8];

dflt[pn]=['yes'];

forc[pn]=['no'];

bit64[pn]=['no'];

cat[pn]=['Hotfix'];

cmds[pn]=['%cdrom%\\Programmer\\Applications\\hotfix\\Hotfix\\Windows6.0-KB954459-x86.msu /quiet /norestart'];

gcond[pn]=['FileExists(\'%programfiles%\')'];

pn++;

prog[pn]=['Adope Flash Player 10'];

uid[pn]=['AdopeFlashPlayer10'];

ordr[pn]=[30];

dflt[pn]=['yes'];

forc[pn]=['no'];

bit64[pn]=['no'];

cat[pn]=['Software'];

cmds[pn]=['%cdrom%\\Programmer\\Applications\\software\\aopeflashplayer10\\install_flash_player_10_active_x.exe /S'];

gcond[pn]=['FileExists(\'%programfiles%\')'];

pn++;

prog[pn]=['Java 13'];

uid[pn]=['Java13'];

ordr[pn]=[32];

dflt[pn]=['yes'];

forc[pn]=['no'];

bit64[pn]=['no'];

cat[pn]=['Software'];

cmds[pn]=['%cdrom%\\Programmer\\Applications\\software\\java\\jre-6u13-windows-i586-p-s.exe /q'];

gcond[pn]=['FileExists(\'%programfiles%\')'];

pn++;

prog[pn]=['Winrar 3.80'];

uid[pn]=['Winrar380'];

ordr[pn]=[33];

dflt[pn]=['yes'];

forc[pn]=['no'];

bit64[pn]=['no'];

cat[pn]=['Software'];

cmds[pn]=['%cdrom%\\Programmer\\Applications\\software\\winrar\\wrar380dk.exe /S','{REBOOT} 5'];

gcond[pn]=['FileExists(\'%programfiles%\')'];

pn++;

prog[pn]=['.Net Framework 3.5 Dansk Service Pack 1'];

uid[pn]=['.NetFramework35DanskSP1'];

ordr[pn]=[40];

dflt[pn]=['yes'];

forc[pn]=['no'];

bit64[pn]=['no'];

cat[pn]=['Dotnet 2'];

cmds[pn]=['%cdrom%\\Programmer\\Applications\\Dotnet\\NetFramework35SP1\\dotnetfx35setup_enu.exe /q:a /c:"inst /l /q /norestart"'];

gcond[pn]=['FileExists(\'%programfiles%\')'];

pn++;

prog[pn]=['.Net Framework 3.5 Dansk Service Pack 1 Dansk Sprog'];

uid[pn]=['.NetFramework35DanskSP1Dk'];

ordr[pn]=[41];

dflt[pn]=['yes'];

forc[pn]=['no'];

bit64[pn]=['no'];

cat[pn]=['Dotnet 2'];

cmds[pn]=['%cdrom%\\Programmer\\Applications\\Dotnet\\NetFramework35SP1DK\\X86_IA64_AMD64-all-ndp35sp1.exe /Q /O /N /Z'];

gcond[pn]=['FileExists(\'%programfiles%\')'];

pn++;

//---------------------------------------------------------------------------------------------

// End of program definitions ...

//---------------------------------------------------------------------------------------------

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...