Hi!
Yesterday I setup a WiX project with MSBuild and everything worked fine
when I ran it locally, and I comitted the changes.
However, our nightly build failed with error LGHT0217. And I did read the
FAQ and the linked blog posts on how to fix it.
But the solution, as I understand it, is to modify the registry settings
for the user executing the build job.
And my problem is that I have no means of modifying the registry settings
for the user account that executes the build job, other than via the actual
build job.
I did try instead to execute the registry command operations inside my
build script, but the following commands all failed because the key did not
exist.
reg delete
"HKCU\SOFTWARE\Classes\CLSID\{B54F3741-5B07-11CF-A4B0-00AA004A55E8}" /f
reg delete
"HKCU\SOFTWARE\Classes\Wow6432Node\CLSID\{B54F3741-5B07-11CF-A4B0-00AA004A55E8}"
/f
reg delete
"HKCU\SOFTWARE\Classes\CLSID\{F414C260-6AC0-11CF-B6D1-00AA00BBBB58}" /f
reg delete
"HKCU\SOFTWARE\Classes\Wow6432Node\CLSID\{F414C260-6AC0-11CF-B6D1-00AA00BBBB58}"
/f
build 19-Jun-2013 09:59:15 Executing WiXErrorLGHT0217WorkAround
error 19-Jun-2013 09:59:15 ERROR: The system was unable to find the
specified registry key or value.
error 19-Jun-2013 09:59:15 ERROR: The system was unable to find the
specified registry key or value.
error 19-Jun-2013 09:59:15 ERROR: The system was unable to find the
specified registry key or value.
error 19-Jun-2013 09:59:15 ERROR: The system was unable to find the
specified registry key or value.
Or is it possible to disable the validation?
Anyone have any other ideas?
------------------------------------------------------------------------------
This SF.net email is sponsored by Windows:
Build for Windows Store.
http://p.sf.net/sfu/windows-dev2dev
_______________________________________________
WiX-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wix-users