Author Topic: Problem with Uninstall  (Read 4876 times)

kenkrupa

  • Member
  • *
  • Posts: 49
Problem with Uninstall
« on: October 20, 2011, 11:15:29 AM »
I'm using Innosetup to install ODCL along with my app. At Uninstall, it's going into an endless loop that can only be terminated using Task Manager. Below is what the messages looks like. If you answer Yes at message 3, message 2 repeats. If No, message 3 repeats until ending in Task Manager.

Here are the applicable lines in the .iss file, per the tutorial:

[Files]
Source: C:\_KCS\KCS_AEC\OpenDCL.Runtime.6.0.2.3.msi; DestDir: {app}; Flags: onlyifdoesntexist

[Run]
Filename: msiexec.exe; Parameters: "/i ""{app}\OpenDCL.Runtime.6.0.2.3.msi"" /qn"

[UninstallRun]
Filename: msiexec.exe; Parameters: "/x ""{app}\OpenDCL.Runtime.6.0.2.3.msi"""

What's wrong?

Using InnIDE v1.0.0.0078, Win7-64
« Last Edit: October 20, 2011, 11:30:31 AM by kenkrupa »

kenkrupa

  • Member
  • *
  • Posts: 49
Re: Problem with Uninstall
« Reply #1 on: October 24, 2011, 10:31:44 AM »
Has no one else run into this???

owenwengerd

  • Administrator
  • Hero Member
  • *****
  • Posts: 3059
    • Outside The Box
Re: Problem with Uninstall
« Reply #2 on: October 24, 2011, 02:32:20 PM »
Nobody else has reported it. It looks suspicious to me (I would expect there to be a condition that signals it to uninstall only if it's already installed and being uninstalled), but I'm not familiar with Innosetup so not sure how it works under the hood.

kenkrupa

  • Member
  • *
  • Posts: 49
Re: Problem with Uninstall
« Reply #3 on: October 24, 2011, 05:30:02 PM »
Thanks Owen. That info got me investigating further, and I cleared it up. What I think happened is that I have two apps being installed to the same folder, and I think re-installing both of them repeatedly without uninstalling first created a confusion between the uninstall .exe files and their .dat files. Once I got rid of them and installed again, uninstall is now fine.