Jump to content

WPI 8 conditions


Recommended Posts

Hi,

Can I set multiple conditions?

I've tried "cond1" and "cond2" or

"cond1"

"cond2"

But then WPI fails to load the config. It comes up empty.

For example, I want to prepare my WPI to fit 32/64 bit and XP/WIN7, so I try to check OS ver and bit...

Edited - sorry, just found the option exist, although not in the manual...

Edited by kmosh
Link to comment
Share on other sites

  • 2 years later...

Edited - sorry, just found the option exist, although not in the manual...

SERIOUSLY???

Come on guys:

Comparison operators

">" Greater Than

"<" Less Than

">=" Greater Than or Equal To

"<=" Less Than or Equal To

"==" Equal To (not "=", which assigns a value to a variable.)

"!=" Not Equal To

Logical operators

"&&" AND

"||" OR

"!" NOT

Link to comment
Share on other sites

Ok they are in chapter 7 but even now I cannot understand how could I use them or where. I know some english but to get the reasoning I need examples in some cases.

Comparison operators

">" Greater Than

"<" Less Than

">=" Greater Than or Equal To

"<=" Less Than or Equal To

"==" Equal To (not "=", which assigns a value to a variable.)

"!=" Not Equal To

I'm ok with && but none of the above I Know how to use. I'm not asking right now for examples... Just mentioning...

Link to comment
Share on other sites

I'm trying also to add multiple conditions. For example:

getBits()==32, getOSver()=="Win7"

How these can be separated? Like above will really work?

Use "&&" to separate them

getBits()==32&&getOSver()=="Win7"

According to this I've tried something else but the batch will not run... Can you help me?

{x64}&&{BATCH} "%wpipath%\Install\sys\TU\Installx64.bat"
{x64}&&{BATCH} "%wpipath%\Install\sys\TU\Installx32.bat"

In x86 system it normally skips x64 command but the the x86 fails.... Does logical operators "&&" work in commands tab or only in condition tab?

Edited by stsaerox
Link to comment
Share on other sites

Oh the second is {x86}, I've typed it wrong there. The {x64} skips and the {x86}&&{BATCH} fails.

It is Ok now I removed the {BATCH} command. I thought that I must type {BATCH} to run a ".bat"

Thanks again.

Link to comment
Share on other sites

I don't earn profit from using wpi or a business to use it as a tool, if I use wpi to repair my family's pc and laptop and 2-3 friends of mine once in one or two years is it considered as business use?

Link to comment
Share on other sites

The reason why I felt you were using it in a business setting:

The quoted section is from you.

If you fixed this many network administrators may be happy. A proper wpi always releases our hands.

(You are REALLY up in arms about network support.)

You HAVE so many different options for the same thing in your config file.

(3+ versions of vlc and winamp???)

You are very damanding about things and issues I have NO clue you are having.

You say you have issues running WPI from a network, then you say you cannot upgrade your WPI (Without mentioning you are starting from several versions back)

IF you are having a issue then tell me exactly what the issue is. i.e. Error message, when WPI is ran, HOW wpi is started, windows version, ie version, provide config files, what you thought it would do anything else that will help.

Otherwise I will start ignoring ANY posts you make and urge others to do so...

New versions of WPI will NOT support networks AT ALL without proper permissions\unlocking.

See:

http://www.msfn.org/board/topic/158770-important-news-regarding-wpi-licensing/

Edited by Kelsenellenelvian
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...