Windows Develop Bookmark and Share   
 index > ClickOnce and Setup & Deployment Projects > ClickOnce and Setup & deployment problem when trying to run from fileshare
 

ClickOnce and Setup & deployment problem when trying to run from fileshare

I have a 3.5 .Net application that I have created. I have used the ClickOnce setup and deployment for putting this out on a fileshare on my local network. I am using Microsoft office in my references for printing purposes, it works so much easier then anything else. The publish seems to work fine. On my PC it works like a charm no problem. On any other PC the user goes to the file share and clicks on the setup.exe and it does the setup and seems to work just fine. As it's checking components before I get to the logon screen everyone gets this error... System Update Required This assembly is unable to be installed. The assembly Microsoft.Office.Interop version 11.0.0.0 needs to be installed in the Global Assembly Cache. I have tried making office a prerequisite and not and I still get the same error message. I'm really pulling my hair out, I had 3 customers at my local to test this application and I have been unable to make it work this way. I even uninstalled Microsoft Office on one PC and reinstalled and it still doesn't work. I have been searching all over the web for this same problem and no one seems to have this exact problem. I chose this option because making sure that everyone has a current installation on their desktops is a nightmare and using a fileshare on the local network is convenient and easy for everyone. This should not be so difficult! Other window forms applications I can just put everything on a file share and setup a script to do some registry updates and everything is great. PLEASE HELP!!!

Thanks, Tambra
Tambra1  Wednesday, October 07, 2009 7:43 PM

Tambra1,

Have you tried deploying the Office Primary Interop Assemblies (PIAs) as a prerequisite? It sounds like you have some interop code, and haven't deployed the assemblies used to communicate betweeh .NET and Office's COM interface. You could try installing them on one computer and seeing if it fixes the problem; I'm betting it will.

RoibnDOtNet


Click here to visit my ClickOnce blog!
Microsoft MVP, Client App Dev
RobinDotNet  Wednesday, October 07, 2009 9:14 PM

You can use google to search for other answers

Custom Search

More Threads

• clickonce issue on vista
• Unable to Reinstall ClickOnce Application
• ClickOnce - Deploy previous version
• Error 407, proxy authentication required
• Windows service uninstall/install issue
• How to let setup.exe load components from its parent folder?
• Do not auto run application after installation?
• DataDirectory not copied on Update after CD install
• Install from CD
• .net version 3.5 is chosen although my project only requires version 2.0