问题
I have a COM+ application that i am trying to install manually by double clicking on the .msi file but it gives error and fails to install the COM+ application.
It doesn't create any entry in Component Services as well due to this error.
I tried searching in registry as well but could find any entry with the COM+ application name.
How do i resolve this issue? I need to install this COM+ application on my server.
I have added screenshot of the error for reference.
回答1:
Admin Rights: First of all, are you running the MSI with admin rights? Try launching from an elevated cmd.exe to be sure. COM+ MSI files can be exported from the Component Services applet - and they are then legendary poor quality. Here is a mock-up command line you can try:
msiexec.exe /i "Setup.msi" /QN /L*V "C:\log.log" /qn ALLUSERS=1
Logging: Secondly, please try to log the installation to see what it says in there. The above command line already implements logging, but here are more details on logging and interpreting the log file:
- Event logging, etc...
- Interpreting MSI log files, etc...
Component Services: You can also try to open Component Services and launch the MSI from there. I don't have a suitable MSI to test with at the moment. Providing some steps to get you going:
- Launch:
%windir%\system32\comexp.msc(Windows Key + Tap R + Typecomexp.msc+ OK) - Locate:
Component Services=>Computers=>My Computer=>COM+ Applications - Right Click
"COM+ Applications"=>New=>Program=>Next=>Install pre-built program=>Browse to MSI
If you have the component installed on another computer you might be able to export a new MSI to use on your other computers. I am not sure.
来源:https://stackoverflow.com/questions/56146456/getting-error-registering-com-application