Registration location

Hey guys,

I came across a minor issue earlier today. I have wyBuild installed and registered on a build machine, but when the auto-build process runs, wyBuild returns an unregistered/expired message:

[13:00:17]: [exec] The update failed to build: The 21-day trial of wyBuild has expired. If you need more time to evaluate wyBuild you can request additional days by e-mailing us at support@wyday.com.[13:00:17]: External Program Failed: C:\Program Files (x86)\wyBuild\wybuild.exe (return code was 1)

I found that this is because the build is running under a different windows user account (as a service) than the account I had installed and registered wyBuild under (I used the local admin account).

By changing the service to use the admin account, this error went away.

My best guess is that wyBuild stores registration information in a user's storage context instead of a system context (eg, HKCU vs HKLM). Not sure if this is by design, but thought I'd mention it.

Hey Patrick,

When you enter your product key on during setup, the installer puts the key in HKLM. When you enter the key inside wyBuild the key is put in HKCU. The reason it's a different location depending on when you enter it is that the installer is guaranteed to have UAC elevation (and thus can install to HKLM without impediment), while wyBuild has no such elevation.

The quick solution is to re-install the latest wyBuild and enter the product key during the setup. Then you'll be able to use whatever user you want.

Can i update registry when my tool get updated using window service? I want to put in HKLM\Software.

Arun, your question is unrelated to the original question. But yes, you can update registry values. Just use the "Registry Changes" panel in wyBuild.