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

le dahut le.dahut at laposte.net
Thu May 16 09:51:41 CEST 2013


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...





More information about the wpkg-users mailing list