<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<remove cmd='"%PKG_DEST%\uninstall\helper.exe" /s' />
<br>
<b><remove cmd="%ComSpec% /c ping -n 11 localhost" /> is the
solution !!! </b><br>
<br>
Beautiful script, thank you very much :-)<br>
<br>
<pre class="moz-signature" cols="72">Bruno CHOQUET, responsable du service informatique de l'IUT d'Alençon.
correspondant informatique du site universitaire d'Alençon.
<a class="moz-txt-link-freetext" href="http://www.unicaen.fr/iutalencon">http://www.unicaen.fr/iutalencon</a>
Tel : 02.33.80.85.10
</pre>
<br>
Le 06/04/2012 09:33, Stefan Pendl a écrit :
<blockquote cite="mid:4F7E9C3D.1070102@gmail.com" type="cite">Am
06.04.2012 09:19, schrieb Bruno CHOQUET:
<br>
<blockquote type="cite">
<br>
On a W7 32bit SP1, did you try to remove FF6 with the command
<remove
<br>
cmd='"%ProgramFiles%\Mozilla Firefox\uninstall\helper.exe"
-ms'></remove> ?
<br>
<br>
</blockquote>
<br>
I never had to remove a previous version of Firefox, the update
always went smooth.
<br>
<br>
I am using the following package:
<br>
<br>
<package id="Firefox" name="Mozilla Firefox"
revision="%PKG_VER%" reboot="false" priority="100">
<br>
<!-- higher priority is used to install before Java and
Flash Player without defining a dependency, since Firefox doesn't
really depend on them -->
<br>
<!-- set version variables -->
<br>
<variable name="PKG_VER" value="11.0"/>
<br>
<variable name="PKG_EXE_VER" value="11.0.0.4454"/>
<br>
<!-- set version variables for virtual machines -->
<br>
<variable name="PKG_VER" value="11.0"
hostname="VM\-" />
<br>
<variable name="PKG_EXE_VER" value="11.0.0.4454"
hostname="VM\-" />
<br>
<!-- set destination folder -->
<br>
<variable name="PKG_DEST"
value="%ProgramFiles%\Mozilla Firefox"
architecture="x86"/>
<br>
<variable name="PKG_DEST"
value="%ProgramFiles(x86)%\Mozilla Firefox"
architecture="x64"/>
<br>
<!-- default language is English -->
<br>
<variable name="PKG_LNG" value="en-us"/>
<br>
<!-- overwrite default language for German systems
-->
<br>
<variable name="PKG_LNG" value="de"
lcid="407,c07,1407,1007,807"/>
<br>
<br>
<check type="uninstall"
condition="versiongreaterorequal" path="Mozilla Firefox .+"
value="%PKG_VER%" />
<br>
<check type="file"
condition="versiongreaterorequal" path="%PKG_DEST%\firefox.exe"
value="%PKG_EXE_VER%" />
<br>
<br>
<install cmd='"%SOFTWARE%\Mozilla Firefox\Firefox Setup
%PKG_VER% %PKG_LNG%.exe" /S' />
<br>
<br>
<upgrade include="install" />
<br>
<br>
<remove cmd='"%PKG_DEST%\uninstall\helper.exe" /s'
/>
<br>
<remove cmd="%ComSpec% /c ping -n 11 localhost" />
<br>
</package>
<br>
<br>
If you like to remove the previous version on upgrade you can
change the upgrade commands as below for the package above.
<br>
<br>
<upgrade include="remove" />
<br>
<upgrade include="install" />
<br>
<br>
<br>
<br>
--
<br>
Stefan P.
<br>
<br>
Top-posting:
<br>
A: Because it messes up the order in which people normally read
text.
<br>
Q: Why is top-posting such a bad thing?
<br>
A: Top-posting.
<br>
Q: What is the most annoying thing in e-mail?
<br>
</blockquote>
</body>
</html>