<div dir="ltr"><br><div class="gmail_extra"><br><br><div class="gmail_quote">2013/11/7 Matej Kovacic <span dir="ltr"><<a href="mailto:matej.kovacic@owca.info" target="_blank">matej.kovacic@owca.info</a>></span><br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">

Hi,<br>
<br>
I have LibreOffice 3.5.3.2 and am trying to install 4.1.3. I downloaded<br>
LibreOffice_4.1.3_Win_x86.msi from LO website.<br>
<br>
Anyway, the installation is not successfull.<br>
<br>
cscript says:<br>
<br>
The path 'C:\Program Files (x86)\Java\jre7\bin\java.exe' does not exist:<br>
the test failed.<br>
Saving unsorted settings to 'C:\Windows\System32\wpkg.xml'.false<br>
Saving XML : C:\Windows\System32\wpkg.xml<br>
Could not process (upgrade) Java(TM) 7.<br>
Failed checking after installation.<br>
Cleaning up temporary downloaded files<br>
Restoring previous environment.<br>
<br>
The problem is, that when I try to install Java7 through WPKG, it says<br>
installation is successfull. I can also see it is installed from Control<br>
Panel (Java 7u45). I also tried to remove it and the install it again.<br>
<br>
Anyway, I have checked C:\Program Files\Java\jre7\bin and C:\Program<br>
Files (x86)\Java\jre7\bin\ and there is only one file in it: msvcr100.dll.<br>
<br>
I have attached XML scripts for installation od LibreOffice and Java7.<br>
<br>
Java is prepared in such a way.<br>
1. I downloaded jre-7u45-windows-i586.exe and jre-7u45-windows-x64.exe<br>
from Oracle website.<br>
<br>
2. Run both installers on my local machine. After the end went to<br>
C:\Users\user\AppData\LocalLow\Sun\Java and copy directory jre1.7.0_45<br>
to WPKG server.<br>
<br>
3. Went to C:\Users\user\AppData\LocalLow\Sun\Java and copy<br>
jre1.7.0_45_x64 to the WPKG server.<br>
<br>
Any idea where could be the error?<br>
<br>
<br>
Regards,<br>
<br>
Matej<br>
<br>-------------------------------------------------------------------------<br>
Hotel discounts, best prices: <a href="http://www.booking.com/index.html?aid=366545" target="_blank">http://www.booking.com/index.html?aid=366545</a><br>
-------------------------------------------------------------------------<br>
wpkg-users mailing list archives >> <a href="http://lists.wpkg.org/pipermail/wpkg-users/" target="_blank">http://lists.wpkg.org/pipermail/wpkg-users/</a><br>
_______________________________________________<br>
wpkg-users mailing list<br>
<a href="mailto:wpkg-users@lists.wpkg.org">wpkg-users@lists.wpkg.org</a><br>
<a href="http://lists.wpkg.org/mailman/listinfo/wpkg-users" target="_blank">http://lists.wpkg.org/mailman/listinfo/wpkg-users</a><br>
<br></blockquote></div><br></div><div class="gmail_extra">if helps, heres our fully funcioning scripts for libreoffice and java:<br><br><package<br>        id="java7"<br>        name="Java(TM) 7"<br>

        revision="%version%"<br>        reboot="false"<br>        priority="178"<br>        ><br>        <br>                <br>        <variable name="updatever" value="45" /><br>

        <variable name="shortupdatever" value="45" /><br>        <variable name="version" value="7.0.%updatever%" /><br>        <variable name="autoupdate" value="0" /><br>

     <br>        <check architecture="x86" type="file" condition="exists" path="%PROGRAMFILES%\Java\jre7\bin\java.exe" /><br>        <br>        <check architecture="x64" type="file" condition="exists" path="%PROGRAMFILES(X86)%\Java\jre7\bin\java.exe" /><br>

        <br>        <check type="logical" condition="or"><br>            <check type="uninstall" condition="exists" path="Java 7" /><br>            <check type="uninstall" condition="exists" path="Java 7 Update %updatever%" /><br>

            <check type="uninstall" condition="exists" path="Java 7 Update %shortupdatever%" /><br>        </check><br>     <br>        <install cmd='taskkill /f /im jqs.exe /im iexplore.exe /im firefox.exe'><br>

          <exit code='any' /><br>        </install><br>        <!-- .exe install (XP, 2003) --><br>        <install os=".+5\.[1-2]\.\d{4}"<br>        cmd='\\0.0.0.0\WPKG\basicos\java\jre-7u%shortupdatever%-windows-i586.exe /s' /><br>

        <br>        <!-- .msi (Seven) install <a href="http://wpkg.org/Java#Install_JRE_with_msi_without_removing_old_version_in_a_mixed_32-bit.2F64-bit_environment">http://wpkg.org/Java#Install_JRE_with_msi_without_removing_old_version_in_a_mixed_32-bit.2F64-bit_environment</a> --><br>

        <install os=".+6\.[0-1]\.\d{4}"<br>        cmd='msiexec /qn /i \\0.0.0.0\WPKG\basicos\java\jre1.7.0_%updatever%\jre1.7.0_%updatever%.msi REBOOT=Suppress JAVAUPDATE=%autoupdate% CUSTOM=1' /><br>

        <br>        <!-- remove Java Quick Starter --><br>        <install cmd='%COMSPEC% /C if exist "%PROGRAMFILES%\Java\jre7\bin\jqs.exe" "%PROGRAMFILES%\Java\jre7\bin\jqs.exe" -unregister'><br>

          <exit code='any' /><br>        </install><br>        <install cmd='%COMSPEC% /C if exist "%PROGRAMFILES(x86)%\Java\jre7\bin\jqs.exe" "%PROGRAMFILES(x86)%\Java\jre7\bin\jqs.exe" -unregister'><br>

          <exit code='any' /><br>        </install><br>        <br>        <!-- remove Java Auto Update --><br>        <install cmd='REG DELETE HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Run /v SunJavaUpdateSched /f'><br>

          <exit code='any' /><br>        </install><br>     <br>        <downgrade include="install" /><br>     <br>        <upgrade include="install" /><br>     <br>        <remove cmd='msiexec /qn /x {26A24AE4-039D-4CA4-87B4-2F832170%updatever%FF}' /><br>

        <br>    </package><br><br>************************************************************<br><br>!-- LibreOffice --><br>    <package<br>        id="libreoffice" <br>        name="LibreOffice" <br>

        revision="%version%"<br>        reboot="false" <br>        priority="70"><br>     <br>        <variable name="version" value="4.1.1.2" /><br>        <variable name="LANG" value="IS1078=0 IS1025=0 IS1101=0 IS1610=0 IS1059=0 IS1026=0 IS2117=0 IS2121=0 IS1150=0 IS1603=0 IS5146=0 IS1027=0 IS32771=0 IS1029=0 IS1106=0 IS1030=0 IS1031=0 IS1604=0 IS2129=0 IS1032=0 IS2057=0 IS7177=0 IS1553=0 IS1061=0 IS1069=0 IS1065=0 IS1035=0 IS1036=0 IS2108=0 IS1084=0 IS1110=0 IS1095=0 IS1037=0 IS1081=0 IS1050=0 IS1038=0 IS1057=0 IS1039=0 IS1040=0 IS1041=0 IS1079=0 IS1087=0 IS1107=0 IS1099=0 IS1042=0 IS1111=0 IS1120=0 IS1574=0 IS1134=0 IS1108=0 IS1063=0 IS1062=0 IS1605=0 IS1071=0 IS1100=0 IS1104=0 IS1112=0 IS1102=0 IS1109=0 IS1044=0 IS1121=0 IS1043=0 IS2068=0 IS1580=0 IS1132=0 IS1154=0 IS2162=0 IS1096=0 IS1094=0 IS1045=0 IS2070=0 IS1046=0 IS1048=0 IS1049=0 IS1569=0 IS1103=0 IS1606=0 IS1113=0 IS2074=0 IS2133=0 IS1051=0 IS1060=0 IS1052=0 IS3098=0 IS1579=0 IS1072=0 IS1053=0 IS1089=0 IS1097=0 IS1098=0 IS1064=0 IS1054=0 IS1074=0 IS1055=0 IS1073=0 IS1092=0 IS1152=0 IS1058=0 IS1091=0 IS1075=0 IS1066=0 IS1076=0 IS2052=0 IS1028=0 IS1077=0 IS1050=0 IS1033=1 IS1034=0" /><br>

     <br>        <check type="uninstall" condition="versiongreaterorequal" path="LibreOffice %version%" value="%version%" /><br>     <br>        <install cmd='msiexec /qb! /i "\\0.0.0.0\WPKG\basicos\libreoffice\LibreOffice_4.1.1_Win_x86.msi" ALLUSERS=1 CREATEDESKTOPLINK=1 REGISTER_ALL_MSO_TYPES=0 ISCHECKFORPRODUCTUPDATES=0 %LANG%' /><br>

     <br>        <upgrade include="install" /><br>     <br>        <remove cmd="msiexec /qb! /uninstall {F1EE568A-171F-4C06-9BE6-2395BED067A3}" /><br>    </package><br><br>    <!-- LibreOffice Helppack --><br>

    <package<br>        id="libreofficehelppackpt-BR"<br>        name="LibreOffice Helppack PT-BR"<br>        revision="%PKG_VERSION_UNINSTALL%"<br>        reboot="false"<br>        priority="1"><br>

     <br>        <variable name="PKG_VERSION_MAIN"      value="4.1" /><br>        <variable name="PKG_VERSION"           value="4.1.1" /><br>        <variable name="PKG_VERSION_UNINSTALL" value="4.1.1.2" /><br>

     <br>        <variable name="LANG1" value="Portuguese (Brazil)" /><br>        <variable name="LANG2" value="pt-BR" /><br>     <br>        <variable name="PKG_EXE"            value="LibreOffice_%PKG_VERSION%_Win_x86_helppack_%LANG2%.msi" /><br>

        <variable name="PKG_SOURCE"         value="\\0.0.0.0\WPKG\basicos\libreoffice" /><br>     <br>        <check type="uninstall" condition="versionequalto" path="LibreOffice %PKG_VERSION_MAIN% Help Pack (%LANG1%)" value="%PKG_VERSION_UNINSTALL%" /><br>

     <br>        <install cmd='msiexec /qb! /i "%PKG_SOURCE%\%PKG_EXE%" ALLUSERS=1' /><br>     <br>        <upgrade include="install" /><br>     <br>        <remove cmd="msiexec /qb! /uninstall {54FD4E2E-EE28-4020-B0FF-3697FDE75CC7}" /> <!-- 4.1.0 --><br>

    </package><br clear="all"></div><div class="gmail_extra"><br>-- <br>[]'s<br>---------------------------------<br>Carlos Gomes<br>Assistente de Informática II - STI<br>skype: cgomes.unesp<br>55(16)3706-8783<br>

<div>UNESP/Franca - FCHS</div><div></div>
</div></div>