Thanks, that seems to fix the problem.   I'm running LIGHT -sval, then
SMOKE.  Does this do the same validation as running the LIGHT
validation, or should I be sure to run LIGHT with validation in
addition?

steve

On Thu, May 8, 2008 at 6:42 PM, Rob Mensching
<[EMAIL PROTECTED]> wrote:
> Validation.
>
>  Light uses the standard MSI Validation functionality uses the Windows 
> Installer services to validate the databases after building.  Talking to a 
> service (MSI) while in another service (Scheduled Task) has some really 
> complicated security things going on.  Doesn't surprise me it doesn't work.
>
>  I can think of two options off the top of my head:
>
>  1.  Don't use scheduled tasks to drive the build.
>
>  2.  Suppress validation by passing "-sval" to light.  You should run 
> validation sometime later.  Smoke.exe can help you there (does the same thing 
> light does, but as a standalone executable).
>
>
>
>
>  -----Original Message-----
>  From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Stephen 
> Lewin-Berlin
>  Sent: Thursday, May 08, 2008 13:36
>  To: wix-users@lists.sourceforge.net
>  Subject: [WiX-users] LGHT0217 error from scheduled task only
>
>  I'm getting the following error from light on my automated build
>  machine (home-brew scripts using windows scheduled tasks).  I can log
>  into the build machine using remote desktop (same user as the
>  automated task) and build the MSI file without error.  The error
>  occurs only when the build is scripted.  Any ideas on what might be
>  wrong?  I'm using Wix 3.0 build 4102, and I am definitely NOT running
>  Windows in safe mode!
>
>  ---- build error log output ----
>
>  ../tools/wix/bin/candle.exe -ext
>  "../tools/wix/bin\WixUtilExtension.dll" cilk.wxs
>  Microsoft (R) Windows Installer Xml Compiler version 3.0.4102.0
>  Copyright (C) Microsoft Corporation 2003. All rights reserved.
>
>  cilk.wxs
>  ../tools/wix/bin/light.exe -ext WixUIExtension -ext WixNetfxExtension
>  -ext WixVSExtension -ext WixUtilExtension -cultures:en-us cilk.wixobj
>  | grep -E -v 
> '(LGHT1076.*(98CB24AD_52FB_DB5F_FF1F_C8B3B9A1E18E|63E949F6_03BC_5C40_FF1F_C8B3B9A1E18E))|(LGHT1055.*x86\.msm)'
>  Microsoft (R) Windows Installer Xml Linker version 3.0.4102.0
>  Copyright (C) Microsoft Corporation 2003. All rights reserved.
>
>  light.exe : error LGHT0217 : An unexpected external UI message was
>  received: The Windows Installer Service could not be accessed. This
>  can occur if you are running Windows in safe mode, or if the Windows
>  Installer is not correctly installed. Contact your support personnel
>  for assistance.
>
>  ---- end log output ----
>
>  -------------------------------------------------------------------------
>  This SF.net email is sponsored by the 2008 JavaOne(SM) Conference
>  Don't miss this year's exciting event. There's still time to save $100.
>  Use priority code J8TL2D2.
>  
> http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
>  _______________________________________________
>  WiX-users mailing list
>  WiX-users@lists.sourceforge.net
>  https://lists.sourceforge.net/lists/listinfo/wix-users
>

-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Don't miss this year's exciting event. There's still time to save $100. 
Use priority code J8TL2D2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to