<div dir="ltr"><div><div>Hi Carlos,<br><br></div>In my package, i add this line :<br><br><pre class=""><code> <install cmd='%COMSPEC% /C copy /Y "%SOFTWARE%\java\installer.dll" "%PROGRAMFILES%\Java\jre7\bin\"'><exit code='any' /></install></code></pre>
<br></div>Maybe you can try this !<br><br>Cedric<br><div><br><br></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">2014/1/17 Carlos Gomes - STI Unesp Franca <span dir="ltr"><<a href="mailto:cgomes@franca.unesp.br" target="_blank">cgomes@franca.unesp.br</a>></span><br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div><div>Hello everyone!<br><br></div>As you may have already got this week, sun released a new java version, update 51 from the java7 app. Our local ambient here uses a lot of apps that needs java, and mostly of them immediatly after a java update release starts up to claim browser imcompatibility, java outdated and so on.. So the deployment must be quite fast. <br>
<br></div>We have a working script to install java 32 and 64bits, but on the latest update I claimed to an error, googling it repeats the same issue with 7u21, on the uninstall register for the java installation, locking up some machines with the error image attached, with a double \\ on the uninstall path.<br>
<br><img alt="Imagem inline 1" src="cid:ii_143a1edf5377d1e6"><br clear="all"><div><div><div><br></div><div>My script is as follows, is there any way to troubleshoot this under the install instructions to remove this double slash issue?<br>
thanks in advance.<br><br><blockquote style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex" class="gmail_quote"><!-- jre install with the msi ; for 32-bit and 64-bit hosts --><br>
<br>
<package<br><br> id="java"<br><br> name="Java(TM) 7"<br><br> revision="%version%"<br><br> reboot="false"<br><br> priority="178"<br>
<br> ><br><br> <variable name="updatever" value="51" /><br><br> <variable name="shortupdatever" value="7" /><br><br> <variable name="version" value="7.0.%updatever%" /><br>
<br> <variable name="autoupdate" value="0" /><br><br> <variable name="PKG_SOURCE" value="\\200.145.119.80\WPKG\basicos\java" /><br><br> <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><br> <check type="uninstall" condition="exists" path="Java 7" /><br><br> <check type="uninstall" condition="exists" path="Java 7 Update %updatever%" /><br>
<br> <check type="uninstall" condition="exists" path="Java 7 Update %shortupdatever%" /><br><br> </check><br><br> <br><br> <install cmd='taskkill /f /im jqs.exe /im iexplore.exe /im firefox.exe'><br>
<br> <exit code='any' /><br><br> </install><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" target="_blank">http://wpkg.org/Java#Install_JRE_with_msi_without_removing_old_version_in_a_mixed_32-bit.2F64-bit_environment</a> --><br>
<br> <install os=".+6\.[0-1]\.\d{4}"<br><br> cmd='msiexec /qn /i %PKG_SOURCE%\jre1.7.0_%updatever%\jre1.7.0_%updatever%.msi REBOOT=Suppress JAVAUPDATE=%autoupdate% CUSTOM=1' /><br><br>
<!-- remove Java Quick Starter --><br><br> <install cmd='%COMSPEC% /C if exist "%PROGRAMFILES%\Java\jre7\bin\jqs.exe" "%PROGRAMFILES%\Java\jre7\bin\jqs.exe" -unregister'><br>
<br> <exit code='any' /><br><br> </install><br><br> <install cmd='%COMSPEC% /C if exist "%PROGRAMFILES(x86)%\Java\jre7\bin\jqs.exe" "%PROGRAMFILES(x86)%\Java\jre7\bin\jqs.exe" -unregister'><br>
<br> <exit code='any' /><br><br> </install><br><br> <!-- remove Java Auto Update --><br><br> <install cmd='REG DELETE HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Run /v SunJavaUpdateSched /f'><br>
<br> <exit code='any' /><br><br> </install><br><br> <br><br> <downgrade include="install" /><br><br> <br><br> <upgrade include="install" /><br>
<br> <br><br> <remove cmd='msiexec /qn /x {26A24AE4-039D-4CA4-87B4-2F832170%updatever%FF}' /><br><br> <br><br> <!-- jre 64-bit install with the msi ; for 64-bit hosts only --><br>
<br> <check architecture="x64" type="file" condition="exists" path="%PROGRAMFILES%\Java\jre7\bin\java.exe" /><br><br> <check architecture="x64" type="logical" condition="or"><br>
<br> <check type="uninstall" condition="exists" path="Java 7 (64-bit)" /><br><br> <check type="uninstall" condition="exists" path="Java 7 Update %updatever% (64-bit)" /><br>
<br> <check type="uninstall" condition="exists" path="Java 7 Update %shortupdatever% (64-bit)" /><br><br> </check><br><br> <br><br> <install architecture="x64" cmd='taskkill /f /im jqs.exe /im iexplore.exe /im firefox.exe'><br>
<br> <exit code='any' /><br><br> </install><br><br> <install architecture="x64"<br><br> cmd='msiexec /qn /i %PKG_SOURCE%\jre1.7.0_%updatever%_x64\jre1.7.0_%updatever%.msi REBOOT=Suppress JAVAUPDATE=%autoupdate% CUSTOM=1'<br>
<br> /><br><br> <!-- remove Java Quick Starter --><br><br> <install architecture="x64" cmd='%COMSPEC% /C if exist "%PROGRAMFILES%\Java\jre7\bin\jqs.exe" "%PROGRAMFILES%\Java\jre7\bin\jqs.exe" -unregister'><br>
<br> <exit code='any' /><br><br> </install><br><br> <install architecture="x64" cmd='%COMSPEC% /C if exist "%PROGRAMFILES(x86)%\Java\jre7\bin\jqs.exe" "%PROGRAMFILES(x86)%\Java\jre7\bin\jqs.exe" -unregister'><br>
<br> <exit code='any' /><br><br> </install><br><br> <br><br> <downgrade include="install" /><br><br> <br><br> <upgrade include="install" /><br>
<br> <br><br> <remove architecture="x64" cmd='msiexec /qn /x {26A24AE4-039D-4CA4-87B4-2F864170%updatever%FF}' /><br><br> <br><br> </package> <br></blockquote></div><span class="HOEnZb"><font color="#888888"><div>
-- <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></font></span></div></div></div>
<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>