kmosh Posted May 11, 2010 Share Posted May 11, 2010 (edited) 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 May 11, 2010 by kmosh Link to comment Share on other sites More sharing options...
stsaerox Posted October 15, 2012 Share Posted October 15, 2012 (edited) I'm trying also to add multiple conditions. For example:getBits()==32, getOSver()=="Win7"How these can be separated? Like above will really work? Edited October 15, 2012 by stsaerox Link to comment Share on other sites More sharing options...
ricktendo Posted October 15, 2012 Share Posted October 15, 2012 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 themgetBits()==32&&getOSver()=="Win7" Link to comment Share on other sites More sharing options...
stsaerox Posted October 15, 2012 Share Posted October 15, 2012 Thank you I'll try this right now. Link to comment Share on other sites More sharing options...
Kelsenellenelvian Posted October 16, 2012 Share Posted October 16, 2012 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 ToLogical operators"&&" AND"||" OR"!" NOT Link to comment Share on other sites More sharing options...
stsaerox Posted October 16, 2012 Share Posted October 16, 2012 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 ToI'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 More sharing options...
Kelsenellenelvian Posted October 16, 2012 Share Posted October 16, 2012 You bring up a valid point as there are a couple of areas I still have yet to fully flesh out in the manual.MOST of the things you posted are for file version comparisons and related things. Link to comment Share on other sites More sharing options...
stsaerox Posted October 18, 2012 Share Posted October 18, 2012 (edited) 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 themgetBits()==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 October 18, 2012 by stsaerox Link to comment Share on other sites More sharing options...
ricktendo Posted October 18, 2012 Share Posted October 18, 2012 (edited) I don't think you need && for cmdlines, plus look at your x86 line it has {x64} (that's why it fails) Edited October 18, 2012 by ricktendo64 Link to comment Share on other sites More sharing options...
stsaerox Posted October 18, 2012 Share Posted October 18, 2012 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 More sharing options...
myselfidem Posted October 18, 2012 Share Posted October 18, 2012 You can use or not use {BATCH} command...But you must take care to use correctly:{BATCH} "%wpipath%\Install\sys\TU\Installx64.bat"{BATCH} "%wpipath%\Install\sys\TU\Installx32.bat"Enjoy! Link to comment Share on other sites More sharing options...
stsaerox Posted October 18, 2012 Share Posted October 18, 2012 It seems that I've already did in my last test. Thank you. Link to comment Share on other sites More sharing options...
Kelsenellenelvian Posted October 19, 2012 Share Posted October 19, 2012 Please be aware WPI is not free for business uses. Link to comment Share on other sites More sharing options...
stsaerox Posted October 20, 2012 Share Posted October 20, 2012 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 More sharing options...
Kelsenellenelvian Posted October 21, 2012 Share Posted October 21, 2012 (edited) 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 October 21, 2012 by Kelsenellenelvian Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now