I have tried it twice, and it would not use D:\Libre Office 5 as an installation folder, at some stage either at removal or installation it removed my 4.04 version from another directory
Created attachment 118104 [details] clip of LO 5.0.1.2 Windows installer dialog configured for non-system folder It is a little unclear what you are trying to achieve. Custom install dialogs for both the 32-bit and 64-bit MSInstaller packages will allow and honor setting a non-system drive and non-Program Files or Program Files (x86) location. If you have residual elements from prior LibreOffice installations still registered in the Windows regsitry or global cache they can cause issues on a full install of a recent build. If what you are attempting is to have multiple installations--you have to install in parallel, using the MSInstaller /a "administrative" installation. Only one install can be a full installation registered in the Windows registry.
I don't fully understand the issue. You're trying to parallel install? You want to have 4.4 on C:/ and 5.0 on D:/ Please describe your situation a little better and then mark the bug as UNCONFIRMED. Thanks
@VSF - looks like we're both confused as to what is trying to be accomplished - tossed this to NEEDINFO. @Peter - if you're trying to parallel install you can do so in a couple ways: https://wiki.documentfoundation.org/Installing_in_parallel/Windows In other words, if you want both 4.4 and 5.0, this is not a bug, it's just how the software is designed and you'll have to read that wiki to learn how to install both in different directories.
I am actually going to go ahead and close this as WFM. I just tested this on Windows 8.1. What I did: 1. Completely removed LibreOffice; 2. Did custom install of LibreOffice 5 and installed to D drive It works as expected so I'm relatively positive that this is about parallel install and that wiki will explain how to do that.
I have now installed and uninstalled 6 times, I started with another version of LibreOffice 4.? in my D:\LibreOffice directory and attempted to install5.0.0.5 in D:\Libre Office 5 directory. I saw similar comments in the bugs and your replies this morning and removed the corrupted LibreOffice version 4 and have tried 3 further times to install 5.0.0.5 but it refuses to install anywhere but C:\Program Files(x86)\LibreOffice 5. I have even tried changing the security settings for this folder, once empty, to read only and the installation system them stops with an error saying it cannot gain access to this folder. Until this bug is fixed my only hope now is to download the earlier working version 4+ so that I can access my LibreOffice files. I would be grateful for some ideas Regards
UNCONFIRMED is the appropriate status.
What version of Windows are you running? I've tested two more times and both times worked without a problem
Also - you can use the SI GUI (it's a tool created by one of our developers) to install to any folder that you want: https://flosmind.wordpress.com/2015/08/24/java-si-gui-snapshot-4/
Hi, I am using Windows 7 Home Premium 64-bit SPI I have now tried version 4.4 twice and that has the same problem, I am modifing the security of the expected drive to allow full control to users and see if that helps Regards
No, relaxing the security of the drive made no difference, I have tried 5.0.0.5 again and 4.4 both end up in C: drive irrespective of the custom setting. I have had a glance at the Si GUI but my German is not that good and I am nor sure what it is trying to achieve
There is an English version of the SI GUI: the primary purpose of it is to allow parallel installs (by allowing you to install to whatever directory you want and to keep separate profiles). If I remember I will try to test Windows 7 on a couple machines tomorrow -feel free to email me if I don't put a comment on here tomorrow at some point to remind me to test.
Hi, Any tests on Windows 7 yet please, I tried other drives but the result was the same. The SI GUI is in english on the first page but you cannot interact with it, it then reverts to German and it neither downloads a program,[expected] nor does it link with LibreOffice, non of the fields are editable but it may suddenly say that it is installing to an empty 1TB drive [L:] but doesnt. For us idiots it needs a guide, I find it more difficult than Linux to understand what the writer is trying to achieve. Regards Peter
Sorry, I tried to email you but the system refused to send to your email address so had to come back to this page
Created attachment 118202 [details] 5.0.0.5 32-bit on D: drive of Windows 7 sp1 64-bit Just clean installed 5.0.0.5 to D: drive of Windows 7sp1 64-bit with custom installation and setting D:\LibreOffice 5 as install location. No issues with custom installation. Version: 5.0.0.5 Build ID: 1b1a90865e348b492231e1c451437d7a15bb262b Locale: en-US (en_US)
@Peter, So, we know this does work correctly. The question becomes why it is not working for you. Please run as Administrator a command line installation of the .msi with the following command. Change directory into the download directory, C:\Users\<yourusername>\Downloads>, i.e. to whereever you put the download Enter this command: msiexec.exe /i LibreOffice_5.0.0.5_Win_x86.msi INSTALDIR="D:\LibreOffice 5" TARGETDIR="D:\LibreOffice 5" INSTALLLOCATION"="D:\LibreOffice 5" /L*v installLog.txt In the install dialog, choose the custom install, to verify it is pointing to the INSTALLLOCATION entered. Make any other customizations desired, and OK to proceed. If it installs there, great. If not, ZIP and post up the install log for us to look at.
Created attachment 118220 [details] installog of installation of 5.0.0 which goes to C: not D: Drive Hi, I tried the instructions as is and they failed, I checked and my file is 5.0.0 which installs as 5.0.0.5, I changed the script and it worked. Going into custom the install directory was still the c: drive so I changed it to the D: drive but it still installed as usual in the c: drive I attach the zip file of the installation. Regards Peter
@Peter, * Thanks for the install log. Things are a bit clearer now. You did not mention that you were on a managed network user profile, and that your system (is it VDI or just a thin client?) has machine GPOs locking down the installation. These lines from the install log are telling: MSI (c) (C8:C0) [11:14:57:927]: Machine policy value 'EnableUserControl' is 0 MSI (c) (C8:C0) [11:14:57:927]: PROPERTY CHANGE: Adding RestrictedUserControl property. Its value is '1'. MSI (c) (C8:C0) [11:14:57:927]: Ignoring disallowed property INSTALDIR MSI (c) (C8:C0) [11:14:57:927]: Ignoring disallowed property TARGETDIR MSI (c) (C8:C0) [11:14:57:927]: Ignoring disallowed property INSTALLLOCATION" In other words it WILL alwasy install to the C:\Program Files, or C:\Program Files (x86) because that is what your virtualized network profile allows.
Thanks Your comment explained why it did not install but I am unsure how it happened. This PC is connected to a standard 4 port ethernet broadband modem with another PC running Mint Linux, used now and again and a high speed laser all wired. As far as I was aware I was using the basic Windows 7 works network, home network would not connect, so as to connect to a Linux PC and have shared some data directories, not D: I will have to look up what you are saying and try and correct it- I have a suspicion that the latest Windows 7 Upgrade was not good, a couple of pieces of software do not work as they used to before the upgrade. I normally do not do upgrades as I find that they add more problems than they fix but it got the better of my judgement. Regards Peter
Hi, I have spent 5 hours this afternoon chasing my tail to try and reverse these settings, I think I found one at HKEY_Local and changed the EnableUserControl value to 1, this did not solve the problem. I tried a msiexec.exe /a but this installed a nonusable system in L: I download 5.0.1 and tried again but no luck, reading the articles it seems that the LibreOffice definition is held in Documents & Settings which is not destroyed on uninstalls to which I have no access. Come back XP all is forgiven!! I would be grateful for some help as to where to correct the fault or should I roll back for say 2 months before the upgrades and try again? regards Peter
@Peter, * (In reply to Peter Raynor from comment #20) > I would be grateful for some help as to where to correct the fault or should > I roll back for say 2 months before the upgrades and try again? > Until you get your Windows OS issues sorted, there is nothing that will change in LibreOffice packaging that can make any difference. The problem is with your Windows installation and with Policies that have been set--intentional or not. See https://msdn.microsoft.com/en-us/library/windows/desktop/aa368359%28v=vs.85%29.aspx You can try poking at things with the local Group Policy Editor -- gpedit.msc -- run from a command window "Run as Administrator" and navigate to Local Computer Policy -> Computer Configuration -> Administrative Templates -> Windows Components -> Windows Installer. On the right hand panel, review the "settings", they should all probably be "Not configured". But if they have been configured -- the "Allow user control over installs" corresponds to the EnableUserControl set in registry HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Windows\Installer. So to set the value to that to 1 in the registry, set the value Enabled. If a bunch of elements there are set other than "Not configured" something weird has happened to security on you system.
Windows 7 Home systems do not have gpedit.msc installed, so I found a patch which installed it and enabled 64 bit. All the entries were "Not Configured", so I changed the "Allow user control over installs" to 1[enable] and also set the same item in "User Configuration". I checked the entry for "HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Windows\Installer" The default was not configured AlwaysInstalElevated was set to 1 the subkey of AlwaysInstalElevated Default was set to 1 I then tried another install of the latest 5.0.1 and low and behold it went back to C:\Program Files again In the mean time I have installed other software,7zFM compression went to K: drive but Inkscape, another msi installer went to C:\Progrm Files. I must admit when I sold commercial software I never used the msi installer in Installshied as I had similar problems. I have looked through a number of posts and other than these changes I cannot find anything else Any further Ideas Thanks again for the effort Peter
I am also experiencing this problem on an US English version of Windows 7. I am not changing the drive letter but the actual name of the installation directory (I want to remove the major version number). Also, I choose not to create a desktop shortcut, this is also ignored. I've first reported this on https://ask.libreoffice.org/en/question/56644/custom-install-options-ignored-on-windows-7/ with some more details but there were no replies. I've seen this problem on my previous installations of LibreOffice 4 as well.
I've now tried the command line suggested in comment #16, with the path changed to what I desire, so this is what I ran: msiexec.exe /i LibreOffice_5.0.1_Win_x64.msi INSTALDIR="C:\Program Files\LibreOffice" TARGETDIR="C:\Program Files\LibreOffice" INSTALLLOCATION"="C:\Program Files\LibreOffice" /L*v installLog.txt However, as soon as I chose "Custom", the wizard came up the default install location "C:\Program Files\LibreOffice 5\". I changed it back to what I wanted (leaving the trailing backslash in place). Then it worked (also the desktop shortcut, but still does not work when I double-click the .msi file. My account has the required rights to perform the installation either way, but I took care to start the command line from an administator's CMD process as requested in the previous comment.
I had to jump through the some hoop when installing the help package. Funnily, the dialog did pick up from somewhere that I had installed LibreOffice in "C:\Program Files\LibreOffice" and did show that path to me in the dialog. So I went ahead and clicked to install. I then found that "C:\Program Files\LibreOffice 5" had been created. Uninstalling the help package did not remove that folder either. I removed it manually after uninstalling and then ran msiexec.exe /i LibreOffice_5.0.1_Win_x64_helppack_en-US.msi INSTALDIR="C:\Program Files\LibreOffice" TARGETDIR="C:\Program Files\LibreOffice" INSTALLLOCATION"="C:\Program Files\LibreOffice" /L*v installLog3.txt I now, finally, have a working installation (with help package) in my desired target folder.
Created attachment 118355 [details] Install Log of new Install with UAC changed Hi, I have re-installed again using version 5.0.1 in the command mode with msixec.exe /i with the modifications using gpedit,it still arrives at C:\Program Files\LibreOffice 5 despite being set at D:\LibreOffice 5. The installLog3 looks quite different but still the same result. With the number of installs and uninstalls of LibreOffice my windows system will not roll back before I started this installation process so my only way out appears now to be a new install of Windows 7 and re-install all the software. I have no backup as I am still in the process of recovering from a hard disc crash which managed to wipe out most of the files. Any ideas please, the other commentors all were using the bog standard C:\Program File/ route Regards Peter
I updated Windows 7 to the latest spec and found that the msiexec.exe command does not work at all. At this stage, I thought I might as well upgrade to Windows 10 - 48 hours later after downloading and installing it finally gave me its verdict - "unable to install upgrade". I then reloaded the original disk of Windows 7, did not upgrade it at all and Libre Office went where it was told with no queries. I can only assume that within the 100's of MB of updates, something made major changes to my PC and going back to basics was the only solution. Question can now close
No, this ticket can absolutely not be closed. I never had the fundamental problems that Peter Raynor had with his Windows installation. My Windows 7 has been cleanly installed and well maintained, this is a work PC in an IT company. But I've consistently seen the problem.
@Peter, very sorry that it came to a complete reinstall of Windows to get things back to a functional state. Other than the time and effort I hope you did not lose too much. As noted in comment 21, "Until you get your Windows OS issues sorted, there is nothing that will change in LibreOffice packaging that can make any difference." Your outcome was extreme but not that unusual. @sebalis, Please open a new issue. And compress and post your install log(s). We'd need to compare your log of install attempts as from comment 24 against log as comment 25, where you were finally able to complete a custom install location. Go ahead and add me to the cc list. For clarity, closing this issue as WFM for OP.
I have now submitted bug 94193, using the same title as this one.