Forum Discussion
HKosova
SmartBear Alumni (Retired)
If your installer is MSI, you can use the WMI method Win32_Product.Install to install the app silently. Check the example here:
https://community.smartbear.com/t5/TestComplete-General-Discussions/Install-and-Uninstall-an-application-through-the-script/m-p/96198#M19459
anumolu9999 wrote:
Need to install the software with admin privileges
As Robert noted, you'll need to run TestComplete as administrator in order to perform actions as admin.
anumolu9999
8 years agoContributor
Hi, I need script for installing ".exe" file in Javascript. Please help me on this. Thanks, Anumolu.
- Colin_McCrae8 years agoCommunity Hero
Did you click the link HKosova provided?
There is sample script on that page!!!
It's C# Script, not JavaScript. But, looking at it, it's only half a dozen fairly simple lines of code. Looks simple enough to convert ...
- anumolu99998 years agoContributorThanku for ur time relaymedTester :)
Related Content
- 3 years agoyusufalishaik
- 4 years agoabishekhari007
- 2 years agomattb