windows installation software, windows installer
         
 

QSetup
QSetup
Program Highlights
Testimonials
Customers
Download
PRO, STUDIO, LITE & DEMO
Buy Now!
Snapshots


Features
64 bit Support
Language
Setup Language
Composer Language
Execute Engine
Condition Commands
Execution Commands
Auto Update & Auto Inform
Custom Dialogs
Tokenized Serial Numbers
Code Signing
Compare
Version History


MSI
MSI Support
SuperOrca
MSI Error Codes


Support
Support
Samples
Notepad
QSTP
QSTP - Auto Update
QSTP - Auto Inform
How to
FAQ
Resellers






 
   
 
Condition Commands

Condition Commands


Most "Condition Commands" accept 1 parameter.
Some commands accept 2 parameters.
Some commands are using a comparison with the following options:
  • =     Equal
  • !=    Not Equal
  • >     Greater then
  • <     Less then
  • >=   Greater or Equal
  • <=   Less then or Equal
On the right of every "Argument" edit box you will find a [Browse] button.
Use this button to select the appropriate argument. Using this selection will guarantee that the argument you have entered is valid.

Many of the arguments deal with Files or Directories. In most cases Files & Directories Must be defined using special tokens like <InstallDir> or <WinDir>. Use the browse button to select the correct definition.

In most of the times you will select only one argument, but in some cases the system will allow you to select several arguments from a selection list. Use the Shift & Ctrl keys for multiple selection.

To see a snapshot of the "Define Execution Item" dialog Click Here.


 Command & Arguments  Remark/Sample
Files & Directories
File Found
    Arg-1: File name

Directory Found
    Arg-1: Directory name

Drive Found
    Arg-1: Drive letter

A,B,C...
Text Found in File
    Arg-1: File Name
    Arg-2: Search String

File Found (HTTP)
    Arg-1: URL of the Source file

Start the URL with HTTP://
File Attribute is in
    Arg-1: File Name
    Arg-2: Select Attribute(s)


Possible attributes: READONLY, HIDDEN, SYSTEM, ARCHIVE
File is Locked
    Arg-1: File name

Application
Application Found
    Arg-1: Application file name

sample: Winword.exe
Application Path Found
    Arg-1: Application file name

sample: Winword.exe
Application Version is
    Arg-1: Application file name
    COMPARE
    Arg-2: File version string

sample: Winword.exe

Sample: 1.0.9.4
Application is Running
    Arg-1: Application file name

sample: Winword.exe
 * APPLICATION is a program that registered itself under Windows by adding the following 2 keys to the registry:
    HKEY_LOCAL_MACHINE\Software\CompanyName\ProgramName
    HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\App Paths\ProgExe
Miscellaneous 1
Exe is Running
    Arg-1: Executable full path

Service is Running
    Arg-1: Service name

Operating System is in
    Arg-1: Operating Systems identifiers
Select one or more of the following parameters:
95, 98, ME, NT, 2000, XP, 2003
File Version is
    Arg-1: Executable full path
     COMPARE
    Arg-2: File version string



Sample: 1.0.9.4
HWindow is Found
    Arg-1: Class Name
    Arg-2: Window Name
This condition calls the FindWindow() API function. - You must provide at least one of the parameters
Local Language is in
    Arg-1: Language Name

Select one or more Language name(s)
Selected Language is in
    Arg-1: Language Name

Select one or more Language name(s)
File Size is (Bytes)
    Arg-1: File full path
     COMPARE
    Arg-2: File size in bytes



Sample: 1048576
File Date and Time is
    Arg-1: File full path
     COMPARE
    Arg-2: Date and Time



Sample: 28-02-2004 13:31
Internet Connection OK
Last Executable Exit Code is
    Arg-1:
     COMPARE
    Arg-2: Enter required exit code

Printer Installed
    Arg-1: Enter Printer Name.
Registry
Registry Key Found
    Arg-1: Registry Key

HKEY_CURRENT_USER\Software\Microsoft
Registry Value Found
    Arg-1: Registry Key
    Arg-2: Registry Value string

HKEY_CURRENT_USER\Software\Microsoft
Registry Value is
    Arg-1: Registry Value Name
     COMPARE
    Arg-2: Value

HKEY_CURRENT_USER\software\microsoft\excel

String or Integer
Environment
Environment Variable Found
    Arg-1: Environment Variable name

Sample: PATH
Environment Variable Is
    Arg-1: Environment Variable name
     COMPARE
    Arg-2: String value

This is a Case Sensitive comparison
Environment Variable Is (UpCase)
    Arg-1: Environment Variable name
     COMPARE
    Arg-2: String value

This is a NON Case Sensitive comparison
Hardware
Memory Size is (MB)
     COMPARE
    Arg-2: Memory available to Windows


Integer (MEGA-Bytes)
CPU Speed is (MHz)
     COMPARE
    Arg-2: CPU Speed


Integer (MEGA-Hertz)
Screen Resolution is
     COMPARE
    Arg-2: Select Screen Resolution
Select any of the following:
640x480, 800x600, 1024x768, 1152x864, 1280x960, 1280x1024, 1600x1024, 1600x1200
Color Depth is
     COMPARE
    Arg-2: Select Color Depth
Select any of the following:
256 (8 bit), 32K (15 bit), 64K (16 bit),
16M (24 bit), TrueColor (32 bit)
Disk Free Space is (MB)
    Arg-1: Directory Path
     COMPARE
    Arg-2: Enter Value in MEGA-Bytes
X64
Running on 64 Bit OS
64 Bit State is ON
Modules
.NET Framework Version is in
    Arg-1: Version Number:
Select one or more of the following parameters:
1.0, 1.1, 2.0
Visual Basic Runtime Found
    Arg-1: Version Number

5, 6
ADO(MDAC) Version is
     COMPARE
    Arg-2: Version Number

Select any of the following:
1.0, 1.5, 2.0, 2.1, 2.5, 2.6, 2.7
MS-ACCESS Version is
     COMPARE
    Arg-2: Version Number
Select any of the following:
97, 97-SR1, 97-SR2,
2000, 2000-SR1, 2000-SR2, XP
SQL(MSDE) Version is
     COMPARE
    Arg-2: Version Number


Enter Version
ODBC Installed
BDE Installed
DirectX Version is
     COMPARE
    Arg-2: Version Number
Select any of the following:
1.0, 2.0, 3.0, 3.0a, 5.0, 6.0, 7.0, 7.0a,
8.0, 8.1, 9.0, 9.0a, 9.0b
Media Player Version is
     COMPARE
    Arg-2: Version Number


Enter Version
JDK Version is
     COMPARE
    Arg-2: Version Number
Select any of the following:
1.0, 1.1, 1.1.6.9, 1.1.8.10, 1.2, 1.2.1.4, 1.2.2.17, 1.3, 1.3.0.5, 1.3.1, 1.3.1.8, 1.4, 1.4.0.4, 1.4.1, 1.4.1.4, 1.4.2, 1.5
JRE Version is
     COMPARE
    Arg-2: Version Number
Select any of the following:
1.0, 1.1, 1.1.6.9, 1.1.8.10, 1.2, 1.2.1.4, 1.2.2.17, 1.3, 1.3.0.5, 1.3.1, 1.3.1.8, 1.4, 1.4.0.4, 1.4.1, 1.4.1.4, 1.4.2, 1.5
DAO Installed
    Arg-1: Version Number
Select any of the following:
3.5, 3.6
Visual J# Version is
     COMPARE
    Arg-2: Version Number
Select any of the following:
1.0, 1.1, 1.2
Internet Explorer Version is
     COMPARE
    Arg-2: Version Number
Select any of the following:
4.40.308, 4.40.520, 4.70.1155, 4.70.1158, 4.70.1215, 4.70.1300, 4.71.544, 4.71.1008.3, 4.71.1712.6, 4.72.2106.8, 4.72.3110.8, 4.72.3612.1713, 5.00.0518.10, 5.00.0910.1309, 5.00.2014.0216, 5.00.2314.1003, 5.00.2614.3500, 5.00.2516.1900, 5.00.2919.800, 5.00.2919.3800, 5.00.2919.6307, 5.00.2920.0000, 5.00.3103.1000, 5.00.3105.0106, 5.00.3314.2101, 5.00.3315.1000, 5.00.3502.1000, 5.00.3700.1000, 5.50.3825.1300, 5.50.4030.2400, 5.50.4134.0100, 5.50.4134.0600, 5.50.4308.2900, 5.50.4522.1800, 5.50.4807.2300, 6.00.2462.0000, 6.00.2479.0006, 6.00.2600.0000, 6.00.2800.1106, 6.00.2900.2180, 6.00.3663.0000, 6.00.3718.0000, 6.00.3790.0000, 7.0.5730.11, 7.0.5384.4
Flash Player Version is
     COMPARE
    Arg-2: Version Number
Acrobal Reader Version is
     COMPARE
    Arg-2: Version Number
SQL Express Version is
     COMPARE
    Arg-2: Version Number


Select any of the following:
9.00.3042.00
MS JET 3.5 Version is
     COMPARE
    Arg-2: Version Number
MS JET 4.0 Version is
     COMPARE
    Arg-2: Version Number
IIS Version is
     COMPARE
    Arg-2: Version Number
Visual C++ Redistributable Found
    Arg-1: Version Number
Select any of the following:
Microsoft Visual C++ 2005
Microsoft Visual C++ 2008
Microsoft Visual C++ 2010
Miscellaneous 2
Ask Yes/No
    Arg-1: Message text
Display a MessageBox with 2 buttons
[YES] & [NO]
Ask OK/Cancel
    Arg-1: Message text
Display a MessageBox with 2 buttons
[OK] & [Cancel]
Setup Type is
     COMPARE
    Arg-2: Setup Type

Select any of the following:
Typical, Compact, Custom, Complete, Partial
Group Selected
    Arg-1: Group Name
Select one group from the set of groups you defined on the "Files" page
Auto Update is Running
Billboard is Running
Admin
User Name is
    Arg-1: User Name
As entered by the user during setup.
Test is Case NON Sensitive.
Company Name is
    Arg-1: Comapny Name
As entered by the user during setup.
Test is Case NON Sensitive.
Serial Number is
    Arg-1: Serial Number
    Arg-2: Case Sensitivity
As entered by the user during setup.

Select: Case NON Sensitive / Case Sensitive.
User is ADMINISTRATOR
User Privileges is in
    Arg-1: Comapny Name
As entered by the user during setup.
Test is Case NON Sensitive.
Custom Dialogs
Control Text is
    Arg-1: Variable Name
     COMPARE
    Arg-2: Value

Control Text is Empty
    Arg-1: Variable Name

Control Item Index is
    Arg-1: Variable Name
     COMPARE
    Arg-2: Value
Control is Checked
    Arg-1: Variable Name
Variables
Compare 1 Variable
    Arg-1: Variable Name
     COMPARE
    Arg-2: Value

Compare 2 Variables
    Arg-1: FIRST Variable Name
     COMPARE
    Arg-2: SECOND Variable Name

Text Found in Variable
    Arg-1: Text to find
    Arg-2: Variable Name

Any string
Variable Found in Text
    Arg-1: Variable Name
    Arg-2: Text


Any string
Variable Found in Variable
    Arg-1: FIRST Variable Name
    Arg-2: SECOND Variable Name
Variable is Empty
    Arg-1: Variable Name
Variable Length is
    Arg-1: Variable Name
     COMPARE
    Arg-2: Length



Integer value

 
     

 
 
  Home | QSetup | MSI | Download | Order | News | About Us | Contact Info| Site Map | Privacy Policy  
  Last edited: 11-FEB-2016  –  Copyright 2002-2016 Pantaray Research, All Rights Reserved.