Hi all,
my application (C# WinForm .NET 3.5) is distributed via ClickOnce deployment. Application should check for updates on our company web. Problem comes when any part of application has reference to assemblies which are not installed (registered) on curent machine. In solution are some library projects which works with MS Office and therefore has referenced some MS Office libraries. If no MS Office (2000/2003/2007) is installed on machine, automatized update download fails:
"unable to install or run the application. The application requires assembly office version 12.0.0.0 be instaled in tge Global Assembly Cache first"
That makes application useless now, if user has no MS Office instaled. I tried to solve this problem on several forums and in generally I get one possible solution - copy MS Office dll’s and add them to application files. I doubt MS Office dll’s are redistributable free.
Is possible to choose which part of application will be installed with ClickOnce? I mean – user which has no Office installed wont install application extensions for work with Office and will avoid update problems.
Thanks
Lukas