Skip to content

Commit

Permalink
added options for the unattended installation
Browse files Browse the repository at this point in the history
  • Loading branch information
sebkir committed Feb 17, 2022
1 parent 3c4c636 commit 77e941c
Show file tree
Hide file tree
Showing 2 changed files with 53 additions and 3 deletions.
29 changes: 26 additions & 3 deletions de/agent_windows.asciidoc
Expand Up @@ -130,9 +130,32 @@ zum Beispiel folgendermaßen aussehen:
C:\Users\hhirsch\Downloads\> msiexec /i check_mk_agent.msi /qn
----

In diesem Fall wird der Agent unter dem Standardpfad installiert und ebenfalls
sofort als Windows-Dienst gestartet. Diese Methode eignet sich also hervorragend zum
automatischen Ausrollen des Agenten auf viele Hosts.
In diesem Fall wird der Agent unter dem Standardpfad installiert und ebenfalls sofort als Windows-Dienst gestartet.
Diese Methode eignet sich also hervorragend zum automatischen Ausrollen des Agenten auf viele Hosts.

Sie können auf diesem Wege auch die drei Optionen, die Sie im Screenshot im Abschnitt xref:agent_windows.html#_migration_zum_neuen_standardagenten[Migration zum neuen Standardagenten] sehen, verändern.
Um eine Option zu aktivieren hängen sie deren Bezeichner gefolgt von einem Gleichzeichen an:

[{shell}]
----
C:\Users\hhirsch\Downloads\> msiexec /i check_mk_agent.msi /qn WIXUI_CLEANINSTALL=
----

Um eine der Optionen explizit zu deaktivieren, müssen Sie hinter dem Gleichzeichen noch zwei Anführungszeichen anfügen:

[{shell}]
----
C:\Users\hhirsch\Downloads\> msiexec /i check_mk_agent.msi /qn WIXUI_MIGRATELEGACY=""
----

[cols="80,~"]
|===
|Option im graphischen Installer | Bezeichner

| Clean installation| WIXUI_CLEANINSTALL
| Remove Legacy Windows Agent (pre 1.6) if present| WIXUI_REMOVELEGACY
| Migrate from Legacy Windows Agent (pre 1.6) configuration if present| WIXUI_MIGRATELEGACY
|===


[#firewall]
Expand Down
27 changes: 27 additions & 0 deletions en/agent_windows.asciidoc
Expand Up @@ -121,6 +121,33 @@ C:\Users\hhirsch\Downloads\> msiexec /i check_mk_agent.msi /qn
In this case the agent will be installed under the default file path, and then immediately started as a Windows service.
This method is therefore ideal for automatic agent roll outs on many hosts.

You can also use this method to modify the three options you see in the screenshot in the section xref:agent_windows.html#_migration_to_the_new_standard_agent[Migration to the new standard agent].
To enable an option append its identifier followed by an equal sign:

[{shell}]
----
C:\Users\hhirsch\Downloads\> msiexec /i check_mk_agent.msi /qn WIXUI_CLEANINSTALL=
----

To explicitly disable one of the options, you need to add two double quotes after the equal sign:

[{shell}]
----
C:\Users\hhirsch\Downloads\> msiexec /i check_mk_agent.msi /qn WIXUI_MIGRATELEGACY=""
----

[cols="80,~"]
|===
|Option in the graphical installer | Identifier

| Clean installation| WIXUI_CLEANINSTALL
| Remove Legacy Windows Agent (pre 1.6) if present| WIXUI_REMOVELEGACY
| Migrate from Legacy Windows Agent (pre 1.6) configuration if present| WIXUI_MIGRATELEGACY
|===





[#firewall]
==== Windows Firewall
Expand Down

0 comments on commit 77e941c

Please sign in to comment.