<div dir="ltr"><div dir="ltr"><div dir="ltr"><div>Hi Raphaël,</div><div><br></div><div>yes, it's %ProgramData%.</div><div><br></div><div>HTH,</div><div>Dafydd</div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Tue, 22 Jan 2019 at 16:32, Raphael Brocq <<a href="mailto:raphael-jacky-r.brocq@ac-lyon.fr">raphael-jacky-r.brocq@ac-lyon.fr</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<div bgcolor="#FFFFFF">
<p>Hello,</p>
<p>I made the package for mblock 5. Mblock installs in
c:\ProgramData<br>
so I put for the ckeck and remove the following lines:<br>
<br>
<check type="file" condition="versionequalto"
path="C:\ProgramData\mBlock5\mblock\mblock.exe"
value="%version%.0" /><br>
<br>
<remove cmd=''"C:\ProgramData\mBlock5\unins000.exe" /SILENT'
/><exit code='1' /><br>
<br>
I would like to know if there is a variable like this <br>
<variable name="PROGRAMFILES" value="%PROGRAMFILES%"
architecture="x86"/><br>
<variable name="PROGRAMFILES" value="%PROGRAMFILES(X86)%"
architecture="x64"/><br>
that would replace C:\ProgramData\ <br>
<br>
Thank you for your help,</p>
<p>yours Sincerely<br>
<br>
Raphaël Brocq<br>
</p>
<p><a class="gmail-m_-1316810865621574688moz-txt-link-freetext" href="https://forum-dane.ac-lyon.fr/forum/viewforum.php?f=44" target="_blank">https://forum-dane.ac-lyon.fr/forum/viewforum.php?f=44</a><br>
</p>
<p><br>
</p>
<div class="gmail-m_-1316810865621574688moz-signature">-- <br>
<div class="gmail-m_-1316810865621574688logo"> <a href="http://www.ac-lyon.fr/" target="_blank"> <img src="https://dane.ac-lyon.fr/spip/squelettes/images/logoacademie.png" alt="" width="167" height="200"> </a> </div>
<div class="gmail-m_-1316810865621574688texte"> <span class="gmail-m_-1316810865621574688nom">Raphaël Brocq</span><br>
Enseignant de Technologie - Collège La Tourette - Lyon 1<sup>er</sup>
<br>
Chargé de missions DANE - Référent <i>Accompagnement</i> <br>
<br>
Rectorat<br>
Délégation Académique au Numérique Éducatif<br>
92 rue de Marseille - BP 7227 - 69007 Lyon cedex 07<br>
Tél : 04 72 80 64 68
<hr> Locaux : 47 rue Philippe de Lassalle - 69004 Lyon<br>
<a href="http://dane.ac-lyon.fr/" target="_blank">http://dane.ac-lyon.fr/</a> </div>
</div>
</div>
---------------------------------<br>
wpkg-users mailing list archives >> <a href="http://lists.wpkg.org/pipermail/wpkg-users/" rel="noreferrer" 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" target="_blank">wpkg-users@lists.wpkg.org</a><br>
<a href="https://lists.wpkg.org/mailman/listinfo/wpkg-users" rel="noreferrer" target="_blank">https://lists.wpkg.org/mailman/listinfo/wpkg-users</a><br>
</blockquote></div></div></div></div>