From: http://wix.sourceforge.net/manual-wix3/light.htm use -sval if you use the 
commandline
From: http://wix.sourceforge.net/manual-wix3/msbuild_task_reference_light.htm 
set SuppressValidation if you use the Light task from MSBuild
From: http://wix.sourceforge.net/manual-wix3/votive_property_pages.htm use the 
Tool Settings project property page if you use Visual Studio
 
> Date: Wed, 19 Jun 2013 16:00:23 +0200
> From: ca.brenge...@gmail.com
> To: wix-users@lists.sourceforge.net
> Subject: Re: [WiX-users] Error LGHT0217 the system was unable to find the 
> specified registry key or value
> 
> ok, thanks.
> 
> But pardon my ignorance, but how exactly do I suppress the validation?
> 
> 
> 2013/6/19 Blair Murri <os...@live.com>
> 
> > A service account that is not a local administrator seems to fail to
> > access the MSI service (which is also required to run validation). Thus,
> > the problem may not be misconfigured script engines but instead system
> > security.
> >
> > The workaround is to suppress validation in builds running non-elevated in
> > service accounts (non-elevated interactive accounts work fine, I haven't
> > yet tested non-elevated batch accounts [running the build from a scheduled
> > task instead of from a service]). There was also a suggestion that a "too
> > big" environment block may cause this as well.
> >
> > Blair Murri
> >
> > > Date: Wed, 19 Jun 2013 11:00:38 +0200
> > > From: ca.brenge...@gmail.com
> > > To: wix-users@lists.sourceforge.net
> > > Subject: [WiX-users] Error LGHT0217 the system was unable to find the
> > specified registry key or value
> > >
> > > 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
> > > WiX-users@lists.sourceforge.net
> > > https://lists.sourceforge.net/lists/listinfo/wix-users
> >
> >
> > ------------------------------------------------------------------------------
> > This SF.net email is sponsored by Windows:
> >
> > Build for Windows Store.
> >
> > http://p.sf.net/sfu/windows-dev2dev
> > _______________________________________________
> > WiX-users mailing list
> > WiX-users@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/wix-users
> >
> ------------------------------------------------------------------------------
> This SF.net email is sponsored by Windows:
> 
> Build for Windows Store.
> 
> http://p.sf.net/sfu/windows-dev2dev
> _______________________________________________
> WiX-users mailing list
> WiX-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wix-users
                                          
------------------------------------------------------------------------------
This SF.net email is sponsored by Windows:

Build for Windows Store.

http://p.sf.net/sfu/windows-dev2dev
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to