According to another post, this should work also after running the setup -r command. Then I move the newly setup.iss file to the same directory that setup.exe is run. But it didn't work also.

$keyname = "{92F2A534-C3E4-4B18-BEBD-329F5E848C8B}"
copy "\\eb0q2\programs\setup.iss" "C:\Program Files\InstallShield Installation Information\{92F2A534-C3E4-4B18-BEBD-329F5E848C8B}\"
$uninstall = READVALUE("HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\$keyname","UninstallString")
SHELL $uninstall + " -s"

I am not sure how SENDKEY works in this situation.
The send key wont work until after the unstall finishes.