Forum Discussion

djcollins's avatar
14 years ago

Can I run tcAgPatcher.exe on a build bot?

We are having to run tcAgPatcher.exe on our Silverlight 4 xap file in order for 8.70 to see inside our application properly.



According to the documentation we should run tcAgPatcher.exe from the installed folder - "Do not copy this utility to another place. When preparing a Silverlight application, you must run tcAgPatcher.exe from the folder where the utility was installed by default"



We would prefer to run this utility on our build bot when creating test builds.  Can we not do that?  I would have thought this would be a common requirement.





1 Reply



  • Hello Darren,


    To patch applications, tcAgPatcher.exe uses several helper libraries which reside within the TestComplete folder. If the executable is launched without these libraries, it will not succeed in processing the application. That is why, we recommend launching tcAgPatcher.exe from the default location.


    To be able to run the utility from another location, follow the instructions below:


        1. Unzip the attached archive to the  <TestComplete>\Open Apps\Silverlight folder. 


        2. Run CopyAgPatcherWithLibs.bat 


    This batch file copies the tcAgPatcher utility and its helper libraries to an external folder preserving the initial location of helper files. The name of the external folder can be passed via the command-line argument or typed when prompted. Both local (C:\Work\Output\) and remote (\\Builder\Output\) folder names are acceptable.


        3. If a local folder was specified, copy the resulting folder to your build computer.






    That's it. Now, the tcAgPatcher utility can be launched on the build bot. It resides in the \Open Apps\Silverlight subfolder of the resulting folder.


    Regards.