mirror of
https://github.com/rustdesk/doc.rustdesk.com.git
synced 2026-04-03 06:16:08 +00:00
107 lines
3.3 KiB
Markdown
107 lines
3.3 KiB
Markdown
---
|
|
title: MSI
|
|
weight: 49
|
|
description: "Install RustDesk on Windows with the MSI package and command-line parameters for silent deployment. Learn how to set the install folder, shortcuts, printer support, and upgrade options with msiexec."
|
|
keywords: ["rustdesk msi", "rustdesk silent install", "rustdesk msiexec", "rustdesk windows msi", "rustdesk installfolder", "rustdesk printer install"]
|
|
---
|
|
|
|
Use the RustDesk MSI package when you need silent Windows deployment with `msiexec` and installation parameters.
|
|
|
|
The MSI package supports command line parameters for silent installation.
|
|
|
|
## When should you use the MSI package?
|
|
|
|
Use the MSI package when you need standard Windows software deployment through `msiexec`, managed packaging tools, or silent installation workflows. It is the best fit for enterprise environments that already use MSI-based rollout and upgrade processes.
|
|
|
|
## MSI quick answers
|
|
|
|
- MSI is best for silent Windows deployment
|
|
- You can set install path, shortcut behavior, and printer installation through parameters
|
|
- Upgrades can reuse previous installation settings
|
|
- Versions before `2024-08-05` may have silent install and repair issues
|
|
- Use `/l*v install.log` when you need a detailed installation log
|
|
|
|
## Parameters
|
|
|
|
## INSTALLFOLDER
|
|
|
|
The installation folder.
|
|
|
|
**Default**: `[ProgramFiles6432Folder]\[app name]`, usually `C:\Program Files\[app name]`.
|
|
|
|
|
|
## CREATESTARTMENUSHORTCUTS
|
|
|
|
Whether to create a start menu shortcut.
|
|
|
|
**Default**:
|
|
1. Install. Defaults to `1`.
|
|
2. Upgrade. Defaults to the last installed options.
|
|
|
|
| No | Value | Desc |
|
|
| :---: | :---: | :---: |
|
|
| 1 | `1` | Yes |
|
|
| 2 | `0` | No |
|
|
| 3 | `Y` | Yes, same as `1` |
|
|
| 4 | `N` | No, same as `0` |
|
|
|
|
## CREATEDESKTOPSHORTCUTS
|
|
|
|
Whether to create a desktop shortcut.
|
|
|
|
**Default**:
|
|
1. Install. Defaults to `1`.
|
|
2. Upgrade. Defaults to the last installed options.
|
|
|
|
| No | Value | Desc |
|
|
| :---: | :---: | :---: |
|
|
| 1 | `1` | Yes |
|
|
| 2 | `0` | No |
|
|
| 3 | `Y` | Yes, same as `1` |
|
|
| 4 | `N` | No, same as `0` |
|
|
|
|
## INSTALLPRINTER
|
|
|
|
Whether to install a printer. The printer is used to execute the print jobs of the controlled side locally.
|
|
|
|
Since version `1.3.9`.
|
|
|
|
**Default**:
|
|
1. Install. Defaults to `1`.
|
|
2. Upgrade. Defaults to the last installed options.
|
|
|
|
| No | Value | Desc |
|
|
| :---: | :---: | :---: |
|
|
| 1 | `1` | Yes |
|
|
| 2 | `0` | No |
|
|
| 3 | `Y` | Yes, same as `1` |
|
|
| 4 | `N` | No, same as `0` |
|
|
|
|
# Examples
|
|
|
|
**Caution**: For versions prior to `2024-08-05`, there are issues with silent installation and silent repair. Please uninstall first, then install.
|
|
|
|
## Install with installation parameters
|
|
|
|
Silent installation, set the installation path, do not create a desktop shortcut, create a start menu shortcut.
|
|
|
|
```
|
|
msiexec /i RustDesk-1.msi /qn INSTALLFOLDER="D:\Program Files\RustDesk" CREATESTARTMENUSHORTCUTS="Y" CREATEDESKTOPSHORTCUTS="N" INSTALLPRINTER="N" /l*v install.log
|
|
```
|
|
|
|
**Note**: `/l*v install.log` means printing the execution log to `install.log`.
|
|
|
|
## Upgrade, without parameters
|
|
|
|
Upgrade with the previous installation path and installation options.
|
|
|
|
```
|
|
msiexec /i RustDesk-2.msi /qn /l*v install.log
|
|
```
|
|
|
|
## Upgrade, modify installation options
|
|
|
|
```
|
|
msiexec /i RustDesk-1.msi /qn INSTALLFOLDER="C:\Program Files\RustDesk" CREATESTARTMENUSHORTCUTS="N" CREATEDESKTOPSHORTCUTS="N" INSTALLPRINTER="N" /l*v install.log
|
|
```
|