Bug 119323 - Windows 7 64 bit installer for 6.1.0.3 crashes unless run with admin privileges
Summary: Windows 7 64 bit installer for 6.1.0.3 crashes unless run with admin privileges
Status: RESOLVED INSUFFICIENTDATA
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Installation (show other bugs)
Version:
(earliest affected)
6.1.0.3 release
Hardware: x86-64 (AMD64) All
: high major
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-08-17 02:40 UTC by brentboyer
Modified: 2018-11-07 11:08 UTC (History)
1 user (show)

See Also:
Crash report or crash signature:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description brentboyer 2018-08-17 02:40:16 UTC
Description:
My home workstation is a Dell Precision T1700 running fully patched Windows 7 64 bit.

I just downloaded the latest installer for LibreOffice for Windows 64 bit, which is the file LibreOffice_6.1.0_Win_x64.msi.

The first 2 times that I tried to run it, it seemed to almost complete but then it crashed at the end.

I used all default options, customizing nothing, both times.

The error dialog box had a details button that I clicked on, which gave this information:

	Problem signature:
	  Problem Event Name:	APPCRASH
	  Application Name:	msiexec.exe
	  Application Version:	5.0.7601.24195
	  Application Timestamp:	5b33ab63
	  Fault Module Name:	msvcrt.dll
	  Fault Module Version:	7.0.7601.17744
	  Fault Module Timestamp:	4eeb033f
	  Exception Code:	c0000005
	  Exception Offset:	00000000000011be
	  OS Version:	6.1.7601.2.1.0.256.48
	  Locale ID:	1033
	  Additional Information 1:	1d02
	  Additional Information 2:	1d021a3071c4ee9c328df5136bcd4ef7
	  Additional Information 3:	971c
	  Additional Information 4:	971c55d728cf03714dd8cda8269a092e

	Read our privacy statement online:
	  http://go.microsoft.com/fwlink/?linkid=104288&clcid=0x0409

	If the online privacy statement is not available, please read our privacy statement offline:
	  C:\Windows\system32\en-US\erofflps.txt

I did a web search, and found nothing related to the precise details above.

But I did find this link
	https://ask.libreoffice.org/en/question/146600/libreoffice-6-installation-error/
where brownbear1947 suggests this Tom's Hardware link
	http://www.tomshardware.com/forum/1145-73-internal-error-2503-2502
In that thread, NanaYawIke's reply (which is second to the last one) gives a technique for executing arbitrary files (like .msi ones like here) with admin privilege.

I tried that, and lo and behold, the installation worked!

But I do not think that I should need to do this.  I have never in the past had to use admin privilege to install LibreOffice.

What changed with this version?

Also, it would be better if the installer could detect if there will be a privilege issue, and give much clearer of an error message instead of the above very obscure one.



Steps to Reproduce:
1. try to install 6.1.0.3 on a Windows 7 machine like mine
2.
3.

Actual Results:
The installer crashed.

Expected Results:
The installer should work.


Reproducible: Always


User Profile Reset: No



Additional Info:
I did change my antivirus programs since the last time I installed LibreOffice.

I used to use AVG paid for version.  I got tired of AVG's deteriorating product, and switched to Microsoft's Security Essentials for Windows 7 along with Malwarebytes paid for version.

My web search found that some installation crashes are related to antivirus issues:
	https://ask.libreoffice.org/en/question/136352/error-attempting-to-install-libreoffice-542/

I am not sure, however, if this is relevant in my case.
Comment 1 Jean-Baptiste Faure 2018-08-18 17:33:58 UTC
I do not understand how you can make a standard installation without admin privileges. Without admin privileges you should not be able to write in program files folder. Please could you explain ?

Status set to NEEDINFO, please set it back to UNCONFIRMED once requested
informations are provided.



Best regards. JBF
Comment 2 Timur 2018-08-20 09:43:13 UTC
Report doesn't give exact Steps to Reproduce:
How did you run it, via double click or..., did you get elevated prompt, did you see Bug 88781?
Comment 3 brentboyer 2018-08-23 03:43:42 UTC
Jean-Baptiste Faure:

I always use a user account on my Windows 7 box that is an Administrator account.

So, I can typically just double click on a Windows installer program and it works perfectly.

That was the case with every previous LibreOffice installer, if I recall correctly.

But this time, when I tried that, the installation seemed to initially work, as described in my original post, before ultimately failing at the end with a very obscure error dialog.

So, I used a special technique (while still running in my normal Administrator user account) to create a new task that executed LibreOffice_6.1.0_Win_x64.msi with "administrative privileges".

I possibly may have made an error in my initial post: I said that I used the technique in NanaYawIke's reply in this thread
	http://www.tomshardware.com/forum/1145-73-internal-error-2503-2502

I think that I actually used the slightly simpler technique in SangMin's Aug 17, 2015, 7:10 PM reply which is just above NanaYawIke's.

I know for sure that when I created the new Task in Task Manager that I checked its box "Create this task with administrative privileges".
Comment 4 brentboyer 2018-08-23 03:45:18 UTC
Timur:

Sorry for not being more explicit.

Yes, I first tried to install it the usual way, by double clicking on the .msi file.
Comment 5 Timur 2018-08-24 09:18:29 UTC
This is unusual situation and it's unlikely that someone else will reproduce it. 
Key to solving the issue is to be reproducible. I'm referring to the crash cause, not to the workaround. 
So, we can only ask you to:
- download again LO from https://www.libreoffice.org/download/download/ and try to install
- download LO master from https://dev-builds.libreoffice.org/daily/master/ and try to install (it's separate and can be uninstalled) to see if there's an issue 
Please install both with and without AV running.
Comment 6 Timur 2018-08-24 09:19:55 UTC
Also make sure the folder you download to and install from is on a local drive and has enough privileges to run installation.
Comment 7 Timur 2018-08-24 09:21:25 UTC
Please write log errors from Event Viewer.
Comment 8 Timur 2018-11-07 11:08:42 UTC
Since no response, I'll close. If you still repro, please explain and set back Unconfirmed.