logo       

[ wix-Bugs-1428573 ] tallow -s crashes: msg#00066

windows.devel.wix.devel

Subject: [ wix-Bugs-1428573 ] tallow -s crashes

Bugs item #1428573, was opened at 2006-02-09 19:37
Message generated for change (Tracker Item Submitted) made by Item Submitter
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: Nobody/Anonymous (nobody)
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!!


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

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: Splunk Inc. Do you grep through log files
for problems? Stop! Download the new AJAX search engine that makes
searching your log files as easy as surfing the web. DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642


<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise