Modify

#2115 closed Bug (Fixed)

Installer/Uninstaller issues

Reported by: Valik Owned by:
Milestone: 3.3.9.1 Component: AutoIt
Version: 3.3.8.0 Severity: None
Keywords: Cc:

Description

The installer for 3.3.8.0 installed to C:\Program Files\AutoIt3 on x64 which is fine. However, 3.3.6.1 was installed to C:\Program Files (x86)\AutoIt3 and this was not removed or upgraded. I ended up with an orphaned installation of 3.3.6.1 I didn't even know I had. This particular situation needs to be handled more gracefully.

Speaking of orphans, the uninstaller leaves behind the CompileX64 and RunX64 shell commands. This also needs fixed.

Attachments (0)

Change History (4)

comment:1 by Valik, on Jan 28, 2012 at 10:54:55 PM

Actually this is even more confusing than I realized. For some reason it seems 3.3.8.0 silently installed in 64-bit mode which is why it left an orphaned 32-bit 3.3.6.1 laying around. When I uninstalled 3.3.6.1 I broke some registry entries so I had to re-install 3.3.8.0 and I explicitly chose the 32-bit version to be the default so it went to the 32-bit location.

We really need to do some checks on 64-bit systems to make sure only one version is installed. If attempting to upgrade/reinstall to the other version it should ask to remove the soon-to-be-orphaned version.

Now I have to go through, uninstall two separate versions of 3.3.8.0 and then install it again just to ensure everything is sorted out. Crazy.

comment:2 by Valik, on Jan 30, 2012 at 12:19:56 AM

I just updated to 3.3.8.1 using silent install and it ignored the x86 install at C:\Program Files (x86)\AutoIt3 and put itself at C:\Program Files\AutoIt3. Not right.

comment:3 by Valik, on Jan 30, 2012 at 12:25:10 AM

I've been slightly wrong about all this. My auto-update script was the reason installations were going to C:\Program Files\AutoIt3 so my fault there. However, the AutoIt installer should still detect a previous install and it should detect I'm not installing to the same directory as that previous install so it should warn me/let me remove the orphaned installation.

comment:4 by Valik, on Feb 11, 2012 at 11:29:08 PM

Milestone: 3.3.9.1
Resolution: Fixed
Status: newclosed

Closing this. Since most of the problems were my own doing and Jon fixed the one that wasn't I see no point keeping this open. I still think we could do a better job detecting the scenario I describe but it's probably not worth changing the installer for.

Modify Ticket

Action
as closed The ticket will remain with no owner.

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.