unexpected external ui message

3 messages Options
Embed this post
Permalink
Lars Helmer

unexpected external ui message

Reply Threaded More More options
Print post
Permalink
hello,

im trying to use wix 3 to generate msi-packages dynamically.
my first attempt was to use heat something like

heat.exe dir /path/to/folder -out mywix.wxs -template:product -gg

and then i replaced all the placeholders (this was more of a first
test). candle.exe ran fine after some initial tweaking, but light
gave me the following error:

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.

my initial commandline was just

light.exe file.wixobj -out file.msi

i tried adding <UIRef Id="WixUI_Minimal" /> to the code and
-ext WixUIExtension -culture:en-us to the commandline resulting in the
same
error.

my second attempt was to manually generate the whole wxs-file (using
heat
just for .exe and .dll files for all the gooey typelib details etc). but
the
same error occured.

the wxs-file is huge in either case so i can't really include it in the
mail,
but could anyone please give some pointers as to where i can start
looking?

i tried searching the mailinglists, but can't find any mention of this
error.

regards,

lars



-------------------------------------------------------------------------
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
[hidden email]
https://lists.sourceforge.net/lists/listinfo/wix-users
Mike Dimmick

Re: unexpected external ui message

Reply Threaded More More options
Print post
Permalink
The 'external UI' part of the error message is a red herring. It simply
refers to how the messages are communicated from the validation actions,
which run from the Windows Installer API in the same way that an actual
installation or maintenance action takes place.

Light runs validation by merging in the .cub file(s) (they're really
merge modules) and performing the actions listed in the _ICESequence.
Some of these actions (ICE08, ICE09, ICE32, ICE61) are implemented as
scripts. That requires that the VBScript runtime is working correctly.

Error code 2738 is listed in
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/msi/set
up/windows_installer_error_messages.asp as:

"Could not access VBScript run time for custom action [2]."

You can stop the error occurring by suppressing validation, but you
would be better off finding out why VBScript seems to be broken.

--
Mike Dimmick

-----Original Message-----
From: [hidden email]
[mailto:[hidden email]] On Behalf Of Lars
Helmer
Sent: 16 October 2006 13:55
To: [hidden email]
Subject: [WiX-users] unexpected external ui message

hello,

im trying to use wix 3 to generate msi-packages dynamically.
my first attempt was to use heat something like

heat.exe dir /path/to/folder -out mywix.wxs -template:product -gg

and then i replaced all the placeholders (this was more of a first
test). candle.exe ran fine after some initial tweaking, but light gave
me the following error:

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.

my initial commandline was just

light.exe file.wixobj -out file.msi

i tried adding <UIRef Id="WixUI_Minimal" /> to the code and -ext
WixUIExtension -culture:en-us to the commandline resulting in the same
error.

my second attempt was to manually generate the whole wxs-file (using
heat just for .exe and .dll files for all the gooey typelib details
etc). but the same error occured.

the wxs-file is huge in either case so i can't really include it in the
mail, but could anyone please give some pointers as to where i can start
looking?

i tried searching the mailinglists, but can't find any mention of this
error.

regards,

lars

-------------------------------------------------------------------------
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
[hidden email]
https://lists.sourceforge.net/lists/listinfo/wix-users
Lars Helmer

Re: unexpected external ui message

Reply Threaded More More options
Print post
Permalink
In reply to this post by Lars Helmer
thank you!

reinstalling windows script solved the problem!

regards,

lars

-----Original Message-----
From: Mike Dimmick [mailto:[hidden email]]
Sent: Monday, October 16, 2006 15:27
To: Lars Helmer; [hidden email]
Subject: RE: [WiX-users] unexpected external ui message

The 'external UI' part of the error message is a red herring. It simply
refers to how the messages are communicated from the validation actions,
which run from the Windows Installer API in the same way that an actual
installation or maintenance action takes place.

Light runs validation by merging in the .cub file(s) (they're really
merge modules) and performing the actions listed in the _ICESequence.
Some of these actions (ICE08, ICE09, ICE32, ICE61) are implemented as
scripts. That requires that the VBScript runtime is working correctly.

Error code 2738 is listed in
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/msi/set
up/windows_installer_error_messages.asp as:

"Could not access VBScript run time for custom action [2]."

You can stop the error occurring by suppressing validation, but you
would be better off finding out why VBScript seems to be broken.

--
Mike Dimmick

-----Original Message-----
From: [hidden email]
[mailto:[hidden email]] On Behalf Of Lars
Helmer
Sent: 16 October 2006 13:55
To: [hidden email]
Subject: [WiX-users] unexpected external ui message

hello,

im trying to use wix 3 to generate msi-packages dynamically.
my first attempt was to use heat something like

heat.exe dir /path/to/folder -out mywix.wxs -template:product -gg

and then i replaced all the placeholders (this was more of a first
test). candle.exe ran fine after some initial tweaking, but light gave
me the following error:

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.

my initial commandline was just

light.exe file.wixobj -out file.msi

i tried adding <UIRef Id="WixUI_Minimal" /> to the code and -ext
WixUIExtension -culture:en-us to the commandline resulting in the same
error.

my second attempt was to manually generate the whole wxs-file (using
heat just for .exe and .dll files for all the gooey typelib details
etc). but the same error occured.

the wxs-file is huge in either case so i can't really include it in the
mail, but could anyone please give some pointers as to where i can start
looking?

i tried searching the mailinglists, but can't find any mention of this
error.

regards,

lars





-------------------------------------------------------------------------
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
[hidden email]
https://lists.sourceforge.net/lists/listinfo/wix-users