[wpkg-users] Conditional depends?

Marco Gaiarin gaio at sv.lnf.it
Wed Jan 9 16:56:08 CET 2019


Mandi! Jürgen Depicker
  In chel di` si favelave...

> Hi, you can check on OS version, see the wiki for more info:
> <check type="file" condition="exists" path="%PKG_SOURCE%\setup.exe" os="5\.[1-9]\.\d{4}" />

No, sorry, it is not clear to me.
How 'filtering' condition by OS can help me here?

Really i don't understand... can you make me an example with:

> 	<!-- Package depends always on Flash Plugin (FF) -->
> 	<depends package-id="flashplugin" />
> 	<!-- Package depends on Flash ActiveX only on OS < Win10 -->
> 	<depends package-id="flash" >
> 		<condition>
> 			<check type="registry" condition="?" path="HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\CurrentVersion" value="10" />
> 		</condition>
> 	</depends>

Thanks.

-- 
dott. Marco Gaiarin				        GNUPG Key ID: 240A3D66
  Associazione ``La Nostra Famiglia''          http://www.lanostrafamiglia.it/
  Polo FVG   -   Via della Bontà, 7 - 33078   -   San Vito al Tagliamento (PN)
  marco.gaiarin(at)lanostrafamiglia.it   t +39-0434-842711   f +39-0434-842797

		Dona il 5 PER MILLE a LA NOSTRA FAMIGLIA!
      http://www.lanostrafamiglia.it/index.php/it/sostienici/5x1000
	(cf 00307430132, categoria ONLUS oppure RICERCA SANITARIA)


More information about the wpkg-users mailing list