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






 
   
 
Execution Commands

Execution Commands


Most "Execution Commands" accept 1 parameter.
Some commands accept 2 or 3 parameters.

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.


'|631|1|91|1| 0|1| 0|0|000|Write XML Value|Enter XML File Name|Enter XML Path|Enter Value|', '|632|1|91|1| 0|0| 0|0|000|Delete XML Value|Enter XML File Name|Enter XML Path|', '|633|1|91|1| 0|1| 0|0|001|Read XML Value|Enter XML File Name|Enter XML Path|Enter Variable Name|', '|634|1|91|1| 0|0| 0|0|000|Create XML Node|Enter XML File Name|Enter XML Path|', '|635|1|91|1| 0|0| 0|0|000|Delete XML Node|Enter XML File Name|Enter XML Path|', Select Button|Select Enable, Disable or Default|In current dialog only
 Command & Arguments  Remark/Sample
Files
Delete File(s)
    Arg-1: File name
Use * as wild card if required (*.TXT, *.*)
Copy File(s)
    Arg-1: Source file name
    Arg-2: Target file name
    Arg-3: Display in "Copy Files" dialog
_            progress bar
Use * as wild card if required


TRUE/FALSE - valid only at "After Copy" stage
Move File(s)
    Arg-1: Source file name
    Arg-2: Target file name
    Arg-3: Display in "Copy Files" dialog
_            progress bar
Use * as wild card if required


TRUE/FALSE - valid only at "After Copy" stage
Rename File(s)
    Arg-1: Source file name
    Arg-2: Target file name
Use * as wild card if required
Set File(s) Attributes
    Arg-1: File Name
    Arg-2: File Attribute
Use * as wild card if required
Select one or more attributes:
Normal, ReadOnly, Hidden, System, Archieve
Allow Full Access File(s)
    Arg-1: File name
Valid only on NTFS Drive
Use * as wild card if required
Download File (HTTP)
    Arg-1: URL of the Source file
    Arg-2: Target file name

Start the URL with HTTP://
Open CAB File
    Arg-1: Enter CAB File Name
    Arg-2: Enter Target Directory
    Arg-3: Display in "Copy Files" dialog
_            progress bar



TRUE/FALSE
Copy File Delayed
    Arg-1: Enter Source File Name
    Arg-2: Enter Target File Name
    Arg-3: Display in "Copy Files" dialog
_            progress bar
The file will be copied only after a restart


TRUE/FALSE
Get Short PathName
    Arg-1: Enter Path of file or directory
    Arg-2: Enter variable name to hold the
              result
Translate from full path to 8,3 path
You must specify a path of an existing file or directory
Get Expanded PathName
    Arg-1: Enter Path of file or directory
    Arg-2: Enter variable name to hold the
              result
Translate from 8,3 path to full path
You must specify a path of an existing file or directory
Get Network PathName
    Arg-1: Enter Path of file or directory
    Arg-2: Enter variable name to hold the
              result
Retreive the network name of a mapped dirctory
You must specify a path of an existing file or directory
Directories
Create Directory
    Arg-1: Directory Name
Remove Directory
    Arg-1: Directory Name
The directory will be removed only if it is empty
Force Remove Directory
    Arg-1: Directory Name
All files and subdirectories will be deleted and then the directory removed
Set Working Directory
    Arg-1: Directory Name
If necessary use this command before issuing a "WinExec" or "ShellExecute" command
Copy Directory Tree
    Arg-1: Source directory name
    Arg-2: Target directory name
    Arg-3: Display in "Copy Files" dialog
_            progress bar



TRUE/FALSE - valid only at "After Copy" stage
Rename Directory
    Arg-1: Source directory full path
    Arg-2: destination directory NAME

Set Folder To
    Arg-1: Select Folder
    Arg-2: Destination directory name

Select any of the Folders you defined on the "Files" page
Allow Full Access Directory
    Arg-1: Directory Name
Valid only on NTFS Drive
Set Directory Attributes
    Arg-1: Directory Name
    Arg-2: Directory Attributes

Select one or more attributes:
Normal, ReadOnly, Hidden, System, Archieve
Application
Delete Application Executable
    Arg-1: Application file name

Sample: Winword.exe
Remove Application Directory
    Arg-1: Application file name

Sample: Winword.exe
UnInstall Application
    Arg-1: Application descriptive name

As appears under Add/Remove programs
Run Application
    Arg-1: Application file name
    Arg-2: Parameters
    Arg-3: Show Command

Sample: Winword.exe

SW_SHOW, SW_HIDE, SW_RESTORE, Etc...
Run Application and Wait
    Arg-1: Application file name
    Arg-2: Parameters
    Arg-3: Show Command
Run the app. and wait until it terminates
Sample: Winword.exe

SW_SHOW, SW_HIDE, SW_RESTORE, Etc...
Shut Down Application
    Arg-1: Application file name
    Arg-2: Shut Down Method

Sample: Winword.exe
Select any of the following:
  Using WM_CLOSE
  Using WM_QUIT
  Using Terminate Process
Wait Whie 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
Executable
Shut Down Executable
    Arg-1: Executable file name
    Arg-2: Shut Down Method

Enter a FullPath or just a FileName
Select any of the following:
  Using WM_CLOSE
  Using WM_QUIT
  Using Terminate Process
Run Executable
    Arg-1: Executable full path
    Arg-2: Parameters
    Arg-3: Show Command



SW_SHOW, SW_HIDE, SW_RESTORE, Etc...
Run Executable and Wait
    Arg-1: Executable full path
    Arg-2: Parameters
    Arg-3: Show Command
Run the program and wait until it terminates


SW_SHOW, SW_HIDE, SW_RESTORE, Etc...
Shell Execute
    Arg-1: File Name
    Arg-2: Parameters
    Arg-3: Show Command

Sample: SalesReport.doc

SW_SHOW, SW_HIDE, SW_RESTORE, Etc...
Shell Execute and Wait
    Arg-1: File Name
    Arg-2: Parameters
    Arg-3: Show Command
Wait until it terminates
Sample: SalesReport.doc

SW_SHOW, SW_HIDE, SW_RESTORE, Etc...
Run Batch File
    Arg-1: Batch File full path
    Arg-2: Parameters
    Arg-3: Show Command



SW_SHOW, SW_HIDE, SW_RESTORE, Etc...
Run Batch File and Wait
    Arg-1: Batch File full path
    Arg-2: Parameters
    Arg-3: Show Command
Run the Batch File and wait until it terminates


SW_SHOW, SW_HIDE, SW_RESTORE, Etc...
Run MSI File
    Arg-1: MSI File full path
    Arg-2: Parameters
    Arg-3: Show Command



SW_SHOW, SW_HIDE, SW_RESTORE, Etc...
Run MSI File and Wait
    Arg-1: NSI File full path
    Arg-2: Parameters
    Arg-3: Show Command
Run the MSI File and wait until it terminates


SW_SHOW, SW_HIDE, SW_RESTORE, Etc...
Delete Running Executabe
    Arg-1: Enter executable file name
    Arg-2: Only if running
Wait until the executable terminates and then erase it.

TRUE/FALSE
Wait while Exceutable is Running
    Arg-1: Executable file name
    Arg-2: Max wait time in seconds


0=forever
Wait while Application is Running
    Arg-1: File name or doc name
    Arg-2: Max wait time in seconds


0=forever
Set Compatibility Mode
    Arg-1: Enter executable full path
    Arg-2: Select compatibility mode flag
    Arg-3: Select User
Set compatibility mode with other operating systems


Current User/All Users
Run DLL
    Arg-1: Enter dll file name
    Arg-2: Enter function name
Run a specific function from a dll and WAIT until the function returns. (only functions without parameters).
Run DLL No Wait
    Arg-1: Enter dll file name
    Arg-2: Enter function name
Run a specific function from a dll and DON'T WAIT for the function to return. (only functions without parameters).
NT Service
Create Service
    Arg-1: Service File Path
    Arg-2: Service name
    Arg-3: Service Display Name
Create a regular Service
using SERVICE_WIN32_OWN_PROCESS as dwServiceType parmeter
Create Interactive Service
    Arg-1: Service File Path
    Arg-2: Service name
    Arg-3: Service Display Name
Create a regular Service that can interact with the desktop.
using SERVICE_WIN32_OWN_PROCESS | SERVICE_INTERACTIVE_PROCESS as dwServiceType parmeter
Create Kernel Service
    Arg-1: Service File Path
    Arg-2: Service name
    Arg-3: Service Display Name
Create a Kernel Driver Service
using SERVICE_KERNEL_DRIVER as dwServiceType parmeter
Create File Service
    Arg-1: Service File Path
    Arg-2: Service name
    Arg-3: Service Display Name
Create a File System Driver Service
using SERVICE_FILE_SYSTEM_DRIVER as dwServiceType parmeter
Create Shared Service
    Arg-1: Service File Path
    Arg-2: Service name
    Arg-3: Service Display Name
Create a Shared Service that can interact with the desktop.
using SERVICE_WIN32_SHARE_PROCESS | SERVICE_INTERACTIVE_PROCESS as dwServiceType parmeter
Create Interactive Shared Service
    Arg-1: Service File Path
    Arg-2: Service name
    Arg-3: Service Display Name
Create a File System Driver Service
using SERVICE_WIN32_SHARE_PROCESS as dwServiceType parmeter
Start Service
    Arg-1: Service name

Stop Service
    Arg-1: Service name

Pause Service
    Arg-1: Service name

Continue Service
    Arg-1: Service name

Remove Service
    Arg-1: Service name

 * SERVICE is a program designed to run under an NT-Class machine (NT, 2000, XP, 2003).
    In most cases a service is automatically started by the OS before the user login.
Servers & Drivers
Register OCX/COM Server
    Arg-1: File name

UnRegister OCX/COM Server
    Arg-1: File name

ODBC Config Data Source
    Arg-1: ODBC Request
    Arg-2: ODBC Driver
    Arg-3: Attributes

ODBC_ADD_DSN, ODBC_CONFIG_DSN, Etc...
SQL Server, Microsoft Access Driver (*.mdb), Etc...
DSN=Test<0>DESCRIPTION=MyTest<0>DBQ=C:\MyDB\MyDataBase.mdb
     <0> = LessThen + Zero + GreaterThen
     Will be replace with ASCII(0) at runtime
Install Screen Saver
    Arg-1: File name

Install .INF File
    Arg-1: File name
    Arg-2: Reboot if necessary


TREU/FALSE
Register .NET Assembly
    Arg-1: File name

UnRegister .NET Assembly
    Arg-1: File name

 * OCX/COM Server is a special DLL that provides services to other applications.
    An OCX/COM Server must be registered under Windows.
 * .NET Assembly is a special DLL that provides services to other .NET applications.
IIS
Create IIS Virtual Directory
    Arg-1: Physical Directory Path
    Arg-2: Virtual Directory Name
    Arg-3: Permissions & Site



A combination of the following values:
Read Access, Write Access, Execute Access, Script Access, INPROC, OOP
Remove IIS Virtual Directory
    Arg-1: Virtual Directory Name
    Arg-2: Site


One of the following values: INPROC, OOP
Create IIS Application
    Arg-1: Metabase Path
    Arg-2: Site


One of the following values: INPROC, OOP
Remove IIS Application
    Arg-1: Metabase Path

GAC
Install Assembly in the GAC
    Arg-1: Enter Assembly Path
    Arg-2: Force Reinstall (TRUE/FALSE)

UnInstall Assembly from the GAC
    Arg-1: Enter Assembly Name or Path
    Arg-2: Force UnInstall (TRUE/FALSE)

Without the .DLL
X64
Set 64 bit State
Set the WOW64 redirection flag to 64-bit state.
Set 32 bit State
Set the WOW64 redirection flag to 32-bit state.
Restore Original Setup State
Restore the WOW64 redirection flag to the default state as defined on the "Switches" page.
Registry
Create Registry Key
    Arg-1: Registry Key

HKEY_CURRENT_USER\software\microsoft\excel
Remove Registry Key
    Arg-1: Registry Key

HKEY_CURRENT_USER\software\microsoft\excel
Create Registry Value (String)
    Arg-1: Registry Key
    Arg-2: Value Name
    Arg-3: STRING Value

HKEY_CURRENT_USER\software\microsoft\winmine
Name1
Anonymus
Create Registry Value (Integer)
    Arg-1: Registry Key
    Arg-2: Value Name
    Arg-3: INTEGER Value

HKEY_CURRENT_USER\software\microsoft\winmine
Xpos
50
Create Registry Value (Hex)
    Arg-1: Registry Key
    Arg-2: Value Name
    Arg-3: HEX Value

HKEY_CURRENT_USER\software\microsoft\winmine
Preferences
FF,00,01,3A
Create Registry Value (MultiString)
    Arg-1: Registry Key
    Arg-2: Value Name
    Arg-3: STRING Value

HKEY_CURRENT_USER\software\microsoft\winmine
Names
AAA<0>BBB<0>CCC
     <0> = LessThen + Zero + GreaterThen
     Will be replace with /0 at runtime
Create Registry Value (ExpandString)
    Arg-1: Registry Key
    Arg-2: Value Name
    Arg-3: STRING Value

HKEY_CURRENT_USER\software\microsoft\winmine
PATH
%PATH% or %TEMP% or %SystemRoot%
Append Registry Value (String)
    Arg-1: Registry Key
    Arg-2: Value Name
    Arg-3: STRING Value
Add text to an existing Registry value
HKEY_CURRENT_USER\software\microsoft\winmine
Name1
Anonymus
Remove Registry Value
    Arg-1: Registry Key
    Arg-2: Value Name

HKEY_CURRENT_USER\software\microsoft\winmine
Preferences
Read Registry Value
    Arg-1: Registry Key
    Arg-2: Value Name
    Arg-3: Variable Name
Read a registry value into a variable
HKEY_CURRENT_USER\software\microsoft\winmine
Preferences
A variable name to hold the registry value
Append Registry Value (MultiString)
    Arg-1: Registry Key
    Arg-2: Value Name
    Arg-3: STRING Value
Add another value to an existing REG_MULTI_SZ Registry value
Install REG File
    Arg-1: REG file name
XML File
Write XML Value
    Arg-1: Enter XML File Name
    Arg-2: Enter XML Path
    Arg-3: Enter Value

Orders.xml
root.custommer.firstname
John
Delete XML Value
    Arg-1: Enter XML File Name
    Arg-2: Enter XML Path

Orders.xml
root.custommer.firstname
Read XML Value
    Arg-1: Enter XML File Name
    Arg-2: Enter XML Path
    Arg-3: Enter Variable Name

Orders.xml
root.custommer.firstname
A variable name to hold the XML value
Create XML Node
    Arg-1: Enter XML File Name
    Arg-2: Enter XML Path

Orders.xml
root.custommer
Delete XML Node
    Arg-1: Enter XML File Name
    Arg-2: Enter XML Path
Read INI Item value into a variable
Orders.xml
root.custommer
INI File
Write INI Item
    Arg-1: INI File Name
    Arg-2: INI Section
    Arg-3: ItemName=Data

winword.ini
History
LastDocument=SalesReport.doc
Delete INI Item
    Arg-1: INI File Name
    Arg-2: INI Section
    Arg-3: ItemName

winword.ini
History
LastDocument
Delete INI Section
    Arg-1: INI File Name
    Arg-2: INI Section

winword.ini
History
Read INI Item
    Arg-1: INI File Name
    Arg-2: INI Section/ItemName
    Arg-3: Variable Name
Read INI Item value into a variable
winword.ini
History/LastDocument
A variable name to hold the INI value
Environment
Create Environment Variable
    Arg-1: Variable Name
    Arg-2: Variable Value
    Arg-3: Variable Scope



Select: System/User
Remove Environment Variable
    Arg-1: Variable Name
    Arg-2: Variable Scope


Select: System/User
Read Environment Variable
    Arg-1: Environment Variable Name
    Arg-2: Variable Name
Read an Environment Variable into a variable

A variable name to hold the registry value
Text File
Append Text to a File
    Arg-1: File name
    Arg-2: Text to be added


<P> for NewLine <T> for TAB
Replace Text in File
    Arg-1: File name
    Arg-2: Text to be Replaced
    Arg-3: Replacement

Replace Text in File CR+TAB
    Arg-1: File name
    Arg-2: Text to be Replaced
    Arg-3: Replacement




This command will replace the token <P> with a CRLF sequence. and the token <T> with a TAB character.
File Association
Create File Association
    Arg-1: Association Name
    Arg-2: Executable full path
    Arg-3: Extension



Sample: *.doc
Remove File Association
    Arg-1: Extension

Sample: *.doc
Set File Association Description
    Arg-1: Extension
    Arg-2: Description
Set File Association Icon
    Arg-1: Extension
    Arg-2: Icon full path
    Arg-3: Icon number
Setup Dialog
Set Space Req on Drive
    Arg-1: Required Space in MB

Sample: 15.3
ADD to Space Req on Drive
    Arg-1: Required Space in MB

Sample: 0.3
Set Propose to Restart the PC
    Arg-1: TRUE/FALSE

Set Propose to Launch the App.
    Arg-1: TRUE/FALSE
    Arg-2: Checked/UnChecked

Set Dialog to
    Arg-1: Select Dialog

Select any of the following:
Welocome, License, Destination, Shortcuts, Confirm Setup, Copy Files, Complete
Set Group
    Arg-1: Select Group
    Arg-2: TRUE/FALSE

Refresh RunTimeDir
    Arg-1: Select Directory: 1/2/3

Browse for Folder
    Arg-1: Variable Name
    Arg-2: Title
    Arg-3: Add New-Folder Button
Display select folder dialog
Sample: MyFolder
The dialog caption
TRUE or FALSE
Browse for File
    Arg-1: Variable Name
    Arg-2: Title
    Arg-3: Mask
Display File Open dialog
Sample: MyFile
The dialog caption
Sample: *.txt, *.rtf, *.*
Set Setup Type
    Arg-1: Select Setup Type
Select any of the following:
Typical, Compact, Custom, Complete, Partial
Enable Setup Dialog
    Arg-1: TRUE/FALSE
Enable/Disable the buttons on the setup dialog
Enable Dialog Button
    Arg-1: Select Button
    Arg-2: Operation
    Arg-3: In current dialog only

Next Button, Back Button, Cancel Button, X Button
Default, Enable, Disable
True, False
Set Edit Text
    Arg-1: Select Edit Control
    Arg-2: Enter Text
Select any of the following:
User Name, Company Name, Serial Number
Custom Dialogs
Set Control Property
    Arg-1: Enter Control Name
    Arg-2: Select Control Property
    Arg-3: Enter Value

Get Control Property
    Arg-1: Enter Control Name
    Arg-2: Select Control Property
    Arg-3: Enter Variable Name

Variables
Set Variable Value
    Arg-1: Variable Name
    Arg-2: Variable Value


Perform Variable Math
    Arg-1: Variable Name
    Arg-2: Value or Second Variable Name
    Arg-3: Operation

Sample: ValueA
Sample: ValueB or 2.45
Select: Add, Substract, Multiply or Divide
Replace Text in Variable
    Arg-1: Variable Name
    Arg-2: Text to be Replaced
    Arg-3: Replacement

Select one of many
    Arg-1: Dialog Header
    Arg-2: Items (Comma separated items)
    Arg-3: Variable Name
Display selection dialog
The dialog caption
Sample: COM1,COM2,COM3,COM4
Sample: ComPort
Input text string
    Arg-1: Dialog Header

    Arg-2: Items
    Arg-3: Variable Name
Display a "Text Input" dialog
The dialog caption.
   Start Arg-1 with * for password input.
Any default text if required.
A variable name to hold the enterd text.
Input text string (many)
    Arg-1: Dialog Header
    Arg-2: Items
    Arg-3: Variable Name
Display a "Text Input" dialog with several values
Name;*Password;Company
Bill Gates;;Microsoft
MyName;MyPass;MyCompany
Set Case Sensitive
    Arg-1: TRUE/FALSE
Will control all Value Comparisons
Set Whole Word
    Arg-1: TRUE/FALSE
Will control all Value Comparisons
Miscellaneous
Display Message
    Arg-1: Message text
    Arg-2: Close Delay (in Seconds)

<P> for NewLine <T> for TAB
Sample: 10 - will close the MessageBox automatically after 10 seconds.
0 - No automatic close, wait for user to click [OK].
Show PopUp Message
    Arg-1: Message text
    Arg-2: Title
    Arg-2: Location

<P> for NewLine <T> for TAB

Center, Top/Left, Top/Right, Bottom/Left, Buttom/Right, Top/Center, Bottom/Center, Left/Center, Right/Center
Hide PopUp Message
    Arg-1: Close Delay (in Seconds)

0 - No automatic close, wait for user to click [OK].
Wait (MS)
    Arg-1: Time to wait in Milli-Seconds

Set Restore Point
    Arg-1: Display Name
    Arg-2: Select Begin or End

Set Setup Exit Code
    Arg-1: Enter Exit Code

Restart the PC

Exit
Abort the Installation
Break
Stop execution of "Execute" item

 
     

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