PDA

View Full Version : MS Project VSTO failing to Load after Install



cindy.siders
04-01-2011, 01:23 PM
I have a client that is trying to install our MS Project 2010 VSTO Add-in. He steps through our Installshield Express package and it says it completes successfully. When he opens MS Project, it tries to load the Add-in and he gets the exception below. During the install, he says it is defaulting to the Program Files (x86) folder for Destination, but in the exception it appears to be looking in Program Files. The install works fine on my 64-bit Windows 7 machine.

The reason I believe this is related to Installshield is because it should be creating proper registry keys with a Manifest value pointing to the proper location of the .VSTO file. Also, we had it installing correctly with Windows Installer with the same registry keys and configuration, but it just didn't work for All Users. So now we're trying to use Installshield to fix that problem, but we have a separate issue now.

Please help!

************** Exception Text **************
System.Deployment.Application.DeploymentDownloadException: Downloading file:///C:/Program Files/Connections Online/Connections Online Project 2010 Connector/COL4ProjectAddin2010.vsto did not succeed. ---> System.Net.WebException: Could not find a part of the path 'C:\Program Files\Connections Online\Connections Online Project 2010 Connector\COL4ProjectAddin2010.vsto'. ---> System.Net.WebException: Could not find a part of the path 'C:\Program Files\Connections Online\Connections Online Project 2010 Connector\COL4ProjectAddin2010.vsto'. ---> System.IO.DirectoryNotFoundException: Could not find a part of the path 'C:\Program Files\Connections Online\Connections Online Project 2010 Connector\COL4ProjectAddin2010.vsto'.
at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
at System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy, Boolean useLongPath)
at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options, String msgPath, Boolean bFromProxy)
at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, Boolean useAsync)
at System.Net.FileWebStream..ctor(FileWebRequest request, String path, FileMode mode, FileAccess access, FileShare sharing, Int32 length, Boolean async)
at System.Net.FileWebResponse..ctor(FileWebRequest request, Uri uri, FileAccess access, Boolean asyncHint)
--- End of inner exception stack trace ---
at System.Net.FileWebResponse..ctor(FileWebRequest request, Uri uri, FileAccess access, Boolean asyncHint)
at System.Net.FileWebRequest.GetResponseCallback(Object state)
--- End of inner exception stack trace ---
at System.Net.FileWebRequest.EndGetResponse(IAsyncResult asyncResult)
at System.Net.FileWebRequest.GetResponse()
at System.Deployment.Application.SystemNetDownloader.DownloadSingleFile(DownloadQueueItem next)
--- End of inner exception stack trace ---
at Microsoft.VisualStudio.Tools.Applications.Deployment.ClickOnceAddInDeploymentManager.GetManifests(TimeSpan timeout)
at Microsoft.VisualStudio.Tools.Applications.Deployment.ClickOnceAddInDeploymentManager.InstallAddIn()