I am writing a powershell script to uninstall and install a product. The uninstallation and installation process simply clicks on the next few buttons with default values.
Could you suggest how to install the MSI file without prompting the user to click the next few buttons and complete the installation process very quietly.
If I wanted to provide personalized values ββduring installation, what could be the process of finding property names and how to run it silently. Please refer to any links for further study.
I am using powershell 2.0 and please let me know if more information is needed. Thanks in advance.
Regards, Kumar
To install the MSI file, you can use the switch /quietwith msiexec. If you need to configure something, you can set property values ββas follows:PROPERTY=Value
/quiet
msiexec
PROPERTY=Value
Total: msiexec /i C:\Path\To\File.msi /quiet PROPERTY=Value
msiexec /i C:\Path\To\File.msi /quiet PROPERTY=Value
To view all options, just run msiexecwithout any options. This question is also very similar to yours.
, MSI :). , , SERVERNAME, FRED , SERVERNAME = FRED . , InstallExecuteSequence, , FRED. , , , . SERVERNAME (), \ \MyShare , \FRED\MyShare , , SERVERNAME = "\ FRED\MyShare", . , . .
, , ADDLOCAL = , .
( ):
msiexec.exe /I "C:\WiX.msi" /QN /L*V "C:\msilog.log" MYPROPERTY=1
(. ):
msiexec.exe /I "C:\WiX.msi" /QN /L*V "C:\msilog.log" TRANSFORMS="C:\Wix.mst"
MYPROPERTY: . .
, MSI , (*.mst).
MSI ( msiexec.exe). MSI. , PowerShell, WMI, VBScript Automation .. serverfault.com msiexec.exe .
Source: https://habr.com/ru/post/1547784/More articles:Creating a project through the Google Gmail API - ruby ββ| fooobar.comODE solution on networks with PyDSTool - pythonHibernate returns a list of zeros, although running SQL returns values ββ- javaTransactionException: transaction was not started successfully - javaHow to store and read PGP public keys as strings using Java's Bouncycastle? - javaspring-boot setup basic auth on one web application path? - javaRepeat Javascript when dom is updated with ajax - javascriptHow to calculate RTP timestamp for each packet in an audio stream - timestampActiveRecord checks URL if present - ruby-on-railsWMIC: how to use ** invoke the create ** process with a specific working directory? - windowsAll Articles