[wpkg-users] Package dependencies and registry running state patch

Andre Ilie ai at photonic-sense.com
Mon Mar 20 17:47:56 CET 2006


Hi

	Just got also a patch for getting package dependencies like the profile 
dependencies (actually it uses the same function) because the 
0.9.7-test1 won't check for nested package dependencies and uses a 
strange comma separated dependency format. The new format is very simple 
(analog to the profiles.xml):

	<package id=...>
		<depends package-id="my-package"/>
		<depends package-id="other-package"/>
	</package>

	Still have to add a way to check against profile dependencies and to 
reorder priorities if package dependencies need it to. And we need a 
check when we want to remove packages if dependencies are still consistent.

	I've also introduced a registry entry in HKLM/Software/WPKG to indicate 
the WPKG state to other programs (like our logon script here, which will 
inform you that the WPKG service is installing software and you should 
hold on a while). This can be turned off (its on by default) by passing 
/norunningstate to wpkg.js.

	HKLM\Software\WPKG\running can be "true" (REG_SZ) or "false". Our logon 
script just polls the value every second until its "false", very easy.

	Greets,
		Andre
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: wpkg-0.9.7-test1-deps.diff
URL: <http://lists.wpkg.org/pipermail/wpkg-users/attachments/20060320/24570372/attachment-0001.ksh>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ai.vcf
Type: text/x-vcard
Size: 377 bytes
Desc: not available
URL: <http://lists.wpkg.org/pipermail/wpkg-users/attachments/20060320/24570372/attachment-0001.vcf>


More information about the wpkg-users mailing list