Can't attach to remote msiexec.exe process

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance



I'm trying to debug a custom action in a DLL which is part of a Windows Installer setup. The MsiBreak environment variable is set to the name of the custom action, and Windows Installer correctly breaks when running the custom action.

The problem is that I can't attach to the msiexec.exe process running on the remote system. The Visual Studio 2005 debugger fails with 'Unable to attach to the process. The requested operation is not supported.'

Any idea why this happens? Attaching to other applications on the remote system works fine.

Thanks in advance,

Christian Studer
.



Relevant Pages

  • Re: msi wrapper for Windows Updates
    ... "Success" from a custom action program is defined as an exit code of zero. ... Definitive Guide to Windows Installer ... >>> restart. ...
    (microsoft.public.sms.swdist)
  • Re: How do I set property in Custom Action?
    ... just browse to a vbs file to use it as a custom ... Phil Wilson [MVP Windows Installer] ... > a custom action in VS 2003 deployment project. ...
    (microsoft.public.dotnet.framework.setup)
  • Re: Custom action
    ... I recommend that you set an actual version in your assemblyinfo file - ... Definitive Guide to Windows Installer ... > message now that I've added another custom action to my setup project. ... Attempting download of new URL ...
    (microsoft.public.dotnet.framework.setup)
  • Re: Getting Public Properties set in the commandLine in the Custom Action
    ... I looked in the MSI file that VS generates in those circumstances - the bad ... news is that when you have a dialog like that, VS generates a custom action ... need one set of property names for your command line and another internally ... Definitive Guide to Windows Installer ...
    (microsoft.public.dotnet.framework.setup)
  • Re: Default Location
    ... Add a "Set a Directory" custom action with a condition that evaluates to ... Microsoft Windows Installer MVP ... > How does one "set the location from registry only if the registry entry is ... My deployment package seachers for a registry ...
    (microsoft.public.dotnet.framework.setup)