Bugs item #1428573, was opened at 2006-02-09 19:37 Message generated for change (Comment added) made by gljosh You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=642714&aid=1428573&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: tallow Group: v2.0 Status: Open Resolution: None Priority: 5 Submitted By: gljosh (gljosh) Assigned to: Derek (derekc) Summary: tallow -s crashes Initial Comment: I am using tallow to dump the WIX code for an ActiveX control. When I run tallow -s on the file I get the following: Microsoft (R) Windows Installer Xml Tool version 0.0.0.0 Copyright (C) Microsoft Corporation 2003. All rights reserved. <Wix xmlns="http://schemas.microsoft.com/wix/2003/01/wi"> <Fragment> <DirectoryRef Id="TARGETDIR"> <Component Id="component0" DiskId="1" Guid="PUT- GUID-HERE"> <File Id="file0" Name="dwshk32.ocx" src="y:\common\thirdparty\desaware\dwshk32.ocx" />Fail ed to SelfReg: y:\common\thirdparty\desaware\dwshk32.ocx System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.DllNotFoundException: Unable to load DLL 'y:\common\thirdparty\desaware\dwshk32.ocx' : Access is denied. (Exception from HRESULT: 0x80070005 (E_ACCESSDENIED)) at DllRegisterServer() --- End of inner exception stack trace --- at System.RuntimeMethodHandle._InvokeMethodFast (Object target, Object[] arguments, SignatureStruct& sig, MethodAttributes methodAttributes, RuntimeTypeHandle typeOwner) at System.RuntimeMethodHandle.InvokeMethodFast (Object target, Object[] arguments, Signature sig, MethodAttributes methodAttributes, RuntimeTypeHandle typeOwner) at System.Reflection.RuntimeMethodInfo.Invoke (Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture, Boolean skipVisibilityChecks) at System.Reflection.RuntimeMethodInfo.Invoke (Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture) at System.Reflection.MethodBase.Invoke(Object obj, Object[] parameters) at Microsoft.Tools.WindowsInstallerXml.Tools.Tallow.Tallo wMain.DynamicPInvoke(String dll, String entryPoint, Type returnType, Type[] parameterTypes, Object[] parameterValues) at Microsoft.Tools.WindowsInstallerXml.Tools.Tallow.Tallo wMain..ctor(String[] args) </Component> </DirectoryRef> </Fragment> </Wix> The OCX in question resides in ClearCase, but other OCX files in the same directory work just fine. If I copy the file to say D:\dwshk32.ocx and run tallow on it at that location, it too works just fine. Unfortunately I need it to work against the ClearCase location so I can script the install generation in as part of our build process. I downloaded the tallow source and took a look. It appears as if it is the call to LoadLibraryEx. If I change the "flags" paramter from 8 to 2, that call works but then the call to DynamicPInvoke fails with the same "Access Denied" message. Help!! ---------------------------------------------------------------------- >Comment By: gljosh (gljosh) Date: 2006-03-22 14:17 Message: Logged In: YES user_id=1398354 It is still broken. Here is the output from tallow: Microsoft (R) Windows Installer Xml Tool version 2.0.3719.0 Copyright (C) Microsoft Corporation 2003. All rights reserved. <Wix xmlns="http://schemas.microsoft.com/wix/2003/01/wi"> <Fragment> <DirectoryRef Id="TARGETDIR"> <Component Id="component0" DiskId="1" Guid="PUT-GUID- HERE"> <File Id="file0" Name="dwshk32.ocx" src="j:\Common\thirdparty\desaware\dwshk32.ocx" /> tallow.exe : fatal error TLLW0000: Index (zero based) must be greater than or equal to zero and less than the size of the argument list. Stack Trace: at System.Text.StringBuilder.AppendFormat (IFormatProvider provider, String format, Object[] args) at System.String.Format(IFormatProvider provider, String format, Object[] args) at System.String.Format(String format, Object arg0, Object arg1) at Microsoft.Tools.WindowsInstallerXml.Tools.Tallow.TallowMain ..ctor(String[] args) at Microsoft.Tools.WindowsInstallerXml.Tools.Tallow.Main (String[] args) ---------------------------------------------------------------------- Comment By: Derek (derekc) Date: 2006-03-22 02:24 Message: Logged In: YES user_id=518766 Is this still broken? ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=642714&aid=1428573&group_id=105970 ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 _______________________________________________ WiX-devs mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/wix-devs
