Bugs item #1843686, was opened at 2007-12-03 22:12
Message generated for change (Comment added) made by barnson
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=642714&aid=1843686&group_id=105970

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: light
Group: None
>Status: Closed
>Resolution: Rejected
Priority: 5
Private: No
Submitted By: dB. (dblockdotorg)
Assigned to: pmarcu (pmarcu)
Summary: LGHT0217 (2738) building on Vista x86

Initial Comment:
Default project created in Visual Studio produces the same results with 
3.0.3530.0.

C:\Users\dblock\Source\Vestris\sncore\SnCore.Install>"C:\Program Files\Windows 
Installer XML v3\bin\Light.exe" -out C:\U
sers\dblock\Source\Vestris\sncore\SnCore.Install\bin\Debug\SnCore.Install.msi 
-pdbout C:\Users\dblock\Source\Vestris\snc
ore\SnCore.Install\bin\Debug\SnCore.Install.wixpdb 
obj\Debug\SnCore.Install.wixobj
Microsoft (R) Windows Installer Xml Linker version 3.0.3530.0
Copyright (C) Microsoft Corporation 2003. All rights reserved.

light.exe : error LGHT0217 : An unexpected external UI message was received: 
The installer has encountered an unexpected
 error installing this package. This may indicate a problem with this package. 
The error code is 2738.

C:\Users\dblock\Source\Vestris\sncore\SnCore.Install>"C:\Program Files\Windows 
Installer XML v3\bin\Light.exe" -v -out C
:\Users\dblock\Source\Vestris\sncore\SnCore.Install\bin\Debug\SnCore.Install.msi
 -pdbout C:\Users\dblock\Source\Vestris\
sncore\SnCore.Install\bin\Debug\SnCore.Install.wixpdb 
obj\Debug\SnCore.Install.wixobj
Microsoft (R) Windows Installer Xml Linker version 3.0.3530.0
Copyright (C) Microsoft Corporation 2003. All rights reserved.

Updating file information.
Creating cabinet files.
Creating cabinet 
'C:\Users\dblock\AppData\Local\Temp\7xzk0hkx\#SnCore.Install.cab'.
Generating database.
Merging modules.
Validating database.
ICE01: ICE01 - Simple ICE that doesn't test anything
ICE01: Created 04/29/1998. Last Modified 08/17/1998.
ICE01: Called at 17:10:22.
ICE02: ICE02 - ICE to test circular references in File and Component tables
ICE02: Created 05/18/1998. Last Modified 10/12/1998.
ICE03: ICE03 - ICE to perform data validation and foreign key references
ICE03: Created 05/19/1998. Last Modified 10/03/2001.
ICE04: ICE04 - ICE to validate File table sequences according to Media table
ICE04: Created 05/19/1998. Last Modified 09/24/1998.
ICE04: Max Sequence in Media Table is 1
ICE05: ICE05 - ICE to validate that required data exists in certain tables.
ICE05: Created 05/20/1998. Last Modified 01/26/1999.
ICE06: ICE06 - ICE that looks for missing columns in database tables
ICE06: Created 05/20/1998. Last Modified 02/18/1999.
ICE07: ICE07 - ICE that ensures that fonts are installed to the fonts folder. 
Only checked if you have a Font table
ICE07: Created 05/21/1998. Last Modified 02/18/1999.
light.exe : error LGHT0217 : An unexpected external UI message was received: 
The installer has encountered an unexpected
 error installing this package. This may indicate a problem with this package. 
The error code is 2738.

----------------------------------------------------------------------

>Comment By: Bob Arnson (barnson)
Date: 2008-05-03 18:46

Message:
Logged In: YES 
user_id=26581
Originator: NO

Unfortunately, the ICEs are outside the WiX team's control (though I hope
we eventually come up with better-performing checks in Light itself).

----------------------------------------------------------------------

Comment By: dB. (dblockdotorg)
Date: 2008-01-10 11:57

Message:
Logged In: YES 
user_id=1518552
Originator: YES

There's a manual work-around.
E-mail from Mike Dimmick helped:

This error occurs when light is running validation. Validation is achieved
by merging in the darice.cub merge module and executing the ICE sequence
contained in it. Most of the custom actions are implemented as DLLs but
some are implemented in VBScript. Error 2738 has the following
description:

Could not access VBScript runtime for custom action [CUSTOMACTIONNAME].

This suggests there’s a problem with the VBScript runtime on your
machine. If you’re running McAfee or Norton Anti-Virus, you may find that
it’s being overzealous in blocking VBScripts – there may be an option
in your AV package to turn this off.

For more on troubleshooting see
http://blogs.msdn.com/heaths/archive/2007/05/31/windows-installer-errors-2738-and-2739-with-script-custom-actions.aspx
and http://blogs.msdn.com/astebner/archive/2007/06/07/3151752.aspx. Bob
Arnson also documents which ICEs cause the problem in a comment at
http://www.joyofsetup.com/2007/06/07/when-vbscript-and-jscript-custom-actions-are-even-more-evil/.

Note that script custom actions are generally not recommended; the Windows
Installer team should probably reimplement these ICEs in native DLLs.

->

http://blogs.msdn.com/astebner/archive/2007/06/07/3151752.aspx has the
instructions:

reg delete
"HKCU\SOFTWARE\Classes\CLSID\{B54F3741-5B07-11CF-A4B0-00AA004A55E8}" /f
reg delete
"HKCU\SOFTWARE\Classes\CLSID\{F414C260-6AC0-11CF-B6D1-00AA00BBBB58}" /f

Then as admin

regsvr32 c:\windows\system32\jscript.dll
regsvr32 c:\windows\system32\vbscript.dll

Light runs now.


----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=642714&aid=1843686&group_id=105970

-------------------------------------------------------------------------
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-devs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wix-devs

Reply via email to