The MSI package supports command line parameters for silent installation.
The installation folder.
Default: [ProgramFiles6432Folder]\[app name]
, usually C:\Program Files\[app name]
.
Whether to create a start menu shortcut.
Default:
1
.No | Value | Desc |
---|---|---|
1 | 1 | Yes |
2 | 0 | No |
3 | Y | Yes, same as 1 |
4 | N | No, same as 0 |
Whether to create a desktop shortcut.
Default:
1
.No | Value | Desc |
---|---|---|
1 | 1 | Yes |
2 | 0 | No |
3 | Y | Yes, same as 1 |
4 | N | No, same as 0 |
Caution: For versions prior to 2024-08-05
, there are issues with silent installation and silent repair. Please uninstall first, then install.
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 with the previous installation path and installation options.
msiexec /i RustDesk-2.msi /qn /l*v install.log
msiexec /i RustDesk-1.msi /qn INSTALLFOLDER="C:\Program Files\RustDesk" CREATESTARTMENUSHORTCUTS="N" CREATEDESKTOPSHORTCUTS="N" /l*v install.log