vsta /hostid Testcon /setup: "cannot find one or more components. Please reinstall the application"

Latest post 06-24-2009 10:14 AM by Melody. 4 replies.
  • 06-23-2009 2:47 AM

    vsta /hostid Testcon /setup: "cannot find one or more components. Please reinstall the application"

    Hi

    Whenever I execute "vsta /hostid testcon /setup" the system returns: "Cannot find one or more components. Please reinstall the application".

    I have installed vsta2.0 and can start the application. I have also tried some other samples with the same result. 

    A previous post says that you should check that the host is registered proberly. What to they mean? Where should I check it?

    I should also check that enviromental path variables. Where should I look?

    Thanx,

    Bo Nordleif

     

     

     

  • 06-23-2009 10:01 AM In reply to

    • Melody
    • Top 10 Contributor
    • Joined on 04-26-2007
    • Syracuse, NY
    • Posts 361

    Re: vsta /hostid Testcon /setup: "cannot find one or more components. Please reinstall the application"

    Bo,
    Sorry to hear you are having issues running setup. Can you confirm you have the correct RTM release installed at the default location?  If the correct version is installed you should have the folder "C:\Program Files\Visual Studio Tools for Applications 2.0 SDK\2008".

    Have you tried running one ShapeAppCSharp samples included with the SDK?  These samples include a setup file which will correctly register the application.  The SDK samples are located at "C:\Program Files\Visual Studio Tools for Applications 2.0 SDK\2008\Visual Studio Tools For Applications\Samples", try extracting the ShapeAppBasicCSharp to C:\ShapeAppSamples, then run the included SetupShapeAppBasicCSharp.js setup file from the command prompt.  This should run without errors, if there are errors then you may need to uninstall and re-install VSTA. 

    As for the testCon sample, can you confirm you are using the TestCon_v_2 sample (the original TestCon sample is for VSTA v 1)?  Then confirm the registry settings, they should be something like:

    [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\VSTAHostConfig\TestCon\2.0]
    "AppName"="TestCon"
    "ProjectTemplatesLocation"="C:\\VSTA\\Summit Software\\Samples\\TestCon\\Templates"
    "VSTAVersion"="9.0"

     

    You should run the setup command from the Visual Studio 2008 command prompt- this doesn't require any environmental path variables.

    I hope this helps, please let me know if you are able to run setup or if you encounter further issues with this.
    Thanks,
    -Melody

    Filed under:
  • 06-23-2009 12:15 PM In reply to

    • Melody
    • Top 10 Contributor
    • Joined on 04-26-2007
    • Syracuse, NY
    • Posts 361

    Re: vsta /hostid Testcon /setup: "cannot find one or more components. Please reinstall the application"

    Bo,
    My apologies, please disregard my previous reply.  Both the original TestCon and TestCon_v_2 are for VSTA v 1 and will not work with VSTA v 2.  What kind of sample are you looking for?  The SDK contains both C# and an MFC sample.  For VSTA v 2 we offer several samples, here are some of the more simple ones to get you started:

    Simple C# Sample HelloWorld_VSTA2

    EventSample VB for VSTA v 2

    ShapeAppBasicCSharp AddInDiscoveryAlternative

    We also have a video of a basic integration using some of the tools available through our site:

    VSTA v 2.0 Basic Integration

     

    Thanks,
    -Melody

     

  • 06-24-2009 6:22 AM In reply to

    Re: vsta /hostid Testcon /setup: "cannot find one or more components. Please reinstall the application"

    Thanks for your quick reply. I dropped the TestCon application and used the links.

    Everything seems to work.

    Regards, Bo

  • 06-24-2009 10:14 AM In reply to

    • Melody
    • Top 10 Contributor
    • Joined on 04-26-2007
    • Syracuse, NY
    • Posts 361

    Re: vsta /hostid Testcon /setup: "cannot find one or more components. Please reinstall the application"

    Great!  Please let me know if you have any further questions.

    Thanks,
    -Melody

Page 1 of 1 (5 items) | RSS
Copyright Summit Software Company, 2008. All rights reserved.