Re: [WiX-users] help with Tallow.exe error on Vista

2007-01-05 Thread Mike Dimmick
Debug your self-reg code and work out where it's returning E_FAIL. Yes, I
know this is nasty.

 

-- 

Mike Dimmick

 

  _  

From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Dan Hoeger
Sent: 04 January 2007 14:06
To: Peterson, Joel; Mike Dimmick; wix-users@lists.sourceforge.net
Subject: Re: [WiX-users] help with Tallow.exe error on Vista

 

I've got it marked as run as administrator and I'm running it from an admin
console window.

 

Is there something else I can do?

 

Thanks,

 

Dan

 

From: Peterson, Joel [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, January 03, 2007 6:09 PM
To: Mike Dimmick; Dan Hoeger; wix-users@lists.sourceforge.net
Subject: RE: [WiX-users] help with Tallow.exe error on Vista

 

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

 mailto:[EMAIL PROTECTED] [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\CrmFileListtallow.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.DynamicPInvoke(S
tring 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.phpp=sourceforgeCID=DEVDEV___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] help with Tallow.exe error on Vista

2007-01-03 Thread Peterson, Joel
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\CrmFileListtallow.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.phpp=sourceforgeCID=DEVDEV___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] help with Tallow.exe error on Vista

2006-12-21 Thread Rob Mensching
Well, it certainly is possible there is something in Vista that confused 
tallow's registry redirection code.  There have been plenty of problems in that 
area (it's a funky little feature that causes lots of weird side-effects).  At 
this point, you'd have to debug the selfreg of your OCX a little bit to 
understand why it is failing under tallow (probably some redirected registry 
key is missing).

From: Dan Hoeger
Sent: Thursday, December 21, 2006 08:12
To: Rob Mensching; wix-users@lists.sourceforge.net
Subject: RE: [WiX-users] help with Tallow.exe error on Vista

I've run across several files with this issue in tallow on Vista but I can 
register them with regsvr32 on Vista just fine.

From: Rob Mensching
Sent: Thursday, December 21, 2006 10:10 AM
To: Dan Hoeger; wix-users@lists.sourceforge.net
Subject: RE: [WiX-users] help with Tallow.exe error on Vista

It appears the OCX does not like Vista.

From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Dan Hoeger
Sent: Thursday, December 21, 2006 08: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\CrmFileListtallow.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.DynamicPInvoke(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.phpp=sourceforgeCID=DEVDEV___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] help with Tallow.exe error on Vista

2006-12-21 Thread Mike Dimmick
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\CrmFileListtallow.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.DynamicPInvoke(S
tring 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.phpp=sourceforgeCID=DEVDEV___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] help with Tallow.exe error on Vista

2006-12-21 Thread Dan Hoeger
I am running under an Administrator console window and I am able to register 
the same component with regsrv32 from the same console

From: Mike Dimmick [mailto:[EMAIL PROTECTED]
Sent: Thursday, December 21, 2006 10: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\CrmFileListtallow.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.DynamicPInvoke(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.phpp=sourceforgeCID=DEVDEV___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users