Problem while installing my offline application in Windows 7

Answered Problem while installing my offline application in Windows 7

  • Friday, September 30, 2011 5:43 AM
     
     
    I have a offline tool,which was developed using windows forms technology. And we have published the set up using ClickOnce.
    My problem is it is working fine when it is down loading client machine which is having other than Windows7 OS.but it is giving error while installing in window7.The error message is like as follows "Retriving the COM class Factory for component with CLSID failed due to error 80040154".So please help me..

    I guess this is because of 64bit OS. But i am not getting what to do!

All Replies

  • Friday, September 30, 2011 6:19 PM
    Moderator
     
     
    It sounds like the app requires a 32-bit COM component, but you've built it as AnyCpu, and that means it will will run native 64-bit and try to find 64-bit registered COM components that don't exist - they are only registered for 32-bit.
    Phil Wilson
  • Monday, October 03, 2011 9:04 AM
    Moderator
     
     Answered

    Hi Hari Prasad Katakam,

    Welcome to the MSDN Forum.

    The error shows that your application need the dll can be find in the HKEY_LOCAL_MACHINE\SOFTWARE\Classes\CLSID\{CLSID} . And in the current computer, the register key does not deployed. You must register the dlls in the current computer.

    Here is the specification of the CLSID:

    http://msdn.microsoft.com/en-us/library/ms691424(VS.85).aspx 

    On how to deploy COM with ClickOnce, see the following page:

    http://msdn.microsoft.com/en-us/library/ms165432(VS.80).aspx

    Best Regards 


    Neddy Ren [MSFT]
    MSDN Community Support | Feedback to us
    Get or Request Code Sample from Microsoft
    Please remember to mark the replies as answers if they help and unmark them if they provide no help.