I've had all sorts of issues getting OCX to self-register on Vista, and
eventually beat them out by making sure the installer was running
elevated. You're most likely correct, Mike. I bet tallow.exe needs that
manifest. 

 

Joel Peterson

Quality Engineer

[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]> 

 

From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Mike
Dimmick
Sent: Thursday, December 21, 2006 8:38 AM
To: 'Dan Hoeger'; wix-users@lists.sourceforge.net
Subject: Re: [WiX-users] help with Tallow.exe error on Vista

 

Have you tried running it from an elevated command prompt? That
sometimes helps with COM registrations (despite the fact that the
'canary' keys that HKCR, etc, are redirected to should be editable by a
non-admin user, I found that a low-privileged account didn't always work
under XP).

 

I wonder if Vista's own registry redirection feature for legacy
applications gets in the way here. Does tallow have a manifest to
specify asInvoker privilege level?

 

-- 

Mike Dimmick

 

________________________________

From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Dan Hoeger
Sent: 21 December 2006 16:07
To: wix-users@lists.sourceforge.net
Subject: [WiX-users] help with Tallow.exe error on Vista

 

Does anyone know off hand why this would fail on Vista?

This same call works fine on 2003 server.

 

Thanks,

 

Dan

 

Source\Common\CrmFileList>tallow.exe -s Drop2Ctrl.ocx

Microsoft (R) Windows Installer Xml Tool version 2.0.3929.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="DROP2C_1.OCX" LongName="Drop2Ctrl.ocx"
src="d:\enlistment\fwm3\Source\Common\CrmFileList\Drop2Ctrl.ocx"
/>Failed to SelfReg: Drop2Ctrl.ocx

 System.Reflection.TargetInvocationException: Exception has been thrown
by the target of an invocation. --->
System.Runtime.InteropServices.COMException (0x80004005): Error HRESULT
E_FAIL has been returned from a call to a COM component.

   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
Microsoft.Tools.WindowsInstallerXml.Tools.Tallow.TallowMain.DynamicPInvo
ke(String dll, String entryPoint, Type returnType, Type[]
parameterTypes, Object[] parameterValues)

   at
Microsoft.Tools.WindowsInstallerXml.Tools.Tallow.TallowMain..ctor(String
[] args)

 

        <Registry Root="HKCR"
Key="CLSID\{D5DE8D20-5BB8-11D1-A1E3-00A0C90F2731}" Value="VBPropertyBag"
Type="string" />

        <Registry Root="HKCR"
Key="CLSID\{D5DE8D20-5BB8-11D1-A1E3-00A0C90F2731}\InProcServer32"
Value="C:\Windows\system32\MSVBVM60.DLL" Type="string" />

        <Registry Root="HKCR"
Key="CLSID\{D5DE8D20-5BB8-11D1-A1E3-00A0C90F2731}\InProcServer32"
Name="ThreadingModel" Value="Apartment" Type="string" />

      </Component>

    </DirectoryRef>

  </Fragment>

</Wix>

-------------------------------------------------------------------------
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

Reply via email to