The WiX tools generate an 0001 error when any unexpected exception occurs.
They log the original error message as supplied in the original exception.
In this case an AccessViolationException occurred, which is generated by the
.NET Common Language Runtime whenever some external code (P/Invoke or COM
Interop) generates a Win32 STATUS_ACCESS_VIOLATION (0xC0000005) structured
exception.

Other discussions on this list indicate that CABs have an upper limit of
2GB. Split your install into multiple smaller CABs.

-- 
Mike Dimmick

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of raj ganesh
Sent: 31 January 2007 04:44
To: wix-devs@lists.sourceforge.net; wix-users@lists.sourceforge.net
Subject: [WiX-users] Light System.AccessViolationException
error(Microsoft.Tools.WindowsInstallerXml.Cab.Interop.CabInterop.CreateCabFi
nish)

 We are seeing an access violation in light.exe (filever 2.0.4103.0)
when creating the cab file for the debug target (happens when the cab
file size exceeds 2 GB) -

light.exe : error LGHT0001 : Attempted to read or write protected
memory. This is often an indication that other memory is corrupt.

Exception Type: System.AccessViolationException

Stack Trace:
   at
Microsoft.Tools.WindowsInstallerXml.Cab.Interop.CabInterop.CreateCabFinish
(IntPtr contextHandle)
   at Microsoft.Tools.WindowsInstallerXml.Cab.WixCreateCab.Close()
   at Microsoft.Tools.WindowsInstallerXml.Binder.CreateCabinet(String
cabinetDir , String cabinetName, CompressionLevel level, ArrayList
files, ImportStreamColle ction importStreams, ArrayList fileTransfers)
   at
Microsoft.Tools.WindowsInstallerXml.Binder.ProcessMediaInformation(String
databasePath, Output output, ArrayList fileTransfers)
   at Microsoft.Tools.WindowsInstallerXml.Binder.Bind(Output output)
   at Microsoft.Tools.WindowsInstallerXml.Tools.Light.Run(String[] args)

Unhandled Exception: System.AccessViolationException: Attempted to
read or write  protected memory. This is often an indication that
other memory is corrupt.
   at
Microsoft.Tools.WindowsInstallerXml.Cab.Interop.CabInterop.CreateCabFinish
(IntPtr contextHandle)
   at Microsoft.Tools.WindowsInstallerXml.Cab.WixCreateCab.Close()
   at Microsoft.Tools.WindowsInstallerXml.Cab.WixCreateCab.Dispose(Boolean
dispo
sing)
   at Microsoft.Tools.WindowsInstallerXml.Cab.WixCreateCab.Finalize()
dmake.exe:  Error code 129, while making 'debug'

Going by the build log just before the error its in the cabbing stage -

Cabbing file Interaction_Center_su_readme.html from
'Interaction_Center_su_readm
e.html'.
Cabbing file Interaction_Center_su_summary.html from
'Interaction_Center_su_summary.html'.
Cabbing file Interaction_Center_su_new_features.html from
'Interaction_Center_su
_new_features.html'.
Cabbing file su_dummy_0.txt from 'su_dummy.txt'.
Cabbing file su_dummy_1.txt from 'su_dummy.txt'.
Cabbing file su_dummy_2.txt from 'su_dummy.txt'.
Cabbing file su_dummy_3.txt from 'su_dummy.txt'.
Cabbing file su_dummy_4.txt from 'su_dummy.txt'.
Cabbing file su_dummy_5.txt from 'su_dummy.txt'.


Is it possible to pull the exception handler off of light.exe to
return a meaningful error code. Moving to the most recent 2.0.4820.0
version returns the same exception stack.

Thanks,

Raj

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


-------------------------------------------------------------------------
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
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to