# Installer-Krams

# Microsoft Standard Installer Command-Line Optionen

<main data-bi-name="content" dir="ltr" id="bkmrk-artikel-21.09.2022-2" lang="de-de" role="main"><div class="content "><div class="content "><div class="display-flex justify-content-space-between align-items-center flex-wrap-wrap page-metadata-container"><div class="margin-right-xxs">- Artikel
- <time aria-label="Überprüfungsdatum" class="" data-article-date="" data-article-date-source="git" datetime="2022-09-21T21:55:00.000Z">21.09.2022</time>
- 2 Minuten Lesedauer
- <button aria-label="Alle Mitwirkenden anzeigen" class="contributors-button link-button" data-bi-name="contributors" title="Alle Mitwirkenden anzeigen">5 Mitwirkende</button>

</div><div class="margin-block-xxs display-none-print" data-hide-on-archived="" id="bkmrk-feedback"><button class="button button-sm button-clear button-primary" data-bi-name="user-feedback-button" data-test-id="conceptual-feedback-button" data-user-feedback-button="" id="bkmrk-feedback-0" type="button">Feedback</button></div></div></div></div>Hier sind standardmäßige Befehlszeilenoptionen für das Microsoft Standard Installer (Msiexec.exe), die ausführbare Datei, die verwendet wird, um Pakete zu interpretieren und Produkte zu installieren.

Befehlszeilenoptionen sind groß- und kleinschreibungsfähig.

Msiexec legt eine Fehlerstufe für die Rückgabe fest, die [Den Systemfehlercodes](https://learn.microsoft.com/de-de/windows/win32/debug/system-error-codes) entspricht.

 Hinweis

Die Befehlszeilenoptionen, die in diesem Thema identifiziert werden, sind ab Windows Installer 3.0 verfügbar. Die Windows [Befehlszeilenoptionen](https://learn.microsoft.com/de-de/windows/win32/msi/command-line-options) sind mit Windows Installer 3.0 und früheren Versionen verfügbar.

## /help

Hilfe- und Schnellverweisoption. Zeigt die richtige Verwendung des Setupbefehls an, einschließlich einer Liste aller Schalter und des Verhaltens. Die Beschreibung der Verwendung kann in der Benutzeroberfläche angezeigt werden. Die falsche Verwendung einer beliebigen Option ruft diese Hilfeoption auf.

Das entsprechende Windows Installer Command-Line Option lautet: `/?`.

### Beispiele

`Msiexec /help`.

## /quiet

Option für die ruhige Anzeige. Das Installationsprogramm führt eine Installation aus, ohne eine Benutzeroberfläche anzuzeigen. Es werden keine Eingabeaufforderungen, Nachrichten oder Dialogfelder für den Benutzer angezeigt. Der Benutzer kann die Installation nicht abbrechen.

Verwenden Sie die `/norestart` Befehlszeilenoptionen, `/forcerestart` um Neustarts zu steuern. Wenn keine Neustartoptionen angegeben werden, startet das Installationsprogramm den Computer bei Bedarf neu, ohne dass ein Benutzer aufgefordert oder warnungen angezeigt wird.

Das entsprechende Windows Installer Command-Line Option lautet: `/qn`.

### Beispiele

`Msiexec /package Application.msi /quiet`

`Msiexec /uninstall Application.msi /quiet`

`Msiexec /update msipatch.msp /quiet`

`Msiexec /uninstall msipatch.msp /package Application.msi / quiet`

## /passive

Passive Anzeigeoption. Das Installationsprogramm zeigt dem Benutzer eine Statusleiste an, die angibt, dass eine Installation ausgeführt wird, aber keine Aufforderungen oder Fehlermeldungen für den Benutzer angezeigt werden. Der Benutzer kann die Installation nicht abbrechen.

Verwenden Sie die `/norestart` Befehlszeilenoptionen, `/forcerestart` um Neustarts zu steuern. Wenn keine Neustartoption angegeben wird, startet das Installationsprogramm den Computer immer neu, ohne dass der Benutzer aufgefordert oder gewarnt wird.

Das entsprechende Windows Installer Command-Line Option lautet: `/qb!`- mit `REBOOTPROMPT=S` Festgelegt auf der Befehlszeile.

### Beispiele

`msiexec /package Application.msi /passive`

## /norestart

Option nie neu starten. Das Installationsprogramm startet den Computer nach der Installation nie neu.

Die entsprechende Windows Installer-Befehlszeile hat `REBOOT=ReallySuppress` sich auf der Befehlszeile festgelegt.

### Beispiele

`msiexec /package Application.msi /norestart`.

## /forcerestart

Option "Immer neu starten". Das Installationsprogramm startet immer nach jeder Installation den Computer neu.

Die entsprechende Windows Installer-Befehlszeile hat `REBOOT=Force` sich auf der Befehlszeile festgelegt.

### Beispiele

`msiexec /package Application.msi /forcerestart`

## /promptrestart

Eingabeaufforderung vor dem Neustart der Option. Zeigt eine Meldung an, dass ein Neustart erforderlich ist, um die Installation abzuschließen, und fragt den Benutzer, ob das System jetzt neu gestartet werden soll. Diese Option kann nicht zusammen mit der `/quiet`-Option verwendet werden.

Die entsprechende Windows Installer-Befehlszeile hat `REBOOTPROMPT = ""` sich auf der Befehlszeile festgelegt.

## /deinstallieren (Produkt)

Produktoption deinstallieren. Deinstalliert ein Produkt.

Das entsprechende Windows Installer Command-Line Option ist`/x.`

### Parameter

*&lt;Package.msi| Productcode&gt;*

## /uninstall (Patch)

Deinstallationsoption. Deinstalliert einen Update-Patch.

Das entsprechende Windows Installer Command-Line Option lautet: `/I` mit `MSIPATCHREMOVE=Update1.msp | PatchGUID1[;Update2.msp | PatchGUID2]` festgelegter Befehlszeile.

### Parameter

*/package &lt;Package.msi | ProductCode&gt; /deinstallieren \[; Update2.msp | PatchGUID2\]*

## /log

Protokolloption. Schreibt Protokollierungsinformationen in eine Protokolldatei im angegebenen vorhandenen Pfad. Der Pfad zum Speicherort der Protokolldatei muss bereits vorhanden sein. Das Installationsprogramm erstellt die Verzeichnisstruktur für die Protokolldatei nicht.

Weitere Informationen zu allen Methoden, die zum Festlegen des Protokollierungsmodus verfügbar sind, finden Sie unter ["Normal Logging](https://learn.microsoft.com/de-de/windows/win32/msi/normal-logging) Windows Installer".

Das entsprechende Windows Installer Command-Line Option lautet: `/L*`.

Die folgenden Informationen werden in das Protokoll eingegeben:

<div class="content "><div class="content ">- Statusmeldungen
- Nichtfatale Warnungen
- Alle Fehlermeldungen
- Starten von Aktionen
- Aktionsspezifische Datensätze
- Benutzeranforderungen
- Anfängliche UI-Parameter
- Veraltete Speicher- oder tödliche Exitinformationen
- Out-of-Disk-Space-Nachrichten
- Terminaleigenschaften

</div></div>## /package

Installieren Sie die Produktoption. Installiert oder konfiguriert ein Produkt.

Das entsprechende Windows Installer Command-Line Option lautet: `/I`.

### Parameter

*&lt;Package.msi| Productcode&gt;*

## /update

Installieren Sie die Option "Patches". Installiert eine oder mehrere Patches.

Die entsprechende Windows Installer-Befehlszeile hat PATCH = \[msipatch.msp\]&lt;; PatchGuid2&gt; auf der Befehlszeile festgelegt.

### Parameter

*\[; Update2.msp\]*

<div aria-atomic="true" aria-live="assertive" aria-relevant="additions" class="visually-hidden" id="bkmrk-" role="alert"></div><div aria-atomic="true" aria-live="polite" aria-relevant="additions" class="visually-hidden" id="bkmrk--0" role="status"></div></main><section class="display-none-print margin-bottom-md margin-bottom-none-desktop" data-bi-name="recommendations" id="bkmrk-empfohlener-inhalt-b">---

## Empfohlener Inhalt

- <article class="card">### Befehlszeilenoptionen - Win32 apps
    
    Befehlszeilenoptionen für msiexec.exe für Windows Installer 3.0 und früher. Stellt eine Tabelle mit Optionen, Parametern und Beschreibungen bereit. Beispiele zum Installieren von Produkten und anderen Aufgaben.
    
    </article>
- <article class="card">### Befehlszeilenoptionen, die von Self-Extractor-Paketen unterstützt werden - Windows Client
    
    Beschreibt die Befehlszeilenoptionen, die von einem Softwareinstallationspaket, einem Updatepaket oder einem Hotfixpaket unterstützt werden, das mithilfe von Microsoft Self-Extractor erstellt wurde.
    
    </article>
- <article class="card">### ALLUSERS-Eigenschaft - Win32 apps
    
    Die ALLUSERS-Eigenschaft konfiguriert den Installationskontext des Pakets.
    
    </article>
- <article class="card"><div class="card-content">  
    </div></article>

</section>

# Debuggen von Systemfehlercodes

<div class="display-flex justify-content-space-between align-items-center flex-wrap-wrap page-metadata-container" id="bkmrk-artikel-24.09.2022-2"><div class="margin-right-xxs">- Artikel
- <time aria-label="Überprüfungsdatum" class="" data-article-date="" data-article-date-source="git" datetime="2022-09-24T06:38:00.000Z">24.09.2022</time>
- 2 Minuten Lesedauer
- <button aria-label="Alle Mitwirkenden anzeigen" class="contributors-button link-button" data-bi-name="contributors" title="Alle Mitwirkenden anzeigen">8 Mitwirkende</button>

</div><div class="margin-block-xxs display-none-print" data-hide-on-archived="" id="bkmrk-feedback"><button class="button button-sm button-clear button-primary" data-bi-name="user-feedback-button" data-test-id="conceptual-feedback-button" data-user-feedback-button="" id="bkmrk-feedback-0" type="button">Feedback</button></div></div>Dieser Abschnitt ist für Entwickler vorgesehen, die Systemfehler debuggen. Wenn Sie diese Seite erreicht haben, während Sie nach anderen Fehlern suchen, sind einige Links aufgeführt, die möglicherweise helfen:

- Windows Update Fehler – Hilfe beim Beheben von [Problemen](https://support.microsoft.com/help/10164/fix-windows-update-errors) mit Windows Update.
- [Windows Aktivierungsfehler](https://support.microsoft.com/help/10738/windows-10-get-help-with-activation-errors) – Hilfe beim Überprüfen Ihrer Kopie von Windows.
- [Problembehandlung bei Blauen Bildschirmfehlern](https://support.microsoft.com/help/14238/windows-10-troubleshoot-blue-screen-errors) – Hilfe beim Ermitteln, was zu einem Stoppfehler führte.
- [Microsoft-Support](https://support.microsoft.com/) – Unterstützung für ein Microsoft-Produkt.

## Weitere Möglichkeiten zum Suchen eines Fehlercodes

Wir haben die Systemfehlercodes in diesem Abschnitt aufgelistet, organisiert nach Zahl. Wenn Sie weitere Hilfe beim Nachverfolgen eines bestimmten Fehlers benötigen, finden Sie weitere Empfehlungen:

- Verwenden Sie das [Microsoft Error Lookup Tool](https://learn.microsoft.com/de-de/windows/win32/debug/system-error-code-lookup-tool).
- Installieren Sie die Debugtools für Windows, laden Sie eine Speicherabbilddatei, und führen Sie dann den **Codebefehl&gt; !err &lt;** aus.
- Suchen Sie die Microsoft Protocol-Website nach dem rohen Text oder Fehlercode. Weitere Informationen finden Sie unter [\[MS-ERREF\]: Windows Fehlercodes](https://learn.microsoft.com/de-de/openspecs/windows_protocols/ms-erref/1bc92ddf-b79e-413c-bbaa-99a5281a6c90).

## Fehlercodes von Drittanbietern

Andere Fehlercodes können von Drittanbieterdiensten oder Apps generiert werden (z. B. **Fehlercode: -118** kann vom [Steam-Spieldienst](https://support.steampowered.com/kb_cat.php?id=59) angezeigt werden), und in diesen Situationen würden Sie sich an die Supportzeile des Drittanbieters wenden.

## Systemfehlercodes

Systemfehlercodes sind sehr breit: Jeder kann in einem von vielen hundert Standorten im System auftreten. Folglich können die Beschreibungen dieser Codes nicht sehr speziell sein. Die Verwendung dieser Codes erfordert einige Untersuchungen und Analysen. Sie müssen sowohl den programmgesteuerten als auch den Laufzeitkontext beachten, in dem diese Fehler auftreten.

Da diese Codes in WinError.h definiert sind, werden manchmal die Codes von nicht Systemsoftware zurückgegeben. Und manchmal wird der Code von einer Funktion tief im Stapel zurückgegeben und entfernt von Code, der den Fehler behandelt.

In den folgenden Themen werden Listen von Systemfehlercodes bereitgestellt. Diese Werte werden in der WinError.h-Headerdatei definiert.

- [Systemfehlercodes (0-499) (0x0-0x1f3)](https://learn.microsoft.com/de-de/windows/win32/debug/system-error-codes--0-499-)
- [Systemfehlercodes (500-999) (0x1f4-0x3e7)](https://learn.microsoft.com/de-de/windows/win32/debug/system-error-codes--500-999-)
- [Systemfehlercodes (1000-1299) (0x3e8-0x513)](https://learn.microsoft.com/de-de/windows/win32/debug/system-error-codes--1000-1299-)
- [Systemfehlercodes (1300-1699) (0x514-0x6a3)](https://learn.microsoft.com/de-de/windows/win32/debug/system-error-codes--1300-1699-)
- [Systemfehlercodes (1700-3999) (0x6a4-0xf9f)](https://learn.microsoft.com/de-de/windows/win32/debug/system-error-codes--1700-3999-)
- [Systemfehlercodes (4000-5999) (0xfa0-0x176f)](https://learn.microsoft.com/de-de/windows/win32/debug/system-error-codes--4000-5999-)
- [Systemfehlercodes (6000-8199) (0x1770-0x2007)](https://learn.microsoft.com/de-de/windows/win32/debug/system-error-codes--6000-8199-)
- [Systemfehlercodes (8200-8999) (0x2008-0x2327)](https://learn.microsoft.com/de-de/windows/win32/debug/system-error-codes--8200-8999-)
- [Systemfehlercodes (9000-11999) (0x2328-0x2edf)](https://learn.microsoft.com/de-de/windows/win32/debug/system-error-codes--9000-11999-)
- [Systemfehlercodes (12000-15999) (0x2ee0-0x3e7f)](https://learn.microsoft.com/de-de/windows/win32/debug/system-error-codes--12000-15999-)

# Setup.exe and Update.exe Command-Line Parameters

<span class="helplibraryProduct Name and Version">InstallShield 2018</span>

<span class="File_Name">Setup.exe</span> can accept a number of command-line parameters. <span class="File_Name">Update.exe</span> (available only for Basic MSI and InstallScript MSI projects) accepts nearly all of the same command-line parameters. Using these parameters, end users can specify such data as the language that the installation should run in and whether to launch <span class="File_Name">Setup.exe</span> silently. For Basic MSI and InstallScript MSI, end users can also pass parameters through <span class="File_Name">Setup.exe</span> to the included .msi file.

<span class="autonumber"><span class="notename">Note • </span></span>Command-line options that require a parameter must be specified with no space between the option and its parameter. For example, <span class="Code">Setup.exe /v"ALLUSERS=2"</span> is valid, while <span class="Code">Setup.exe /v "ALLUSERS=2"</span> is not. Quotation marks around an option’s parameter are required only if the parameter contains spaces. If a path within a parameter contains spaces, you may need to use quotation marks within quotation marks, as in the following example:

<span class="Code">Setup.exe /v"INSTALLDIR=\\"c:\\My Files\\""</span>

<span class="autonumber"><span class="notename">Project • </span></span>Some of the command-line options apply to only certain project types. Project-specific information is listed for each option.

Built-In Command-Line Parameters

This section describes valid command-line parameters for <span class="File_Name">Setup.exe</span>. The parameters are organized into the following categories:

<a name="ref-command-linetools_1056566962_1039936"></a><a name="ref-command-linetools_1056566962_97014"></a>Silent Installations

<table cellspacing="0" class="TableStyle_Table_in_Body" id="bkmrk-parameters-for-silen"><caption>Parameters for Silent Installations

</caption><colgroup><col width="161px"></col><col width="100px"></col><col width="350px"></col></colgroup><thead><tr><td class="TableStyle_Table_in_Body_Head_0_0_RowSep_ColSep">Parameter

</td><td class="TableStyle_Table_in_Body_Head_0_0_RowSep_ColSep">Project Type

</td><td class="TableStyle_Table_in_Body_Head_0_0_RowSep_ColEnd">Description

</td></tr></thead><tbody><tr><td class="TableStyle_Table_in_Body_Body_0_0_ColSep"><a name="ref-command-linetools_1056566962_wp1880pparam"></a>/p"password"

</td><td class="TableStyle_Table_in_Body_Body_0_0_ColSep">Basic MSI, InstallScript MSI

</td><td class="TableStyle_Table_in_Body_Body_0_0_ColEnd">If you configured the password-related settings for your release on the <span class="Hyperlink">[Setup.exe tab in the Releases view](https://docs.revenera.com/installshield24helplib/helplibrary/ReleaseGridSetupTab.htm#ref-views_590435047_setupexetab)</span>, the end user must specify the password with the /p option when running the installation silently. A typical command is as follows:

Setup.exe /s /p"password"

</td></tr><tr><td class="TableStyle_Table_in_Body_Body_0_0_RowSep_ColSep"><a name="ref-command-linetools_1056566962_wp1880rparam"></a>/r

</td><td class="TableStyle_Table_in_Body_Body_0_0_RowSep_ColSep">InstallScript, InstallScript MSI

</td><td class="TableStyle_Table_in_Body_Body_0_0_RowSep_ColEnd">Use this command line to run the installation in record mode.

In order to run an InstallScript MSI or InstallScript installation in silent mode, you must first run <span class="File_Name">Setup.exe</span> with the <span class="Command-Line_Parameter">/r</span> option to generate a response file, which stores information about the data entered and options selected by the user at run time.

Launching an InstallScript MSI or InstallScript installation with the <span class="Command-Line_Parameter">/r</span> parameter displays all the run-time dialogs and stores the data in a file called <span class="Hyperlink">[Setup.iss](https://docs.revenera.com/installshield24helplib/helplibrary/CreatetheResponseFile.htm#buildingtestingdistributing_401868635_responsefile)</span>, created inside the system’s Windows folder. To specify an alternative response file name and location, use the <span class="Command-Line_Parameter">/f1</span> option, described below.

Basic MSI projects do not create or use a response file for silent installations.

</td></tr><tr><td class="TableStyle_Table_in_Body_Body_1_0_ColSep"><a name="ref-command-linetools_1056566962_wp1880sparam"></a>/s

</td><td class="TableStyle_Table_in_Body_Body_1_0_ColSep">Basic MSI, InstallScript, InstallScript MSI

</td><td class="TableStyle_Table_in_Body_Body_1_0_ColEnd">For an InstallScript MSI or InstallScript project, the command <span class="Command-Line_Parameter">Setup.exe /s</span> runs the installation in silent mode, by default based on the responses contained in a response file called <span class="File_Name">Setup.iss</span> in the same directory. (Response files are created by running <span class="File_Name">Setup.exe</span> with the <span class="Command-Line_Parameter">/r</span> option.) To specify an alternative file name or location of the response file, use the <span class="Hyperlink">[/f1 option](https://docs.revenera.com/installshield24helplib/helplibrary/IHelpSetup_EXECmdLine.htm#ref-command-linetools_1056566962_wp1880f1param)</span>.

The command <span class="Command-Line_Parameter">Setup.exe /s</span> also suppresses the <span class="File_Name">Setup.exe</span> initialization dialog for a Basic MSI installation, but it does not read a response file. To run a Basic MSI installation silently, use the following command line:

Setup.exe /s /v/qn

To specify the values of public properties for a silent Basic MSI installation, you can use a command such as the following one:

Setup.exe /s /v"/qn INSTALLDIR=D:\\Destination"

<span class="autonumber"><span class="notename">Note • </span></span>Using this command-line parameter to launch an installation that includes an <span class="helplibraryProduct Name">InstallShield</span> prerequisite does not automatically run the prerequisite installation silently. You may also need to specify a valid silent command-line parameter for the <span class="helplibraryProduct Name">InstallShield</span> prerequisite in the <span class="UI_Element">Specify the command line for the application when the setup is running in silent mode</span> setting on the <span class="Hyperlink">[Application to Run tab](https://docs.revenera.com/installshield24helplib/helplibrary/UIRefPrereqEditor_AppRun.htm#ref-prereqeditor_1557969797_wp1702)</span> in the <span class="helplibraryProduct Name">InstallShield</span> Prerequisite Editor.

For more information, see [<span class="mcFormatColor">Specifying Command-Line Parameters for an InstallShield Prerequisite</span>](https://docs.revenera.com/installshield24helplib/helplibrary/SetupPrereqEditorCmdLine.htm#definingprerequisites_1762175736_1033736).

</td></tr><tr><td class="TableStyle_Table_in_Body_Body_1_0_RowSep_ColSep"><a name="ref-command-linetools_1056566962_wp1880f1param"></a>/f1

</td><td class="TableStyle_Table_in_Body_Body_1_0_RowSep_ColSep">InstallScript, InstallScript MSI

</td><td class="TableStyle_Table_in_Body_Body_1_0_RowSep_ColEnd">Using the <span class="Command-Line_Parameter">/f1</span> option enables you to specify where the <span class="Hyperlink">[response file](https://docs.revenera.com/installshield24helplib/helplibrary/CreatetheResponseFile.htm#buildingtestingdistributing_401868635_responsefile)</span> is (or where it should be created) and what its name is, as in the following example:

Setup.exe /s /f1"C:\\Temp\\Setup.iss"

Specify an absolute path; using a relative path gives unpredictable results. The <span class="Command-Line_Parameter">/f1</span> option is available both when creating a response file (with the <span class="Command-Line_Parameter">/r</span> option) and when using a response file (with the <span class="Command-Line_Parameter">/s</span> option).

</td></tr><tr><td class="TableStyle_Table_in_Body_Body_0_0_RowEnd_ColSep"><a name="ref-command-linetools_1056566962_wp1880f2param"></a>/f2

</td><td class="TableStyle_Table_in_Body_Body_0_0_RowEnd_ColSep">InstallScript, InstallScript MSI

</td><td class="TableStyle_Table_in_Body_Body_0_0_RowEnd_ColEnd">When running an InstallScript MSI or InstallScript installation in silent mode (using the <span class="Command-Line_Parameter">/s</span> option), the log file <span class="Hyperlink">[Setup.log](https://docs.revenera.com/installshield24helplib/helplibrary/SetupLog.htm#buildingtestingdistributing_401868635_wp0794)</span> is by default created in the same directory and with the same name (except for the extension) as the response file. The <span class="Command-Line_Parameter">/f2</span> option enables you to specify an alternative log file location and file name, as in the following example:

Setup.exe /s /f2"C:\\Setup.log"

Specify an absolute path; using a relative path gives unpredictable results.

</td></tr></tbody></table>

<a name="ref-command-linetools_1056566962_1039941"></a><a name="ref-command-linetools_1056566962_10963"></a>Special Installation Modes

<table cellspacing="0" class="TableStyle_Table_in_Body" id="bkmrk-parameters-for-speci"><caption>Parameters for Special Installation Modes

</caption><colgroup><col width="161px"></col><col width="100px"></col><col width="350px"></col></colgroup><thead><tr><td class="TableStyle_Table_in_Body_Head_0_0_RowSep_ColSep">Parameter

</td><td class="TableStyle_Table_in_Body_Head_0_0_RowSep_ColSep">Project Type

</td><td class="TableStyle_Table_in_Body_Head_0_0_RowSep_ColEnd">Description

</td></tr></thead><tbody><tr><td class="TableStyle_Table_in_Body_Body_0_0_ColSep"><a name="ref-command-linetools_1056566962_wp1880aparam"></a>/a

</td><td class="TableStyle_Table_in_Body_Body_0_0_ColSep">Basic MSI, InstallScript MSI

</td><td class="TableStyle_Table_in_Body_Body_0_0_ColEnd"><span class="autonumber"><span class="notename">Note • </span></span>The /a parameter does not work with <span class="File_Name">Update.exe</span>. <span class="File_Name">Update.exe</span> launches a patch that accesses and modifies an existing cached .msi file on the system, and an administrative installation does not cache the .msi file.

The /a option causes <span class="File_Name">Setup.exe</span> to perform an administrative installation. An administrative installation copies (and uncompresses) your data files to a directory that is specified by the user, but it does not create shortcuts, register COM servers, or create an uninstallation log.

<span class="autonumber"><span class="notename">Tip • </span></span>If an installation contains <span class="helplibraryProduct Name">InstallShield</span> prerequisites and you want to extract them from <span class="File_Name">Setup.exe</span>, add a path after the <span class="Command-Line_Parameter">/a</span> parameter to extract the prerequisites to that location. A sample command is <span class="Command-Line_Parameter">Setup.exe /a"C:\\temp"</span>.

</td></tr><tr><td class="TableStyle_Table_in_Body_Body_0_0_RowSep_ColSep"><a name="ref-command-linetools_1056566962_wp1880jparam"></a>/j

</td><td class="TableStyle_Table_in_Body_Body_0_0_RowSep_ColSep">Basic MSI, InstallScript MSI

</td><td class="TableStyle_Table_in_Body_Body_0_0_RowSep_ColEnd">The <span class="Command-Line_Parameter">/j</span> option causes <span class="File_Name">Setup.exe</span> to perform an advertised installation. An advertised installation creates shortcuts, registers COM servers, and registers file types, but does not install your product’s files until the user invokes one of these “entry points.”

</td></tr><tr><td class="TableStyle_Table_in_Body_Body_1_0_ColSep"><a name="ref-command-linetools_1056566962_wp1880xparam"></a>/x

</td><td class="TableStyle_Table_in_Body_Body_1_0_ColSep">Basic MSI, InstallScript MSI

</td><td class="TableStyle_Table_in_Body_Body_1_0_ColEnd">The <span class="Command-Line_Parameter">/x</span> option causes <span class="File_Name">Setup.exe</span> to uninstall a previously installed product.

</td></tr><tr><td class="TableStyle_Table_in_Body_Body_1_0_RowSep_ColSep"><a name="ref-command-linetools_1056566962_wp1880uninstparam"></a>/uninst

</td><td class="TableStyle_Table_in_Body_Body_1_0_RowSep_ColSep">InstallScript, InstallScript MSI (if the InstallScript user interface (UI) style is the traditional style, which uses the InstallScript engine as an external UI handler)

</td><td class="TableStyle_Table_in_Body_Body_1_0_RowSep_ColEnd"><span class="autonumber"><span class="notename">Important • </span></span>This parameter does not apply to InstallScript MSI projects in which the InstallScript UI style is the new style (which uses the InstallScript engine as an embedded UI handler). To learn more, see [<span class="mcFormatColor">Using the InstallScript Engine as an External vs. Embedded UI Handler for InstallScript MSI Installations</span>](https://docs.revenera.com/installshield24helplib/helplibrary/ISMSIExternalVsEmbedded.htm#specifyinginstallationinfo_3107009874_1037936).

The <span class="Command-Line_Parameter">/uninst</span> option is provided for compatibility with earlier versions of <span class="helplibraryProduct Name">InstallShield</span>. This option causes the InstallScript engine to execute the event handler function OnUninstall, whose default code uninstalls the previously installed product.

<span class="autonumber"><span class="notename">Project • </span></span>Note that in InstallScript MSI installations, the <span class="Parameter">/uninst</span> parameter does not invoke the InstallScript engine uninstall behavior that processes install log and removes any resources that were created and logged through script. However, the <span class="Parameter">/removeonly</span> option does invoke this behavior.

</td></tr><tr><td class="TableStyle_Table_in_Body_Body_0_0_ColSep"><a name="ref-command-linetools_1056566962_wp1880removeonlyparam"></a>/removeonly

</td><td class="TableStyle_Table_in_Body_Body_0_0_ColSep">InstallScript, InstallScript MSI

</td><td class="TableStyle_Table_in_Body_Body_0_0_ColEnd">The <span class="Command-Line_Parameter">/removeonly</span> option sets the REMOVEONLY system variable equal to a non-zero value. The default code for the OnMaintUIBefore event handler function conditionally displays the <span class="Function">SdWelcomeMaint</span> dialog, depending on the value of REMOVEONLY.

</td></tr><tr><td class="TableStyle_Table_in_Body_Body_0_0_RowEnd_ColSep"><a name="ref-command-linetools_1056566962_instanceid"></a>/instance=&lt;InstanceId&gt;

</td><td class="TableStyle_Table_in_Body_Body_0_0_RowEnd_ColSep">Basic MSI

</td><td class="TableStyle_Table_in_Body_Body_0_0_RowEnd_ColEnd">The <span class="Command-Line_Parameter">/instance=&lt;InstanceId&gt;</span> option—which is available for <span class="Hyperlink">[Basic MSI projects that support the installation of multiple instances of a product](https://docs.revenera.com/installshield24helplib/helplibrary/MultipleInstance.htm#installingmultipleinstances_1315909768_wp1008)</span>—lets you specify which instance you want to install, update, or uninstall. <span class="Emphasis">&lt;InstanceId&gt;</span> represents the value of the <span class="Property">InstanceId</span> property that identifies the instance. Whenever you use this option and include a valid <span class="Property">InstanceId</span> value, the installation suppresses the instance selection dialog.

For example, the following sample command line installs the instance that has 2 as the value of the <span class="Property">InstanceId</span> property:

Setup.exe /instance=2

Use <span class="Emphasis">default</span> to identify the instance that is installed by the base installation package, as in the following example:

Setup.exe /instance=default

To specify the instance that you want to uninstall, include the /x option with the <span class="Command-Line_Parameter">/instance=&lt;InstanceId&gt;</span> option.

For more information, see [<span class="mcFormatColor">Naming an Instance</span>](https://docs.revenera.com/installshield24helplib/helplibrary/MultipleInst-Name.htm#installingmultipleinstances_1315909768_1026658) and [<span class="mcFormatColor">Run-Time Behavior for Installing Multiple Instances of a Product</span>](https://docs.revenera.com/installshield24helplib/helplibrary/MultipleInst-RunTime.htm#installingmultipleinstances_1315909768_1025924).

</td></tr></tbody></table>

<a name="ref-command-linetools_1056566962_1039947"></a><a name="ref-command-linetools_1056566962_69900"></a>Passing Data to the Installation

<table cellspacing="0" class="TableStyle_Table_in_Body" id="bkmrk-parameters-for-passi"><caption>Parameters for Passing Data to the Installation

</caption><colgroup><col width="206px"></col><col width="100px"></col><col width="304px"></col></colgroup><thead><tr><td class="TableStyle_Table_in_Body_Head_0_0_RowSep_ColSep">Parameter

</td><td class="TableStyle_Table_in_Body_Head_0_0_RowSep_ColSep">Project Type

</td><td class="TableStyle_Table_in_Body_Head_0_0_RowSep_ColEnd">Description

</td></tr></thead><tbody><tr><td class="TableStyle_Table_in_Body_Body_0_0_ColSep"><a name="ref-command-linetools_1056566962_wp1880vparam"></a>/v

</td><td class="TableStyle_Table_in_Body_Body_0_0_ColSep">Basic MSI, InstallScript MSI

</td><td class="TableStyle_Table_in_Body_Body_0_0_ColEnd">Use the <span class="Command-Line_Parameter">/v </span>option to pass command-line options and values of public properties through to <span class="File_Name">Msiexec.exe</span>.

If you want to pass more than one argument to <span class="File_Name">Msiexec.exe</span>, you can use the <span class="Command-Line_Parameter">/v</span> option multiple times at the command line, once for each argument. For example:

Setup.exe /v"/l\*v c:\\test.log" /v"MYPROPERTY1=value1" /v"/qb"

As an alternative, you can pass multiple arguments through the <span class="Command-Line_Parameter">/v</span> option as in the following example:

Setup.exe /v"/l\*v c:\\test.log MYPROPERTY1=value1 /qb"

<span class="autonumber"><span class="notename">Note • </span></span>If you pass the <span class="Command-Line_Parameter">/v</span> parameter at the command prompt when launching <span class="File_Name">Setup.exe</span>, any parameters that are specified for the CmdLine keyname in <span class="File_Name">Setup.ini</span> are ignored. To learn more, see [<span class="mcFormatColor">Setup.ini</span>](https://docs.revenera.com/installshield24helplib/helplibrary/SetupIni.htm#buildingtestingdistributing_401868635_1023968).

</td></tr><tr><td class="TableStyle_Table_in_Body_Body_0_0_RowSep_ColSep"><a name="ref-command-linetools_1056566962_isscriptcmdline"></a>/v"ISSCRIPTCMDLINE=\\"&lt;Option1&gt; &lt;Option2&gt;\\""

</td><td class="TableStyle_Table_in_Body_Body_0_0_RowSep_ColSep">Basic MSI projects that have InstallScript custom actions

</td><td class="TableStyle_Table_in_Body_Body_0_0_RowSep_ColEnd">This option specifies command-line parameters to be passed to the script. Any property supported by InstallScript MSI (where appropriate) can be specified. (The most common ones are <span class="Command-Line_Parameter">/d</span> and <span class="Command-Line_Parameter">/z</span>.)

For example, the following indicates that you want to debug the script, and that the <span class="Variable">CMDLINE</span> variable should contain <span class="Code">TEST</span>.

Setup.exe /v"ISSCRIPTCMDLINE=\\"-d -zTEST\\""

Note that as shown above, when you want to specify that a double quote character is not a delimiter for the command line but a delimiter for the property, use <span class="Code">\\"</span>.

Note also that as with any public Windows Installer property, this property should be specified with all uppercase letters.

</td></tr><tr><td class="TableStyle_Table_in_Body_Body_1_0_RowEnd_ColSep"><a name="ref-command-linetools_1056566962_wp1880zparam"></a>/z

</td><td class="TableStyle_Table_in_Body_Body_1_0_RowEnd_ColSep">InstallScript MSI

</td><td class="TableStyle_Table_in_Body_Body_1_0_RowEnd_ColEnd">The <span class="Command-Line_Parameter">/z </span>option is used to pass data to the InstallScript system variable [CMDLINE](https://docs.revenera.com/installshield24helplib/Subsystems/LangRef/helplibrary/LangrefCMDLINE.htm), as in the following example:

Setup.exe /z"My Custom Data"

When this command line is used, the variable <span class="Variable">CMDLINE</span> contains the string <span class="Code">My Custom Data</span>.

</td></tr></tbody></table>

<a name="ref-command-linetools_1056566962_1039953"></a><a name="ref-command-linetools_1056566962_54418"></a>Download and Cache Locations (Basic MSI and InstallScript MSI Projects)

<table cellspacing="0" class="TableStyle_Table_in_Body" id="bkmrk-parameters-for-downl"><caption>Parameters for Download and Cache Locations

</caption><colgroup><col width="161px"></col><col width="100px"></col><col width="350px"></col></colgroup><thead><tr><td class="TableStyle_Table_in_Body_Head_0_0_RowSep_ColSep">Parameter

</td><td class="TableStyle_Table_in_Body_Head_0_0_RowSep_ColSep">Project Type

</td><td class="TableStyle_Table_in_Body_Head_0_0_RowSep_ColEnd">Description

</td></tr></thead><tbody><tr><td class="TableStyle_Table_in_Body_Body_0_0_ColSep"><a name="ref-command-linetools_1056566962_wp1880uaparam"></a>/ua

<a name="ref-command-linetools_1056566962_wp1880uwparam"></a>/uw

</td><td class="TableStyle_Table_in_Body_Body_0_0_ColSep">Basic MSI, InstallScript MSI

</td><td class="TableStyle_Table_in_Body_Body_0_0_ColEnd">In the Release Wizard, you can specify download locations for the Windows Installer installers <span class="File_Name">InstMsiA.exe</span> and <span class="File_Name">InstMsiW.exe</span>. A user can specify an alternative URL at run time using the <span class="Command-Line_Parameter">/ua</span> option (for the <span class="File_Name">InstMsiA.exe</span> location) and <span class="Command-Line_Parameter">/uw</span> option (for the <span class="File_Name">InstMsiW.exe</span> location), as in the following example:

Setup.exe /uw"http://www.otherlocation.com/engines"

The file name is not necessary.

<span class="autonumber"><span class="notename">Note • </span></span>You must specify the full URL with the parameters.

</td></tr><tr><td class="TableStyle_Table_in_Body_Body_0_0_RowSep_ColSep"><a name="ref-command-linetools_1056566962_wp1880umparam"></a>/um

</td><td class="TableStyle_Table_in_Body_Body_0_0_RowSep_ColSep">Basic MSI, InstallScript MSI

</td><td class="TableStyle_Table_in_Body_Body_0_0_RowSep_ColEnd">In the Release Wizard, for a Web Downloader build, you can specify a <span class="Hyperlink">[download location](https://docs.revenera.com/installshield24helplib/helplibrary/IWPReleaseDownloaderOptions.htm#ref-wizardsn-z_2350463954_wp1477)</span> for your .msi database. A user can specify an alternative URL using the <span class="Command-Line_Parameter">/um</span> option, as in the following example:

Setup.exe /um"http://www.otherlocation.com/packages/product.msi"

<span class="autonumber"><span class="notename">Note • </span></span>You must specify the full URL with the parameter.

</td></tr><tr><td class="TableStyle_Table_in_Body_Body_1_0_RowEnd_ColSep"><a name="ref-command-linetools_1056566962_wp1880bparam"></a>/b

</td><td class="TableStyle_Table_in_Body_Body_1_0_RowEnd_ColSep">Basic MSI, InstallScript MSI

</td><td class="TableStyle_Table_in_Body_Body_1_0_RowEnd_ColEnd">In the Release Wizard, for a Downloader build, you can specify whether to cache the contents of a compressed package on the local system. With the <span class="Command-Line_Parameter">/b</span> option, the user can specify the directory in which to cache the installation files, as in the following example:

Setup.exe /b"C:\\CacheDirectory"

<span class="autonumber"><span class="notename">Note • </span></span>You must specify the full URL with the parameter.

</td></tr></tbody></table>

<a name="ref-command-linetools_1056566962_1039960"></a><a name="ref-command-linetools_1056566962_35421"></a>Debugging

<table cellspacing="0" class="TableStyle_Table_in_Body" id="bkmrk-parameters-for-debug"><caption>Parameters for Debugging

</caption><colgroup><col width="161px"></col><col width="100px"></col><col width="350px"></col></colgroup><thead><tr><td class="TableStyle_Table_in_Body_Head_0_0_RowSep_ColSep">Parameter

</td><td class="TableStyle_Table_in_Body_Head_0_0_RowSep_ColSep">Project Type

</td><td class="TableStyle_Table_in_Body_Head_0_0_RowSep_ColEnd">Description

</td></tr></thead><tbody><tr><td class="TableStyle_Table_in_Body_Body_0_0_ColSep"><a name="ref-command-linetools_1056566962_wp1880dparam"></a>/d

</td><td class="TableStyle_Table_in_Body_Body_0_0_ColSep">Basic MSI projects with InstallScript custom actions,  
InstallScript,  
InstallScript MSI

</td><td class="TableStyle_Table_in_Body_Body_0_0_ColEnd">For an InstallScript project, running the command <span class="Command-Line_Parameter">Setup.exe /d</span> runs the installation program with the InstallScript Debugger.

<span class="autonumber"><span class="notename">Note • </span></span>Debugging InstallScript code requires the debug-information file <span class="File_Name">Setup.dbg</span> to be available. In addition, in order to debug an installation on a system other than your development machine, you need to copy certain files from your development machine to the debugging machine. To learn more, see [Debugging an Installation on Any Computer](https://docs.revenera.com/installshield24helplib/Subsystems/ISdbg/helplibrary/DebuggingInstall-AnyComputer.htm).

For a Basic MSI project, the following command runs your InstallScript custom actions in the InstallScript Debugger:

Setup.exe /v"ISSCRIPTDEBUG=1 ISSCRIPTDEBUGPATH=\\"path-to-Setup.dbg\\""

</td></tr><tr><td class="TableStyle_Table_in_Body_Body_0_0_RowEnd_ColSep"><a name="ref-command-linetools_1056566962_debuglog"></a>/debuglog

</td><td class="TableStyle_Table_in_Body_Body_0_0_RowEnd_ColSep">Basic MSI, InstallScript MSI

</td><td class="TableStyle_Table_in_Body_Body_0_0_RowEnd_ColEnd">The <span class="Command-Line_Parameter">/debuglog</span> parameter lets you generate a log file for <span class="File_Name">Setup.exe</span>.

To generate a log named <span class="File_Name">InstallShield.log</span> in the same directory as the <span class="File_Name">Setup.exe</span> file, pass just the command-line parameter. Note that this does not work if the <span class="File_Name">Setup.exe</span> file is in a read-only location. For example:

setup.exe /debuglog

To specify the name and location of the log file, pass the path and name, as in the following example:

Setup.exe /debuglog"C:\\PathToLog\\setupexe.log"

To generate a log file for the feature prerequisites in the installation, use the <span class="Command-Line_Parameter">/v</span> parameter to set the <span class="Property">ISDEBUGLOG</span> property to the full path and file name for the log file, as follows:

Setup.exe /debuglog"C:\\PathToSetupLogFile\\setup.log" /v"ISDEBUGLOG=prereq.log"

You can use directory properties and environment variables in the path for the feature prerequisite log file.

</td></tr></tbody></table>

<a name="ref-command-linetools_1056566962_1039974"></a><a name="ref-command-linetools_1056566962_65071"></a>SMS Data

<table cellspacing="0" class="TableStyle_Table_in_Body" id="bkmrk-parameters-for-sms-d"><caption>Parameters for SMS Data

</caption><colgroup><col width="161px"></col><col width="100px"></col><col width="350px"></col></colgroup><thead><tr><td class="TableStyle_Table_in_Body_Head_0_0_RowSep_ColSep">Parameter

</td><td class="TableStyle_Table_in_Body_Head_0_0_RowSep_ColSep">Project Type

</td><td class="TableStyle_Table_in_Body_Head_0_0_RowSep_ColEnd">Description

</td></tr></thead><tbody><tr><td class="TableStyle_Table_in_Body_Body_0_0_ColSep"><a name="ref-command-linetools_1056566962_wp1880mparam"></a>/m

</td><td class="TableStyle_Table_in_Body_Body_0_0_ColSep">InstallScript, InstallScript MSI

</td><td class="TableStyle_Table_in_Body_Body_0_0_ColEnd">The <span class="Command-Line_Parameter">/m</span> option causes <span class="File_Name">Setup.exe</span> to generate an SMS Management Information Format (.mif) file. Following is a typical command:

Setup.exe /m"SampleApp"

Including the “.mif” file extension is not necessary.

</td></tr><tr><td class="TableStyle_Table_in_Body_Body_0_0_RowSep_ColSep"><a name="ref-command-linetools_1056566962_wp1880m1param"></a>/m1

</td><td class="TableStyle_Table_in_Body_Body_0_0_RowSep_ColSep">InstallScript, InstallScript MSI

</td><td class="TableStyle_Table_in_Body_Body_0_0_RowSep_ColEnd">Using the <span class="Command-Line_Parameter">/m1</span> parameter (along with <span class="Command-Line_Parameter">/m</span>) enables you to specify a serial number to be written to the .mif file. A typical command is as follows:

Setup.exe /m"SampleApp" /m1"1234-5678"

</td></tr><tr><td class="TableStyle_Table_in_Body_Body_1_0_RowEnd_ColSep"><a name="ref-command-linetools_1056566962_wp1880m2param"></a>/m2

</td><td class="TableStyle_Table_in_Body_Body_1_0_RowEnd_ColSep">InstallScript, InstallScript MSI

</td><td class="TableStyle_Table_in_Body_Body_1_0_RowEnd_ColEnd">Using the <span class="Command-Line_Parameter">/m2</span> parameter (along with <span class="Command-Line_Parameter">/m</span>) enables you to specify a locale string to be written to the .mif file. A typical command is as follows:

Setup.exe /m"SampleApp" /m2"ENU"

</td></tr></tbody></table>

<a name="ref-command-linetools_1056566962_1073817"></a><a name="ref-command-linetools_1056566962_14578"></a>Minimum UI

<table cellspacing="0" class="TableStyle_Table_in_Body" id="bkmrk-parameters-for-minim"><caption>Parameters for Minimum UI

</caption><colgroup><col width="151px"></col><col width="82px"></col><col width="376px"></col></colgroup><thead><tr><td class="TableStyle_Table_in_Body_Head_0_0_RowSep_ColSep">Parameter

</td><td class="TableStyle_Table_in_Body_Head_0_0_RowSep_ColSep">Project Type

</td><td class="TableStyle_Table_in_Body_Head_0_0_RowSep_ColEnd">Description

</td></tr></thead><tbody><tr><td class="TableStyle_Table_in_Body_Body_0_0_RowEnd_ColSep">/passive

</td><td class="TableStyle_Table_in_Body_Body_0_0_RowEnd_ColSep">Advanced UI, Suite/Advanced UI

</td><td class="TableStyle_Table_in_Body_Body_0_0_RowEnd_ColEnd">Use the <span class="Code">/passive</span> parameter to runs a suite installer setup in a minimum UI mode (just displaying a progress panel):

Setup.exe /passive

To uninstall using a minimum UI mode, use the following command:

Setup.exe /passive /remove

</td></tr></tbody></table>

<a name="ref-command-linetools_1056566962_1039966"></a><a name="ref-command-linetools_1056566962_85487"></a>Miscellaneous

<table cellspacing="0" class="TableStyle_Table_in_Body" id="bkmrk-parameters-for-misce"><caption>Parameters for Miscellaneous

</caption><colgroup><col width="227px"></col><col width="100px"></col><col width="284px"></col></colgroup><thead><tr><td class="TableStyle_Table_in_Body_Head_0_0_RowSep_ColSep">Parameter

</td><td class="TableStyle_Table_in_Body_Head_0_0_RowSep_ColSep">Project Type

</td><td class="TableStyle_Table_in_Body_Head_0_0_RowSep_ColEnd">Description

</td></tr></thead><tbody><tr><td class="TableStyle_Table_in_Body_Body_0_0_ColSep"><a name="ref-command-linetools_1056566962_wp1880delayedstartparam"></a>/delayedstart:&lt;number of seconds&gt;

</td><td class="TableStyle_Table_in_Body_Body_0_0_ColSep">InstallScript

</td><td class="TableStyle_Table_in_Body_Body_0_0_ColEnd">Specifies the amount of time (in seconds) by which initialization of the installation is delayed after <span class="File_Name">Setup.exe</span> is launched.

<span class="autonumber"><span class="notename">Note • </span></span>Using the -delayedstart option is recommended when manually launching an additional installation after reboot (for example, by using the RunOnce key). The delay allows the operation system to initialize completely; this prevents the problems—such as Remote Procedure Call (RPC) errors—that can occur if an installation initializes before the operating system has initialized completely. The recommended delay length is 30 seconds.

Note that this option is not needed when the installation starts automatically after reboot (for example, due to a call to <span class="Function">SdFinishReboot</span> before reboot).

</td></tr><tr><td class="TableStyle_Table_in_Body_Body_0_0_RowSep_ColSep"><a name="ref-command-linetools_1056566962_wp1880runfromtempparam"></a>/runfromtemp

</td><td class="TableStyle_Table_in_Body_Body_0_0_RowSep_ColSep">Basic MSI, InstallScript, InstallScript MSI

</td><td class="TableStyle_Table_in_Body_Body_0_0_RowSep_ColEnd">This parameter allows the setup author to always clone the setup and run it from the temporary directory, even if the setup does not meet the conditions for running from the temporary directory. This parameter is ignored if the setup is a self-extracting executable file (.exe).

</td></tr><tr><td class="TableStyle_Table_in_Body_Body_1_0_ColSep"><a name="ref-command-linetools_1056566962_wp1880clone_waitparam"></a>/Clone\_wait

</td><td class="TableStyle_Table_in_Body_Body_1_0_ColSep">InstallScript, Basic MSI, InstallScript MSI, Suite/Advanced UI

</td><td class="TableStyle_Table_in_Body_Body_1_0_ColEnd">This parameter indicates that the original setup should wait for the cloned setup process to complete before exiting.

By default, the original setup is enabled to wait for the completion of the installation process.

For more information on Clone\_wait, see [<span class="mcFormatColor">Changing the Default Clone\_wait Parameter for the Setup</span>](https://docs.revenera.com/installshield24helplib/helplibrary/Changing_DefaultClone-WaitParameter.htm#gettingstarted_2112269650_1289676).

</td></tr><tr><td class="TableStyle_Table_in_Body_Body_1_0_RowSep_ColSep"><a name="ref-command-linetools_1056566962_wp1880extract_allparam"></a>/extract\_all:&lt;path&gt;

</td><td class="TableStyle_Table_in_Body_Body_1_0_RowSep_ColSep">InstallScript

</td><td class="TableStyle_Table_in_Body_Body_1_0_RowSep_ColEnd">Specifies that a self-extracting package’s files should not be run but simply extracted to the location that is specified by &lt;path&gt;.

</td></tr><tr><td class="TableStyle_Table_in_Body_Body_0_0_ColSep"><a name="ref-command-linetools_1056566962_wp1880hparam"></a>/h

</td><td class="TableStyle_Table_in_Body_Body_0_0_ColSep">Basic MSI, InstallScript MSI

</td><td class="TableStyle_Table_in_Body_Body_0_0_ColEnd">The build engine automatically creates an installation that supports <span class="File_Name">Setup.exe</span> cloning in cases where cloning is required (for example, multi-disk installations). If you need to do this manually, pass <span class="Command-Line_Parameter">/h</span> to <span class="File_Name">Setup.exe</span> and it will clone itself to a temporary location and run from that location.

</td></tr><tr><td class="TableStyle_Table_in_Body_Body_0_0_RowSep_ColSep"><a name="ref-command-linetools_1056566962_hide_progress"></a>/hide\_progress

</td><td class="TableStyle_Table_in_Body_Body_0_0_RowSep_ColSep">Basic MSI, InstallScript, InstallScript MSI

</td><td class="TableStyle_Table_in_Body_Body_0_0_RowSep_ColEnd">Suppresses the display of any small and standard progress dialogs that might be shown during initialization.

The small progress dialog is usually used for installations that display a splash screen during initialization, since a standard-size progress dialog does not leave any space for the splash screen. Specifying the <span class="Command-Line_Parameter">/hide\_progress</span> option hides the small progress dialog for those installations, so end users would see just the splash screen without any progress indication.

<span class="autonumber"><span class="notename">Note • </span></span>For InstallScript installations: If you specify <span class="Command-Line_Parameter">/hide\_progress</span> and include a splash screen in your InstallScript installation, the length of time that the splash screen is displayed depends on whether <span class="User-Inputted_Text">SmallProgress=Y</span> or <span class="User-Inputted_Text">SmallProgress=N</span> is specified in <span class="File_Name">Setup.ini</span>.

<table cellpadding="0" cellspacing="0" class="AutoNumber_p_tnob_Table_Note_Bullet"><colgroup><col></col><col></col><col></col></colgroup><tbody><tr><td valign="top"> </td><td class="AutoNumber_p_tnob_Table_Note_Bullet2" valign="top"><span class="zNotItalic">•</span></td><td class="AutoNumber_p_tnob_Table_Note_Bullet" data-mc-autonum="• " valign="top">If <span class="User-Inputted_Text">SmallProgress=Y</span> is specified, the splash screen is shown for as long as the progress dialog would have been displayed if <span class="Command-Line_Parameter">/hide\_progress</span> was not specified.</td></tr></tbody></table>

<table cellpadding="0" cellspacing="0" class="AutoNumber_p_tnob_Table_Note_Bullet"><colgroup><col></col><col></col><col></col></colgroup><tbody><tr><td valign="top"> </td><td class="AutoNumber_p_tnob_Table_Note_Bullet2" valign="top"><span class="zNotItalic">•</span></td><td class="AutoNumber_p_tnob_Table_Note_Bullet" data-mc-autonum="• " valign="top">If <span class="User-Inputted_Text">SmallProgress=N</span> is specified, the splash screen is shown for the length of time specified in the SplashTime key; thus, using <span class="Command-Line_Parameter">/hide\_progress</span> and <span class="User-Inputted_Text">SmallProgress=Y</span> at the same time is not recommended.</td></tr></tbody></table>

For InstallScript MSI installations: If you include a splash screen, the installation automatically switches to the small progress dialog, and the splash screen is shown only during the time that the progress dialog is displayed. Note that this is true even if <span class="Command-Line_Parameter">/hide\_progress</span> is specified. Therefore, it is recommended that you avoid using <span class="Command-Line_Parameter">/hide\_progress</span> with a splash screen in InstallScript MSI installations.

</td></tr><tr><td class="TableStyle_Table_in_Body_Body_1_0_ColSep"><a name="ref-command-linetools_1056566962_hide_splash"></a>/hide\_splash

</td><td class="TableStyle_Table_in_Body_Body_1_0_ColSep">InstallScript, InstallScript MSI

</td><td class="TableStyle_Table_in_Body_Body_1_0_ColEnd">Suppresses the display of the splash screen if one is included.

</td></tr><tr><td class="TableStyle_Table_in_Body_Body_1_0_RowSep_ColSep"><a name="ref-command-linetools_1056566962_wp1880hide_usdparam"></a>/hide\_usd

</td><td class="TableStyle_Table_in_Body_Body_1_0_RowSep_ColSep">InstallScript

</td><td class="TableStyle_Table_in_Body_Body_1_0_RowSep_ColEnd">Suppresses display of the dialog that is displayed by an update-enabled installation to let the end user select which instance of your product will be updated. This dialog is displayed by default when an update-enabled installation detects multiple previous instances. When this command-line option is used and an update-enabled installation detects multiple previous instances, the installation creates a new instance.

</td></tr><tr><td class="TableStyle_Table_in_Body_Body_0_0_ColSep"><a name="ref-command-linetools_1056566962_wp1880igparam"></a>/ig{InstanceGUID}

</td><td class="TableStyle_Table_in_Body_Body_0_0_ColSep">InstallScript

</td><td class="TableStyle_Table_in_Body_Body_0_0_ColEnd">Specifies the value of the system variable INSTANCE\_GUID; for example, -ig{722C7440-B317-4B3B-AECA-0199EA4E7CDB}. If this option is not used, the installation automatically assigns a value to INSTANCE\_GUID (for multi-instance installations, this value is a newly generated GUID; for standard installations, this value is the same as the value of PRODUCT\_GUID). This option is useful if you have created an installation launcher—that is, a custom application that runs before your installation does to perform pre-setup tasks, such as determining the instance GUID that you want to use for the installation. Do not specify anything other than a valid GUID with this option.

</td></tr><tr><td class="TableStyle_Table_in_Body_Body_0_0_RowSep_ColSep"><a name="ref-command-linetools_1056566962_installfromweb"></a>/installfromweb"PathToDisk1Files"

</td><td class="TableStyle_Table_in_Body_Body_0_0_RowSep_ColSep">InstallScript

</td><td class="TableStyle_Table_in_Body_Body_0_0_RowSep_ColEnd">This option is similar to the media\_path option except that this option forces the installation to behave like a launched One-Click Install installation, even if the path to the media files is not a URL. Use this option if you are launching the installation from a Web page manually. In addition, this option is added automatically if the built-in <span class="File_Name">Setup.ocx</span> file is used to launch the installation.

</td></tr><tr><td class="TableStyle_Table_in_Body_Body_1_0_ColSep"><a name="ref-command-linetools_1056566962_media_path"></a>/media\_path"PathToDisk1Files"

</td><td class="TableStyle_Table_in_Body_Body_1_0_ColSep">InstallScript

</td><td class="TableStyle_Table_in_Body_Body_1_0_ColEnd">This option indicates that the installation should look for the Disk1 files in the location that is specified. Note that only the <span class="File_Name">Setup.exe</span> file needs to be in the original launch location; the installation obtains all other required files from the specified location (including <span class="File_Name">Setup.exe</span>, which must be present in the media location). You can specify a URL as the path to the media files; in this case, the installation behaves like a launched One-Click Install installation, which always shows the security dialog. To learn more about the behavior of One-Click Install installations, see [<span class="mcFormatColor">One-Click Install Installations in InstallScript Projects</span>](https://docs.revenera.com/installshield24helplib/helplibrary/OneClickInstall_NewModel.htm#buildingtestingdistributing_401868635_1023347).

</td></tr><tr><td class="TableStyle_Table_in_Body_Body_1_0_RowSep_ColSep"><a name="ref-command-linetools_1056566962_wp1880lparam"></a>/L<span class="Variable">&lt;LanguageID&gt;</span>

</td><td class="TableStyle_Table_in_Body_Body_1_0_RowSep_ColSep">Basic MSI, InstallScript, InstallScript MSI

</td><td class="TableStyle_Table_in_Body_Body_1_0_RowSep_ColEnd">This option indicates that the installation should run in the specified language as specified. You can specify the language ID as either a hexadecimal or decimal number. If you specify the hexadecimal number, be sure to proceed the value with <span class="User-Inputted_Text">0x</span>. For example, the following commands indicate that the installation should be run in German:

Setup.exe -L0x0407

Setup.exe -L1031

Note that if you specify a language ID that is not supported by the installation or you specify an invalid language ID, the parameter is ignored. Also note that if this parameter is specified and it is valid, the language dialog (if enabled) is automatically suppressed.

</td></tr><tr><td class="TableStyle_Table_in_Body_Body_0_0_ColSep"><a name="ref-command-linetools_1056566962_wp1880wparam"></a>/w

</td><td class="TableStyle_Table_in_Body_Body_0_0_ColSep">Basic MSI, InstallScript MSI

</td><td class="TableStyle_Table_in_Body_Body_0_0_ColEnd">For a Basic MSI project, the <span class="Command-Line_Parameter">/w</span> option forces <span class="File_Name">Setup.exe</span> to wait until the installation is complete before exiting.

<span class="autonumber"><span class="notename">Note • </span></span>If you are using the <span class="Command-Line_Parameter">/w</span> option in a batch file, you may want to precede the entire Setup.exe command-line option with <span class="Emphasis">s</span><span class="Command-Line_Parameter">tart /WAIT</span>. A properly formatted example of this usage is as follows:

start /WAIT setup.exe /w

</td></tr><tr><td class="TableStyle_Table_in_Body_Body_0_0_RowEnd_ColSep"><a name="ref-command-linetools_1056566962_wp1880smsparam"></a>/SMS

</td><td class="TableStyle_Table_in_Body_Body_0_0_RowEnd_ColSep">InstallScript MSI

</td><td class="TableStyle_Table_in_Body_Body_0_0_RowEnd_ColEnd">For an InstallScript MSI project, <span class="File_Name">Setup.exe</span> automatically waits for the installation to finish before exiting, so this option (used by earlier versions of InstallShield Professional) is no longer necessary.

</td></tr></tbody></table>

# Backup and Restore Office 2016 / 2019 Activation

<header class="entry-header" id="bkmrk-november-14%2C-2021"><span class="posted-on"><time class="entry-date published" datetime="2021-11-14T00:34:15+05:30">November 14, 2021</time></span></header>If you still couldn’t recover your Office product key, the last resort is to backup Office activation before reinstalling Windows or Office, so you can reactivate it later.

To do this, open File Explorer and browse to the location: **C:\\Windows\\System32\\spp**. Make a backup copy of all its folders/files and save them to an external USB drive for safekeeping.

<div class="entry-content" id="bkmrk-"><div class="wp-block-image"><figure class="aligncenter size-full is-resized">[![image.png](https://bst.wkmimnl.de/uploads/images/gallery/2025-06/scaled-1680-/V3Bimage.png)](https://bst.wkmimnl.de/uploads/images/gallery/2025-06/V3Bimage.png)

</figure></div></div>After installing a fresh copy of the same edition of Office, you can activate it by restoring the backup files to its original location: **C:\\Windows\\System32\\spp**.

When pasting the files, you may get an error message informing me that “The action can’t be completed because the folder or a file in it is open in another program“.

To get around this problem, just close the Office application and run the following command to stop the sppsvc service: **net stop sppsvc**

When the files are restored, re-launch your Office application and you’ll find the product is already activated. You can also use this method to transfer Office activation over to another computer. But remember to deactivate Office on your old PC before restoring the activation to your new PC.

<aside class="entry-meta" id="bkmrk--1"></aside><section aria-label="Post Comments" class="comments-area" id="bkmrk--2"></section>