http://bugzilla.wpkg.org/show_bug.cgi?id=139
--- Comment #5 from graham <[email protected]> 2009-07-05 22:44:40 --- Tested against wpkg 1.1.1. The interpolation does NOT work for checks of type "registry" - example below. It DOES work for the spaces-in-path-names, and APPEARS to work for checks on file paths (though my tests were not so thorough). The registry check example: <package id="login-no-show-previous-username" name="login-no-show-previous-username" revision="3" priority="800" reboot="false"> <variable name="regkey" value="HKLM\Software\Microsoft\Windows\CurrentVersion\policies\system"/> <variable name="regvalue" value="DontDisplayLastUserName"/> <!-- This check will always fail, reporting the literal (uninterpolated path) does not exist) --> <check type="registry" condition="equals" path="%regkey%\%regvalue%" value="1" /> <!-- This check works --> <check type="registry" condition="equals" path="HKLM\Software\Microsoft\Windows\CurrentVersion\policies\system\DontDisplayLastUserName" value="1" /> <install cmd='reg add "%regkey%" /v "%regvalue%" /t REG_DWORD /d "1" /f' /> </package> -- Configure bugmail: http://bugzilla.wpkg.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the QA contact for the bug. ------------------------------------------------------------------------- wpkg-users mailing list archives >> http://lists.wpkg.org/pipermail/wpkg-users/ _______________________________________________ wpkg-users mailing list [email protected] http://lists.wpkg.org/mailman/listinfo/wpkg-users
