Bug 66265

Summary: Unable to install 4.1.0.1: It requires msi files of an older version (4.0.3.3) to uninstall it first (win only)
Product: LibreOffice Reporter: narayanaras
Component: InstallationAssignee: Not Assigned <libreoffice-bugs>
Status: RESOLVED WORKSFORME    
Severity: blocker CC: timar74
Priority: highest    
Version: 4.1.0.1 rc   
Hardware: x86 (IA32)   
OS: Windows (All)   
See Also: https://bugs.documentfoundation.org/show_bug.cgi?id=101354
https://bugs.documentfoundation.org/show_bug.cgi?id=99594
Whiteboard:
Crash report or crash signature: Regression By:

Description narayanaras 2013-06-27 16:16:12 UTC
Before installing 4.1.0.1, I uninstalled the previous version (beta 2). However the control panel still shows two entries for this older version (one for the main program, the other for the help file). If I click on these entries, the uninstaller asks for the msi file. 

"The installation source for this product is not available.  Verify that the source exists and that you can access it."

Unfortunately I have deleted these files after I got the latest version. 

So I tried to install 4.1.0.1 in parallel (without uninstalling the previous version), but this installer detects that an older version is still installed, and again asks for the msi file of the previous version (4.0.3.3); and then aborts the installation.

I checked the C:\Users\<UserName>\AppData\Roaming path, but there are no folders named LODEV, LibreOffice, etc.

I searched the registry but there are no values/keys with LibreOffice, LO, LODEV, etc.

Since I have already uninstalled the previous version (4.0.3.3), the control panel entries must be ghost entries, but I am not able to delete these entries. (Usually the Control Panel offers to delete such ghost entries. But in this case it insists on having the msi file of 4.0.3.3.)

How do I get rid of the issue?
I am ready to download the older version msi files, but they are no longer available from the website.

Please help!
Comment 1 narayanaras 2013-06-27 16:21:26 UTC
Update: 

I did find the older msi by Googling. I hope this is the correct path:
http://downloadarchive.documentfoundation.org/libreoffice/old/4.0.3.3/win/x86/

Will update the status after downloading these files.

But still, the problem is weird indeed! The uninstallation should not look for msi files at all.
Comment 2 narayanaras 2013-06-27 17:26:04 UTC
Update-2:

I downloaded the old msi files, and then re-ran the uninstaller (from Control Panel). Both the help and the main program got uninstalled immediately.

However, the moot point remains: Why does not manage within the installed base?
Comment 3 Petr Mladek 2013-07-04 15:05:48 UTC
Andras, how is this supposed to work please?
Comment 4 Andras Timar 2013-07-04 15:18:49 UTC
> The uninstallation should not look for msi files at all.

So, how would it find out what to remove then? If all go well, you have that msi in your Windows\Installer (hidden) folder. I accept that Windows is not rock solid and sometimes the package database gets corrupted. But it is not a reproducible bug.

You can also search for the product code in registry, it is {FB548EA9-B985-4217-9EB6-EFDCB2DBA088}.