[wpkg-users] set %TEMP% variable for user?
Daniel Dehennin
daniel.dehennin at ac-caen.fr
Mon Jun 27 07:49:39 CEST 2011
Labamba81 <labamba81 at googlemail.com> writes:
> Could you post your packages.xml entry for yout TEMP variable please?
I do not use it for TEMP, but I use it like this for version:
#v+
<?xml version='1.0' encoding='utf-8'?>
<packages>
<package
id="flash-player-firefox"
name="Flash player for Firefox"
revision="%version%"
reboot="false"
priority="100">
<depends package-id='firefox'/>
<variable name="version" value="10.2.153.1" />
<variable name="pathappli" value="adobe\flash\10.2\mozilla" />
<check type='uninstall' condition='exists' path='Adobe Flash Player 10 Plugin'/>
<check type="logical" condition="or">
<check type="file" condition="versionequalto" path="%SYSTEMROOT%\system32\Macromed\Flash\NPSWF32.dll" value="%version%"/>
<check type="file" condition="versionequalto" path="%SYSTEMROOT%\SysWOW64\Macromed\Flash\NPSWF32.dll" value="%version%"/>
</check>
<install cmd='"%SOFTWARE%\%pathappli%\install.cmd"'/>
<upgrade cmd='"%SOFTWARE%\%pathappli%\install.cmd"'/>
<remove cmd='"%SOFTWARE%\%pathappli%\remove.cmd"'/>
</package>
</packages>
#v-
Regards.
--
Daniel Dehennin
RAIP de l'Orne
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: not available
URL: <http://lists.wpkg.org/pipermail/wpkg-users/attachments/20110627/417acacf/attachment-0001.sig>
More information about the wpkg-users
mailing list