-
Notifications
You must be signed in to change notification settings - Fork 405
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #428 from fufesou/doc/windows_msi
doc: windows msi
- Loading branch information
Showing
18 changed files
with
180 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,73 @@ | ||
--- | ||
title: MSI | ||
weight: 49 | ||
--- | ||
|
||
The MSI package supports command line parameters for silent installation. | ||
|
||
### 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` | | ||
|
||
## 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" /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" /l*v install.log | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,74 @@ | ||
--- | ||
title: MSI | ||
weight: 49 | ||
--- | ||
|
||
|
||
MSI 安装支持命令行参数,以方便静默安装。 | ||
|
||
### 参数 | ||
|
||
### INSTALLFOLDER | ||
|
||
安装目录。 | ||
|
||
**默认**: `[ProgramFiles6432Folder]\[app name]`,一般为 `C:\Program Files\[app name]`。 | ||
|
||
|
||
### CREATESTARTMENUSHORTCUTS | ||
|
||
是否创建 start menu 快捷方式。 | ||
|
||
**默认**: | ||
1. 安装。默认为 `1`。 | ||
2. 升级。默认为上次安装时的选项。 | ||
|
||
| 编号 | 值 | 说明 | | ||
| :---: | :---: | :---: | | ||
| 1 | `1` | 是 | | ||
| 2 | `0` | 否 | | ||
| 3 | `Y` | 是,同 `1` | | ||
| 4 | `N` | 否,同 `0` | | ||
|
||
### CREATEDESKTOPSHORTCUTS | ||
|
||
是否创建桌面快捷方式。 | ||
|
||
**默认**: | ||
1. 安装。默认为 `1`。 | ||
2. 升级。默认为上次安装时的选项。 | ||
|
||
| 编号 | 值 | 说明 | | ||
| :---: | :---: | :---: | | ||
| 1 | `1` | 是 | | ||
| 2 | `0` | 否 | | ||
| 3 | `Y` | 是,同 `1` | | ||
| 4 | `N` | 否,同 `0` | | ||
|
||
## 示例 | ||
|
||
**注意**: 对于 `2024-08-05` 之前的版本,执行 静默安装 和 静默修复 时会有问题。请先执行卸载,再执行安装。 | ||
|
||
### 指定参数安装 | ||
|
||
静默安装,设置安装路径,不创建桌面快捷方式,创建 start menu 快捷方式。 | ||
|
||
``` | ||
msiexec /i RustDesk-1.msi /qn INSTALLFOLDER="D:\Program Files\RustDesk" CREATESTARTMENUSHORTCUTS="Y" CREATEDESKTOPSHORTCUTS="N" /l*v install.log | ||
``` | ||
|
||
**注**: `/l*v install.log` 表示打印执行日志到 `install.log` 中。 | ||
|
||
### 升级,不指定参数 | ||
|
||
以原来的 安装路径 和 安装参数升级。 | ||
|
||
``` | ||
msiexec /i RustDesk-2.msi /qn /l*v install.log | ||
``` | ||
|
||
### 升级,修改安装参数 | ||
|
||
``` | ||
msiexec /i RustDesk-2.msi /qn INSTALLFOLDER="C:\Program Files\RustDesk" CREATESTARTMENUSHORTCUTS="N" CREATEDESKTOPSHORTCUTS="N" /l*v install.log | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
--- | ||
title: Windows | ||
weight: 4 | ||
--- | ||
|
||
[English](/docs/en/client/windows) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
--- | ||
title: Windows | ||
weight: 4 | ||
--- |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
--- | ||
title: Windows | ||
weight: 4 | ||
--- | ||
|
||
[English](/docs/en/client/windows) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
--- | ||
title: Windows | ||
weight: 4 | ||
--- | ||
|
||
[English](/docs/en/client/windows) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
--- | ||
title: Windows | ||
weight: 4 | ||
--- | ||
|
||
[English](/docs/en/client/windows) |
2 changes: 1 addition & 1 deletion
2
...t/windows-portable-elevation/_index.de.md → ...s/windows-portable-elevation/_index.de.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
...t/windows-portable-elevation/_index.en.md → ...s/windows-portable-elevation/_index.en.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
...t/windows-portable-elevation/_index.es.md → ...s/windows-portable-elevation/_index.es.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
...t/windows-portable-elevation/_index.pt.md → ...s/windows-portable-elevation/_index.pt.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
...indows-portable-elevation/_index.zh-cn.md → ...indows-portable-elevation/_index.zh-cn.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
--- | ||
title: Windows Portable 提权 | ||
weight: 4 | ||
weight: 49 | ||
--- | ||
|
||
在Windows下,Portable程序没有管理员权限,这会导致以下问题: | ||
|
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes