msiexec

Windows 7 64 Bit/Save mode: Rename msi.dll not possible [closed]

和自甴很熟 提交于 2019-12-13 09:46:56
问题 Closed. This question is off-topic. It is not currently accepting answers. Want to improve this question? Update the question so it's on-topic for Stack Overflow. Closed 5 years ago . Due to problems with the windows installer 5 I must rename msi.dll for reinstallation. That's not possible in save mode/as administrator (access denied). Of course the service is stopped. Any hints? Edit: My problem is that I can't install msi files anymore. Everytime after some dialogs I get an error message

Patch (minor upgrade) creation issues with MSM (merge modules)

百般思念 提交于 2019-12-13 05:12:51
问题 I am facing issues with patches (minor upgrade) installation (updates) with MSM (merge modules). I am creating MSI (test.msi) with texst.wxs. And inside text.wxs referring to app.msm file (there is a folder app, which contains so many folders and files. And harvesting this folder and making app.msm file) Below are steps for making app.msm file. heat dir "app" -gg -sfrag -template:module -srd -ke -var var.source -out app.wxs candle -dsource=app app.wxs light app.wixobj Below is snippet of test

What is the root cause of “Error Applying Transforms. Verify that the specified transform paths valid”?

浪尽此生 提交于 2019-12-13 03:49:11
问题 I have MSI installer and I'm installing and uninstalling it using PowerShell script. When I uninstall it then I'm getting following error on Windows 2008/2016 server which is created on Azure. Error Applying Transforms. Verify that the specified transform paths valid I'm not getting this issue during uninstallation if I'm using non-Azure (Hyper-V etc.) environment. I tried couple of solution like to delete the Transforms registry, sfc /scannow, msiexec register/unregister. It works in that

Repackaging Installshield 5.0 installer to MSI and removing dependencies

房东的猫 提交于 2019-12-13 02:15:52
问题 I have an installation package that installs a mapping program I use for work. As I now have to upgrade to Windows 10, unfortunately the program won't install as some components are no longer valid and it crashes out part way through installation. The installer package has been made with Installshield 5.0 some time ago. The dependencies installed are - dcom 95/98 - Visual C++ - Microsoft Data Access Components I would like to remove the two dependencies visual c++ and MDAC as they are already

Issue installing MSI silently using msiexec, possible syntax issue?

我们两清 提交于 2019-12-13 01:54:01
问题 Essentially I would like to install an msi file silently, and I've got it to work using the following line: msiexec /i C:\Users\%username%\Downloads\mysqlODBC.msi /passive One addition I would like to make is to add double quotes to the user name portion of the line to ensure any usernames that may contain spaces are read correctly. ----> "%username%" The issue is the msi file fails to install when I add this. I have always used this when writing batch scripts with directories. Any idea how

Powershell: run msiexec with dynamically created parameters

走远了吗. 提交于 2019-12-13 01:44:06
问题 in my powershell script, I need to run msiexec and pass few parameters to initialize it. The problem is, that if a parameter contains space character " ", powershell doesn't execute msiexec correctly. For example the command: msiexec /i .\Setup.msi ConnectionString="Initial Catalog=something;Integrated Security=True;Pooling=False" The parameter ConnectionString contains spaces, and this causes that msiexec is not executed correctly, I get msiexec error code 1639 - Invalid command line

WiX property not found in uninstall log

被刻印的时光 ゝ 提交于 2019-12-13 01:27:43
问题 Property change from the UI disappears from uninstall log. If I install my app with default property values and then run uninstall the property appears in the uninstall log. If I change the property value from the UI on uninstall it does not appear in the log. This is the reason why the apppool and webapp remain in IIS after uninstall, which is not the case with the default values. <Property Id="WEB_APP_NAME" Value="WebApp" Secure="yes" /> this is how to property looks like. This is where I

MSI WIX: Creating minor upgrade patch by using 2 MSI's

你。 提交于 2019-12-12 11:25:15
问题 Is there any way to create minor upgrade (patch file i.e. .msp) or msi based on the old MSI installer and new MSi installer. we want to give the customer to minor upgraded patch (.msp or .msi0, which contains the changes only. 1) I have created (old) Test.msi, based on the 4 .wxs files. these 4 wxs files helps the installation wizard steps. Below are example. Welcome.wxs file : where we mentioned just welcome message with reference of our project image Main.wxs file : which contains the

How to find program location in registry, if I know MSI GUID?

混江龙づ霸主 提交于 2019-12-12 10:34:51
问题 I have installed some MSI with GUID (0733556C-37E8-4123-A801-D3E6C5151617). The program registered in the registry: HKEY_LOCAL_MACHINE \ SOFTWARE \ Microsoft \ Windows \ CurrentVersion \ Uninstall \ () Value UninstallString = MsiExec.exe / I (0733556C-37E8-4123-A801-D3E6C5151617) My question is: how utility MsiExec.exe knows the name and path to the file you want to run when you remove programs? Where in the registry this information can be found? 回答1: Windows keeps Windows Installer

How do you call an exe from code and get around possible UAC action against this?

天大地大妈咪最大 提交于 2019-12-12 10:21:31
问题 I'm using system.diagnostics.process to start an msi file in quiet mode. I'm getting an exit code 1625, and I suspect its because UAC is preventing it from running. I've turned off the UAC prompts but no dice... How can I make sure that I'm properly elevating the privileges of the msiexec so it actually runs? Thanks, Isaac 回答1: UAC Elevation in Managed Code: Starting Elevated Processes 回答2: ProcessStartInfo startInfo = new ProcessStartInfo(); startInfo.Arguments = "/i " + "\""+Directory