I've got the same error trying to build my WiX (Votive) setup project as part
of my Team Build.  

"light.exe(0,0): error LGHT0216: An unexpected Win32 exception with error
code 0x659 occurred: This installation is forbidden by system policy. 
Contact your system administrator."

The project builds fine if I run a desktop build and through VS2005.  

I've tried adding the DisableMSI registry key and setting the value to "0"
and still no luck.  I'm ready to disable validation -- problem is, I don't
know how to do it.

Using Votive (5/25/2007 release), how do I specify "-sval"?   

Thanks,

-Ben Day
Microsoft MVP for C#




Rob Mensching-2 wrote:
> 
> Validation (which is executed by default) starts up the Windows Installer
> engine.  If you have the Windows Installer engine disabled, validation
> will always fail.  You'd want to suppress validation (-sval) or allow the
> Windows Installer engine to run.  Of course, validation can catch some
> errors in your MSI so I recommend leaving it on.
> 
> "Mangaged" in this case means "administrator said it was okay to run this
> MSI on your machine".
> 
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On Behalf Of Roger
> Lipscombe
> Sent: Thursday, February 08, 2007 4:28 AM
> To: [email protected]
> Subject: [WiX-users] Votive under VS2005 reports "This installation is
> forbidden by system policy" when running as LUA
> 
> [Please excuse me if this is a stupid question: I'm just getting started
> with WiX]
> 
> I'm just playing with WiX v3.0 and Votive. I've created a new WiX MSI
> project, and when building it (and changing all the PUT-WHATEVER-HERE
> values), Light reports the following error:
> 
> Error LGHT0216: An unexpected Win32 exception with error code 0x659
> occurred: This installation is forbidden by system policy.  Contact your
> system administrator
> 
> I looked this up in Google, and all I could find were references to the
> HKLM\SOFTWARE\Policies\Microsoft\Windows\Installer, specifically the
> DisableMSI value (documented at
> http://msdn2.microsoft.com/en-us/library/aa368304.aspx). I'm running
> Windows 2003, so I guess that the default applies. I assume that "managed
> applications" in this context means .NET applications, correct?
> 
> When I build it with an admin account, I get an ICE validation error
> instead. It appears to me that the ICE checks don't work in a non-Admin
> account. Is there any way to get them to work, or should I simply turn
> them off? If I turn them off, then the project builds successfully, but
> this probably isn't ideal.
> 
> I'd prefer not to set DisableMSI to zero, which appears to allow
> installations for all applications, because I think that it might open a
> security hole. Or am I missing something?
> 
> Regards,
> Roger.
> 
> 
> ----------------------------------------------------------------------------------------
> 
> This is a PRIVATE message. If you are not the intended recipient, please
> delete without copying and kindly advise us by e-mail of the mistake in
> delivery. NOTE: Regardless of content, this e-mail shall not operate to
> bind 1E Ltd to any order or other contract unless pursuant to explicit
> written agreement or government initiative expressly permitting the use of
> e-mail for such purpose.
> 
> ----------------------------------------------------------------------------------------
> 
> -------------------------------------------------------------------------
> Using Tomcat but need to do more? Need to support web services, security?
> Get stuff done quickly with pre-integrated technology to make your job
> easier.
> Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
> _______________________________________________
> WiX-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/wix-users
> 
> 

-- 
View this message in context: 
http://www.nabble.com/Votive-under-VS2005-reports-%22This-installation-is-forbidden-by-system-policy%22-when-running-as-LUA-tf3193035.html#a10862389
Sent from the wix-users mailing list archive at Nabble.com.


-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
WiX-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to