Rhapsody IDE can be installed unattended from the command line or from within a script. This is useful for administrators who want to install or uninstall Rhapsody IDE without user intervention and perform the operation quickly over many machines.

Command Line Options

There are several parameters you can use to launch the Rhapsody IDE installer silently.

Parameter

Description

/S

Runs the installer or uninstaller silently.

/USERNAME

User to install as.

/D

Sets the default installation directory ($INSTDIR), overriding InstallDir and InstallDirRegKey. It must be the last parameter in the command line and must not contain any quotes, even if the path contains spaces. Only absolute paths are supported.

_?

Sets $INSTDIR. It also stops the uninstaller from copying itself to the temporary directory and running from there. It can be used along with ExecWait to wait for the uninstaller to finish. It must be the last parameter in the command line and must not contain any quotes, even if the path contains spaces.

Examples

Installing

To execute the installer, ensure you are in the directory where you have downloaded the installer to:

RhapsodyIDE.exe /S
RhapsodyIDE.exe /D=C:\Program Files (x86)\Rhapsody\Rhapsody IDE
RhapsodyIDE.exe /S /D=C:\Program Files (x86)\Rhapsody\Rhapsody IDE
RhapsodyIDE.exe /S /USERNAME=string with spaces /D=C:\Program Files (x86)\Rhapsody\Rhapsody IDE   

Uninstalling

To execute the uninstaller, ensure you are in the directory where you installed Rhapsody IDE:

uninst.exe /S _?=C:\Program Files (x86)\Rhapsody\Rhapsody IDE

# uninstall old version
ExecWait '"$INSTDIR\uninst.exe" /S _?=$INSTDIR' 

Related Topics