Skip to main content

Command Line Parameters for the Installer

The Setup program accepts optional command line parameters which can be useful for scripted or automated installs.

CommandDescription
/HELP, /?Shows this information.
/SP-Disables the This will install... Do you wish to continue? prompt at the beginning of Setup.
/SILENT, /VERYSILENTInstructs Setup to be silent or very silent.
/SUPPRESSMSGBOXESInstructs Setup to suppress message boxes.
/LOGCauses Setup to create a log file in the user's TEMP directory.
/LOG="filename"Same as /LOG, except it allows you to specify a fixed path/filename to use for the log file.
/NOCANCELPrevents the user from cancelling during the installation process.
/NORESTARTPrevents Setup from restarting the system following a successful installation, or after a Preparing to Install failure that requests a restart.
/RESTARTEXITCODE=exit codeSpecifies a custom exit code that Setup is to return when the system needs to be restarted.
/CLOSEAPPLICATIONSInstructs Setup to close applications using files that need to be updated.
/NOCLOSEAPPLICATIONSPrevents Setup from closing applications using files that need to be updated.
/FORCECLOSEAPPLICATIONSInstructs Setup to force close when closing applications.
/FORCENOCLOSEAPPLICATIONSPrevents Setup from force closing when closing applications.
/LOGCLOSEAPPLICATIONSInstructs Setup to create extra logging when closing applications for debugging purposes.
/RESTARTAPPLICATIONSInstructs Setup to restart applications.
/NORESTARTAPPLICATIONSPrevents Setup from restarting applications.
/LOADINF="filename"Instructs Setup to load the settings from the specified file after having checked the command line.
/SAVEINF="filename"Instructs Setup to save installation settings to the specified file.
/LANG=languageSpecifies the internal name of the language to use.
/DIR="x:\dirname"Overrides the default directory name.
/GROUP="folder name"Overrides the default folder name.
/NOICONSInstructs Setup to initially check the Don't create a Start Menu folder check box.
/TYPE=type nameOverrides the default setup type.
/COMPONENTS="comma separated list of component names"Overrides the default component settings.
/TASKS="comma separated list of task names"Specifies a list of tasks that should be initially selected.
/MERGETASKS="comma separated list of task names"Like the /TASKS parameter, except the specified tasks will be merged with the set of tasks that would have otherwise been selected by default.
/PASSWORD=passwordSpecifies the password to use.
/ALLUSERSInstructs Setup to install in administrative install mode.
/CURRENTUSERInstructs Setup to install in non administrative install mode.

The DAX Studio installer uses InnoSetup. For more detailed information, please visit https://jrsoftware.org/ishelp/index.php?topic=setupcmdline

Components

The following are DAX Studio specific options that can be used in the /COMPONENTS= parameter. By default all components are installed

TaskDefaultDescription
CoreYes[Required] This is the core DAX Studio program
ExcelYes[Optional] This component installs the Excel Addin

Tasks

The following are DAX Studio specific options that can be used in the /TASKS= or /MERGETASKS=

TaskDefaultDescription
desktopiconYesCreates an Icon on the Desktop
blockallinternetaccessNo[NOT RECOMMENDED] Blocks all features requiring internet access including version checks, dax formatting and crash reporting. This setting requires a re-install to change.