Failing One-Click Installs
Posted on 2007-10-03
Ive written an application using Visual Basic 2005 and Visual Studio 2005.
The application needs to be used on some PCs with Office 2003 and some PCs without Office installed.
Since I have a form in the application where the individual needs to enter a narrative into a text box, I want to allow those with Word to be able to spell check the text theyve entered. My program works great on PCs with Office installed. But when the users without Office try to install the program, they get an error. The error box says, Unable to install or run the application. The application requires that assembly Microsoft.Vbe.Interop Version 18.104.22.168 be installed in the Global Assembly Cache (GAC) first. Please contact your system administrator.
I dont have the licenses available to install Microsoft Office on all my PCs. Some users just dont need it or we have specific reasons for them not to have it. I also dont have the budget to purchase licenses for an independent spell checker plug in. On my form, I make the spell check button visible or hide it depending on the registry key for Word.
How can I get the program to install without Office and still allow those with Word to be able to use the Word spell checker?