Visual Studio Developer Center > Visual Studio Forums > Visual Studio Tools for Office > .vsto installer error (more times than not)
Ask a questionAsk a question
 

Answer.vsto installer error (more times than not)

  • Thursday, January 24, 2008 8:56 PMDouglas H. Troy Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     

    VS 2008 Word 2007 Document-Level Template solution

     

    Attempting to install, via the .vsto file on a Windows Vista Home Premium machine.

     

    First couple of times, I could install using the .vsto installer, and everything worked fine; add/remove programs displayed the solution, so i could uninstall it ... etc.. etc...

     

    Now, and without cause or warning, I get the following error, when trying to run the installer:

     

    There was an error during Installation

     

    Name: BaseOMSTemplate

    From: file:///C:/WINOMSCS/DFORMS/BaseOMSTemplate.vsto

    Exception occurred during store operation.

    ************** Exception Text **************

    System.Deployment.Application.DeploymentException: Exception occurred during store operation. ---> System.ArgumentException: Value does not fall within the expected range.

    at System.Deployment.Internal.Isolation.IStore.Transact(IntPtr cOperation, StoreTransactionOperation[] rgOperations, UInt32[] rgDispositions, Int32[] rgResults)

    at System.Deployment.Internal.Isolation.Store.Transact(StoreTransactionOperation[] operations, UInt32[] rgDispositions, Int32[] rgResults)

    at System.Deployment.Application.ComponentStore.SubmitStoreTransaction(StoreTransactionContext storeTxn, SubscriptionState subState)

    --- End of inner exception stack trace ---

    at Microsoft.VisualStudio.Tools.Applications.Deployment.ClickOnceAddInDeploymentManager.DownloadAddIn(TimeSpan timeout)

    at Microsoft.VisualStudio.Tools.Applications.Deployment.ClickOnceAddInDeploymentManager.InstallAddIn

     

     

    Suggestions?

     

     

Answers

  • Saturday, January 26, 2008 12:37 AMSaurabh Bhatia MSFTAnswererUsers MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     Answer

     

    Can you provide more information about your Template solution and detailed steps of how you got into this problem.

    Specific information about how and where you are deploying the solution and your update settings would be useful for us to figure out why you are having this problem.

     

    Also, were you running a Beta2 version of VS2008?

     

    As a last measure, if you want to get up and running again you can try to delete the ClickOnce cache after you have uninstalled the addin from the Add Remove Programs List.

    On Vista, it is located at C:\Users\<user>\AppData\Local\Apps\2.0

    On XP, it is located at C:\Documents and Settings\<user>\Local Settings\Apps\2.0.

     

    Please Note: If you do decide to delete you cache you will also loose all other ClickOnce applications/add-ins that you may have installed on your machine.

     

    After deleting the folder you should be able to re-install your add-in and it should work.

     

     

All Replies

  • Saturday, January 26, 2008 12:37 AMSaurabh Bhatia MSFTAnswererUsers MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     Answer

     

    Can you provide more information about your Template solution and detailed steps of how you got into this problem.

    Specific information about how and where you are deploying the solution and your update settings would be useful for us to figure out why you are having this problem.

     

    Also, were you running a Beta2 version of VS2008?

     

    As a last measure, if you want to get up and running again you can try to delete the ClickOnce cache after you have uninstalled the addin from the Add Remove Programs List.

    On Vista, it is located at C:\Users\<user>\AppData\Local\Apps\2.0

    On XP, it is located at C:\Documents and Settings\<user>\Local Settings\Apps\2.0.

     

    Please Note: If you do decide to delete you cache you will also loose all other ClickOnce applications/add-ins that you may have installed on your machine.

     

    After deleting the folder you should be able to re-install your add-in and it should work.