cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
heiner_violet
Level 7

Runtime Error when removing program

Hi
I'm working with an installscript project, Installshield 2008.
My setup is an upgrade to an existing version. The upgrade works fine.
Problem: It seems to be impossible to remove the program in the add/remove program panel. Trying this, I get the following error:

"Runtime Error!

Program: c:\...Temp\set5.tmp

abnormal program termination.

No other dialog or MsgBox is shown.
Removing the program by running "setup.exe /uninst" works fine.
Has anybody got an idea, why this error could appear?

Thanks in advance, H
Labels (1)
0 Kudos
(5) Replies
heiner_violet
Level 7

Hi all,
I really need help, so I try to explain a bit more detailed.
In the past I have created an installscript setup using IS 11.5. This setup has been shipped. Now, I converted this setup to IS 2008, made some changes (removing the MDAC 2.7 Installshield Object and replacing it by the appropriate merge-module) and created a setup as an update to the previous setup.
The update can be installed without any problem. But if I try to remove the updated program by clicking 'Remove' in the Add/Remove programs panel I instantaneously get an error (see prevous post).
I can only remove the product by calling setup.exe /uninst.

As I have no experience with installscript projects, any suggestions are welcome.
Best regards H.
0 Kudos
retzcat
Level 6

Did you ever get this figured out? I'm running into the same issue...
0 Kudos
heiner_violet
Level 7

As I remember, it was a wrong registry-entry under
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall
which had to be removed at the beginning of the upgrade installation.
0 Kudos
Mrunmayee
Level 5

Hi,

I'm also getting the same error.

---------------------------
Microsoft Visual C++ Runtime Library
---------------------------
Runtime Error!
Program: C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp\set7D.tmp
abnormal program termination

Please let me know what is the exact key to be removed from [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall.

Waiting for your response.
Thanks in advance
0 Kudos
Mrunmayee
Level 5

Thanks Heiner_Violet,

Actual problem was the uninstallstrings for Installshield 10.5 is different than the new versions of installshield 2010. So it was creating problem during uninstallation after i upgraded the product.

Example :

//Uninstallstring which created by Installshield 2010
"UninstallString"="\"C:\\Program Files\\InstallShield Installation Information\\{Product_GUID}\\Setup.exe\" -runfromtemp -l0x0409 AddRemove -removeonly"

//Uninstallstring which created by Installshield 10.5
"UninstallString"="RunDll32 C:\\PROGRA~1\\COMMON~1\\INSTAL~1\\PROFES~1\\RunTime\\10\\50\\Intel32\\Ctor.dll,LaunchSetup \"C:\\Program Files\\InstallShield Installation Information\\{Product_GUID}\\setup.exe\" -l0x9 AddRemove -removeonly"

Thanks a lot.
0 Kudos