msiexec

How can I install TortoiseSVN with commands using command line msiexec.exe?

早过忘川 提交于 2019-11-28 06:15:55
问题 I need to create a command line that will install TortoiseSVN and include the Subversion command line utilities. What options on the msiexec.exe command line would tell the installer to include the command set? TortoiseSVN-1.9.3.27038-x64-svn-1.9.3.msi 回答1: Reference: https://groups.google.com/forum/#!topic/tortoisesvn/j1e_6v2IfPQ msiexec.exe /i TortoiseSVN-1.9.3.27038-x64-svn-1.9.3.msi /passive /norestart ADDLOCAL=ALL 来源: https://stackoverflow.com/questions/36988346/how-can-i-install

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

对着背影说爱祢 提交于 2019-11-28 05:51:42
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 that the package exists and that you can access it, or contact the application vendor to verify that this

How to set a check box to “unchecked” from the msiexec command line?

不问归期 提交于 2019-11-28 03:38:27
问题 I have an msi (authored with WIX) that has a check box bound to a custom property (call it MY_PROPERTY). I would like to run this msi from the command line, specifying 0 (unchecked) or 1 (checked) for this property. My script will determine the appropriate value (based on the environment) and inject that value into the msiexec command line. My command line looks something like this: msiexec /i my_installer.msi MY_PROPERTY=$value Where $value is 1 or 0, depending on the environment. The

Are applications dependent on the environment where it was compiled?

青春壹個敷衍的年華 提交于 2019-11-28 02:26:47
We are having a System.BadImageFormatException in our MSI installers. I have already read about the target frameworks, but we already checked and it's targeting the correct framework ( .NET Framework 4.5 same with our QA machines). We have exactly the same source codes, but the results of the msi installer compiled by our 'build team' fails, but the msi installer compiled by us 'dev' works. Question is, does the environment where an application was built and compiled affects the output (example: msi installers)? There are basically two reasons for this error: A cross-architecture call from 32

msiexec returns negative number

一笑奈何 提交于 2019-11-28 02:17:33
I am getting an odd return code from msiexec when installing an MSI. Namely, -2147021886 . I THINK I remember reading somewhere that this is some sort of format or encoding issue, but I can't find the reference. I also found a microsoft page that talks about PS2.o having issues with negative return codes, but this is happening in PS5.0. "The Magic Number Database" : I recently discovered magnumdb.com ( cleared virustotal 30-9-2018 ) in a tweet from Remko Weijnen . "The Magic Number Database" is apparently maintained by Simon Mourier . Looking up your error code: https://www.magnumdb.com/search

Is there an alternative to GUID when using msiexec to uninstall an application?

狂风中的少年 提交于 2019-11-28 01:46:09
We're currently using a GUID to identify the application when running our uninstall script which contains msiexec. The problem I'm having is the GUID changes every time I install the latest version of the application, so I was wondering if there is a different way that I can identify our application running using msiexec? The usual way that people get around the various ProductCode values in this situation is to start with the more constant UpgradeCode. Given the UpgradeCode, you can use MsiEnumRelatedProducts (or script or MSI interop equivalent) to return the ProductCode. Code like this

installation using msi.exec open help options every time

早过忘川 提交于 2019-11-28 01:20:45
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? 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 help screen because you got the syntax wrong in some way. Note that the MSI file will not install

How to programmatically read the properties inside an MSI file?

≯℡__Kan透↙ 提交于 2019-11-27 23:16:41
Is there any way to read the properties inside the msi file? For example given a msi file name Testpackage.msi I need to find productName PackageCode version This I am going to use it with WMI uninstall string objPath = string.Format("Win32_Product.IdentifyingNumber='{0}',Name='{1}',Version='{2}'", "{AC9C1263-2BA8-4863-BE18-01232375CE42}", "testproduct", "10.0.0.0"); Update: Using Orca is a great option, if this can be achieved programatically, then I can use this to generate automatic release notes. and in un-install program too. Arnout You can use the COM-based API for working with MSI , and

Install msi with msiexec in a Specific Directory

时间秒杀一切 提交于 2019-11-27 18:59:07
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. Ciprian 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 David Schwartz InstallShield 12 INSTALLDIR represents the main product installation directory for a regular Windows Installer–based (or InstallScript MSI)

Uninstall and Install App on my Computer silently

你说的曾经没有我的故事 提交于 2019-11-27 16:27:13
I am looking for a script or some cmd command to uninstall any app from my computer. I am using Windows OS. Being an automation analyst I have to constantly run automated tests for different products whenever there is new build. So every time I have to uninstall and install build which takes time. I did try the following command: wmic product where name="product name" call uninstall Apparently it did work, but it didn't remove the app from control panel and also when I tried to install again it shows installation menu saying uninstall is needed. However the app's data is removed from