[wpkg-users] LibreOffice 4 and INSTALLLOCATION on Seven x64

le dahut le.dahut at laposte.net
Thu May 16 10:08:04 CEST 2013



Le 16/05/2013 09:51, le dahut a écrit :
> 14/05/2013 18:19, Jason Taylor wrote :
>>>
>>> Because Libreoffice was installed in "C:\Program Files (x86)"...
>>>
>>>
>>> The problem is the same if I don't use "%ProgramFiles%" and put
>>> "C:\Program Files" explicitly.
>>>
>>> any idea ?
>>>
>>
>> %PROGRAMFILES% points to 'C:\Program Files'
>
>
> This is not true :
>
>   <variable name="INSTALLLOCATION" value="C:\blabla %version%" />
>   msiexec /qn /I
> "\\192.168.230.176\wpkg\softwares\libreoffice\LibreOffice_4.0.3_Win_x86.msi"
> INSTALLLOCATION="C:\blabla 4.0"
>
> Installs libreoffice in "C:\blabla 4.0"
>
>   <variable name="INSTALLLOCATION" value="%ProgramFiles%\LibreOffice
> %version%" />
>   msiexec /qn /I
> "\\192.168.230.176\wpkg\softwares\libreoffice\LibreOffice_4.0.3_Win_x86.msi"
> INSTALLLOCATION="C:\Program Files\LibreOffice 4.0"
>
> Does NOT install libreoffice in "C:\Program Files" but in "C:\Program
> Files (x86)" !
>
> BUT when Wpkg runs the check, it looks for libreoffice in "C:\Program
> Files" and obviously does not find it !
>
>
> So the problem is that msiexec does not take in account
> INSTALLLOCATION="C:\Program Files\LibreOffice 4.0" and forces install in
> "C:\Program Files (x86)". And thus the check fails...
>
>

You can also try to install libreoffice interactively, select 
"C:\Program Files\LibreOffice 4.0", clic "Ok" and back on the previous 
screen you see that it has automatically switched to "C:\Program Files 
(x86)\LibreOffice 4.0". Argh !

It seems that there is no way to install libreoffice in "C:\Program 
Files\LibreOffice 4.0", Windows/msiexec forces to install it in "(x86)"...

Does someone have more information about that, can confirm this behavior...?




More information about the wpkg-users mailing list