Run As Original User
The command executes an application or document on behalf of the original user who has started the installation. If your setup is executed with administrative privileges, then all child applications will also be run with administrative privileges. Use this command if you want the program to run in non-admin context. In addition, the command may be useful in combination with the Get Original Username command when the user is not in Administrator's group and can install applications from another user only. The command runs applications on Windows Vista and above, and it works as Shell Execute on earlier versions of Windows.
Description
Optionally, you may add comments here describing the purpose of this element.
Path
Choose the path to an application.
APPLICATION DATA PATH - Program subfolder in Application Data folder.
CDROM PATH - CD or DVD drive.
CUSTOM PATH - The path must be defined in the filename control.
INSTALL PATH - Default installation path.
SETUP FILE PATH - The path to where setup executable file is running.
SYSTEM PATH - Windows system directory.
TEMPORARY PATH - The temporary folder of the installation #tempinstpath#. It is a subfolder genteeXX in the default temporary user's folder #temppath#.
WINDOWS PATH - Windows directory.
Filename
Name of the file to be started. It can be executable files (exe, bat) or documents associated with other applications (doc, xls, html, pdf).
myapp.exe doc\myapp.doc readme.pdf
Command-Line parameters
Specify the command line parameters here.
-open "#setuppath#\myfile.dat"
Working Directory
A working directory for the application being started.
APPLICATION DATA PATH - Program subfolder in Application Data folder.
CDROM PATH - CD or DVD drive.
CUSTOM PATH - The path must be defined in the filename control.
DEFAULT PATH - The current directory.
INSTALL PATH - Default installation path.
SETUP FILE PATH - The path to where setup executable file is running.
SYSTEM PATH - Windows system directory.
TEMPORARY PATH - The temporary directory of the installation #tempinstpath#. It is a subfolder genteeXX in the default temporary user's folder #temppath#.
WINDOWS PATH - Windows directory.
Custom Path
If you use a CUSTOM PATH, the specific directory must be specified here.
Run as
Application state on startup.
Hide - Application window will be hidden.
Normal - Default application state.
Maximize - Application window will be maximized.
Minimize - Application window will be minimized .
If Condition
You can specify a condition that should be met for the action to be performed. If the condition is false then the command is skipped. See How to use If Condition for more details.
Run As Original User command