Need to uninstall a QTP patch but dont have admin rights to do it from control panel add/remove programs

  • Questions
  • Need to uninstall a QTP patch but dont have admin rights to do it from control panel add/remove programs
Question ID: 104725
1
0

I have to uninstall a QTP patch, but our IT department has restricted us from uninstalling updates from the Control Panel> Uninstall a Program. Do I have any alternative?

Marked as spam
Posted by (Questions: 338, Answers: 20)
Asked on November 29, 2012 5:15 pm
6 views
Answers (1)
1
Private answer

If you have rights to do so, you can uninstall a patch from a command line by executing the following command:

`MsiExec.exe /I {QTP PRODUCT ID} MSIPATCHREMOVE={PATCH UPDATE ID} /qb`

Example:

`MsiExec.exe /I {3ECD871E-06F1-4AE6-8D62-3D6D3E016C8B} MSIPATCHREMOVE={1D637D7A-8B54-4FCD-A385-4E2330BA23CB} /qb`

You have to replace the QTP PRODUCT ID with the appropriate product ID for the QTP version you are using.

QTP 11 ID: 3ECD871E-06F1-4AE6-8D62-3D6D3E016C8B

QTP 10 ID: 4CC41272-6AA9-4946-ABA6-61C05A40DE80

To find the PATCH UPDATE ID, go to the Control Panel, Programs and Features.
Then click on Uninstall a program. Find the appropriate patch.
Then, right click on a column header, Click More and ensure that Update ID is checked.
An Update ID column will appear. Note the Update ID for the patch you are trying to uninstall.

Now replace the QTP PRODUCT ID and PATCH UPDATE ID and execute the command.

Example:

MsiExec.exe /I {3ECD871E-06F1-4AE6-8D62-3D6D3E016C8B} MSIPATCHREMOVE={1D637D7A-8B54-4FCD-A385-4E2330BA23CB} /qb

Then execute the following (including quotes):

`''C:Program FilesHPQuickTest ProfessionalbinQTPInstallReqs.exe'' /silent`

Marked as spam
Posted by (Questions: 16, Answers: 748)
Answered on November 29, 2012 6:05 pm
This is a great answer! It's exactly what I needed and it worked perfectly!
( at November 29, 2012 10:47 pm)