Thread: DiskSpan GUI
View Single Post
  #11  
Old 27-07-2024, 00:41
pcblizzard pcblizzard is offline
Registered User
 
Join Date: Aug 2009
Location: Germany
Posts: 32
Thanks: 65
Thanked 3 Times in 3 Posts
pcblizzard is on a distinguished road
Quote:
Originally Posted by Cesar82 View Post
[...]
Code:
- Added support for boolean operators in the edit boxes Components, Tasks and Languages (Script "ISDone_Example.iss" updated). 
  >> The values of these edit boxes will be written to the keys in "Records.ini" file: Component=, Task=, Language=. 
  >> Now be possible use the "|" (OR character), or the "&" (AND character), or the "!" (NOT caracter), and you can also use "(" and ")" to determine the parse order of the expression.
  >> It is not necessary to duplicate the "|" or "&" characters as in C programming, even the DiskSpan GUI iterface blocks this action.
  >> For compatibility it is also possible to use the old separator character "," (Comma) as it will be interpreted as "|" (OR operator), and you can also use the "+" character like "&" (AND operator).  
    Component=1,3     //return true if component 1 or 3 checked.
    Component=2+4     //return true if component 2 and 4 checked.
    Component=!(2+4)  //return true if component 2 and 4 unchecked.
    Component=!1,!3   //return true if component 1 or 3 unchecked.
    Task=1&2&!4       //return true if task 1 and 2 checked and task 4 unchecked.
    Task=!1&2&|4      //return true if task 1 unchecked and 2 checked or task 4 checked.
    Task=(2|3)|!(3&5) //return true if task 2 or 3 checked or task 3 or 5 unchecked (even if not checked 3 and 5).
    Language=!ES|!DE  //return true if the installer is not running in ES language and not in DE language.
    Language=EN|PL    //return true if the installer is running in EN or PL language (same as Language=EN,PL).
[...]
Has the feature ‘Component=1,3’ been removed? As soon as I exit DiskSpan GUI (I have saved the settings I made) and restart DiskSpan GUI in dev mode, the setting I made previously is missing (in this case ‘1,2,3,4’ - in ‘Tasks’, for example, the entry ‘1,2,3,4’ remains after a restart).

I noticed this in version 2.0.1.7 and in the latest version (2.0.2.0).


KR pcblizzard

Last edited by pcblizzard; 28-07-2024 at 05:45.
Reply With Quote
The Following User Says Thank You to pcblizzard For This Useful Post:
Cesar82 (27-07-2024)