From: Velupula on 2 Mar 2007 03:06
Error message "Unable to install or run the application. The
application requires stdole Version 7.0.3300.0 in the GAC"
I had the same problem with a click once deployment.
I solved the problem by going to the 'Publish' tab in the project
properties and then selecting the 'Application Files' button.
I then selected the options:
'File Name' of 'stdole.dll'
'Publish status' to 'Include' and
'Download Group' to 'Required'.
This fixed my problem when I re-published.
However, I wanted to take the opportunity to explain what is going
on. Visual Studio 2005 tries to be smart about how to deploy
references. If the reference has CopyLocal=true, then the reference
will be published with the application, by default. If the reference
has CopyLocal=false (which is the default when the a reference is
installed in the gac, then the reference will be marked as a
prerequisite. This means the assembly must be installed in the
client's GAC before the ClickOnce application will install.
There are some assemblies that are install into the GAC because of the
Visual Studio install, not the .NET Framework install. It sounds like
this is the situation
Prev: Schedule task error
Next: Help With PInvoke and SetupDiEnumDriverInfo/SP_DRVINFO_DATA