[wpkg-users] Trouble installing Registry entries

Rainer Meier r.meier at wpkg.org
Thu Sep 25 00:46:11 CEST 2008


Hi,

Christopher Leslie wrote:
> Here's the .xml and the .reg
> 
> <packages>
>  <package
>      id="morrisoncert"
>      name="Security Cert for IV4"
>      revision="1"
>      priority="100"
>      execute= "always">
>     <check type="registry" condition="exists"
> path="HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\SystemCertificates\ROOT\Certificates\910C309AD02F637DE043158A04ADDBE468E0422A"
>     <install cmd='regedit /s "%SOFTWARE%\Software\morrisoncert.reg"' />
>  </package>
> </packages>

Try changing the check to check for the existens of the written Blob
value instead of the plain key:

<check type="registry" condition="exists"
path="HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\SystemCertificates\ROOT\Certificates\910C309AD02F637DE043158A04ADDBE468E0422A\Blob"
/>

In addition it looks a bit to me like the XML sniplet you used above is
not valid XML (closing tag of check node missing). Well, I might be too
tired at the moment...


br,
Rainer



More information about the wpkg-users mailing list