Forum Discussion
- AlexKarasChampion Level 3
Hi Shilpashree,
While it might depend on the implementation of your given .msi installer, but usually
msiexec /i <your.msi>
installs the product and
msiexec /u <your.msi>
uninstalls it.
Use the WshShell.Run() method to execute command line from your test code.
- TanyaYatskovskaSmartBear Alumni (Retired)
Thanks for the help, vinniew, Alex!
hrshilpashree, were you able to resolve the issue? Please let us know if you need assistance.
- vinniewStaff
How are you.
Is this something you'd like to do as part of your Tests?
Can you explain a little bit more on what you are trying to achieve including this as part of a test step.
This will help me address how we can do this in Testcomplete
Thanks
Vincent
- vinniewStaff
I stumbled across a similar thread after I initially responded.
Check this out here
I think it may solve your issue.
Thanks again for using the community, try it out and let me know how you get on
KR
Vinnie
- hrshilpashreeOccasional Contributor
Hi vinniew ,
I have a scenario where in I need to check values in multiple builds of same application and save it to a report.
To achieve this test, I need to uninstall the previous build and Install the current Build(application with .msi) and repeat uninstall and install in series
so looking for Script to install and uninstall a .msi application- vinniewStaff
Hey hrshilpashree
Have you checked previous threads on this?
I posted an example before.
Here is another
Related Content
- 12 years ago
Recent Discussions
- 14 hours ago
- 4 days ago