msiexec

Powershell Silent Uninstall “Microsoft Report Viewer Runtime 2012”

末鹿安然 提交于 2019-11-27 16:26:43
I have tried many of the common approaches (MSI, PowerShell) to silently uninstalling the following application: MSI $ReportViewer2012 = Get-WmiObject -Class Win32_Product -Filter "Name = 'Microsoft Report Viewer 2012 Runtime'" | Select-Object -Expand IdentifyingNumber if ($ReportViewer2012) { echo "Unistalling: Microsoft Report Viewer 2012 Runtime" msiexec /passive /x $ReportViewer2012 | Out-Null } Powershell (Get-WMIObject Win32_Product -Filter 'name="Microsoft Report Viewer 2012 Runtime"').Uninstall() Without any effect, I did however get a verbose log for the output(/L*V): MSI (s) (20:84)

Can the resulting command line be determined after running an .msi installer?

本小妞迷上赌 提交于 2019-11-27 16:25:55
If I want a silent install, is there any simple way of running the installer, selecting the desired options and then determining the msiexec options/switches necessary for an equivalent installation? (Preferably without actually installing anything - not clicking finish) Or is digging through the MSI database all you can do to find the desired properties? Yes, it sounds like you need to create a response transform (MST). A lot of the tools linked to above are premium tools (not worth paying for a response transform!!) but I used this a while ago (this tool is free) and it seemed to work well:

convert msi to exe with a command line option…

六月ゝ 毕业季﹏ 提交于 2019-11-27 11:49:19
问题 i want to convert a msi file in to an exe file. When i run msi file with qn option with msiexec then my software install silently. But now i want to convert that msi file into .exe file , and that exe file runs msi file with msiexec /i "path of msi file" /qn option, any idea how to do it. 回答1: If you are making the setup yourself using Installshield , the tool itself should be able to create a setup.exe file by simply setting the release settings in the release wizard - I think it just

Create MSI and Enforce All Users with Visual Studio

我是研究僧i 提交于 2019-11-27 08:47:29
问题 I have created an installer using Visual Studio 2015 (with the Visual Studio installer addon). The goal is to always run the APP with the same local resources, regardless of who is logged on, therefore we target [CommonAppDataFolder] (C:\ProgramData... on Win10). The installer works just fine placing all shared resources where we want them. But the generated MSI provides the option to install as "everyone" or just the "just me" We want to grey out the option to install as "just me". Is there

EXE file is not working

岁酱吖の 提交于 2019-11-27 07:40:08
问题 I have a .msi (windows installer package) file into my project . I generated .exe file from .msi file successfully but whenever I try to open that .exe file or run as administrator it does nothing . How to solve this? Anything will help regarding this . Please help UPDATE Here is my code for .msi file components.wxs <?xml version="1.0" encoding="UTF-8"?> <Wix xmlns="http://schemas.microsoft.com/wix/2006/wi" xmlns:util="http://schemas.microsoft.com/wix/UtilExtension"> <?include Defines.wxi?>

How to interactive a silently installing msi? (Progress data and cancel it)

蹲街弑〆低调 提交于 2019-11-27 05:12:28
For some reason, we are delivering a product with our own install GUI, that means, we will run the msi installation silently background. By using the MSI API "MsiInstallProduct", I can install the product silently, but I have no idea how can I get the progress data of this installation and how can I cancel it. Anyone has some ideas? Here is a sample project that appears to do what you are referring to: http://www.codeproject.com/KB/cs/msiinterop.aspx UPDATE June 2018 : Although the tool shown below is no longer available for download, I found it via Wayback machine. I assume it is OK and legal

How to uninstall with msiexec using product id guid without .msi file present

丶灬走出姿态 提交于 2019-11-27 01:11:10
问题 I'm trying to automate the uninstallation of packages created using WiX for the purposes of changing the installed software stack & configuration without reprovisioning a whole OS. Eventually I'll use powershell scripting to do this but at the moment I can't seem to get my test package to uninstall interactively with cmd. If I run: msiexec /x '{A4BFF20C-A21E-4720-88E5-79D5A5AEB2E8}' msiexec /x A4BFF20C-A21E-4720-88E5-79D5A5AEB2E8 I get: "The installation package could not be opened. Verify

Does an universal cross-platform installer exists?

两盒软妹~` 提交于 2019-11-26 23:12:57
I wonder is someone tried to create either kinda open standard for cross-platform installer for an application or the installer implementation? That means you can simply download single file from the website, and it's extension recognizable by any popular operating system? We have .pkg and .dmg files for mac, .msi and plain .exe installers for windows, .deb packages for linux (in case of debian), but we haven't universal for each platform (like .uoi (Universal Open Installer), lol). One might think that this approach is impossible because every OS has it's own structure and files organization,

Install msi with msiexec in a Specific Directory

只愿长相守 提交于 2019-11-26 22:42:55
问题 I want to install a msi with msiexec in a specific directory. I'm using: msiexec /i "msi path" INSTALLDIR="C:\myfolder" /qb It is not working with the "INSTALLDIR", because the msi is installing in the default path and not in my specific path. 回答1: Use TARGETDIR instead of INSTALLDIR. Note that the quote marks for TARGETDIR property are only around the path in the case of spaces. msiexec /i "msi path" TARGETDIR="C:\myfolder" /qb 回答2: InstallShield 12 INSTALLDIR represents the main product

installation using msi.exec open help options every time

百般思念 提交于 2019-11-26 21:53:09
问题 I have been trying to install a msi file using cmd. The command looks like C:\Windows\system32> msiexec.exe -q -i "Installer.msi" But every time I run this the window for help options is opened for msi instead of running the installer. What could be the problem? 回答1: First, you need to specify the full path to the MSI file. Also, the command line is really picky if you are specifying anything else, and sometimes it doesn't like spaces between value=proprtyname. Those errors will give you the