Hi, We have some uninstall tests that are failing because the uninstaller seems to come back before it's actually done uninstalling files. Is there a way to make it wait? I've tried "wait" but that doesn't work. Thanks!

asked 08 Jul '15, 17:27

danish1's gravatar image

danish1
6101114
accept rate: 0%


I'm not 100 sure if that is what is happening but it sounds like the uninstaller being launched in a cmd, and as a result of it being a GUI application, the cmd command does not block. If so, you could use:

 cmd /C start /WAIT "" uninstall.exe

Could you check if that solves the issue?

link

answered 20 Jul '15, 11:11

juanjo's gravatar image

juanjo ♦♦
5.8k413
accept rate: 23%

I'm using the unattended mode. Would this still be true in that case?

(21 Jul '15, 10:05) danish1

I'm still having this problem. Can anyone help, please? Thanks!

(21 Oct '15, 17:17) danish1

Hi @danish1, Could you paste the exact code you are using for the runProgram action?

(26 Oct '15, 09:41) alejandror ♦♦

I'm running the uninstaller from a batch script. I've tried both: uninstall.exe --mode unattended echo done and cmd /C start /WAIT "" uninstall.exe --mode unattended echo done But both come back with "done" before they're actually finished.

(26 Oct '15, 10:06) danish1

sorry, any newlines I added got removed. The "echo done" command was on a separate line after the uninstall command.

(26 Oct '15, 10:06) danish1
Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Tags:

×83

Asked: 08 Jul '15, 17:27

Seen: 705 times

Last updated: 26 Oct '15, 10:06