Re: [WiX-users] Problem with registering COM dll

2007-08-07 Thread Mike Dimmick
In general, you should use [#fileid] rather than constructing a string based
on TARGETDIR or INSTALLDIR, if you're installing the file you're
referencing.

 

Here, however, the .NET Framework is expecting a URL, using the file:
scheme.

 

-- 

Mike Dimmick

 

  _  

From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Daryn Mitchell
Sent: 06 August 2007 23:47
To: 'Ahn Ahn Liu'; wix-users@lists.sourceforge.net
Subject: Re: [WiX-users] Problem with registering COM dll

 

I see that the use of [INSTALLDIR] in the registry entry - perhaps edited by
hand? - does not match the the TARGETDIR DirectoryRef.

This is not guaranteed to be an error, e.g. if you've ensured that the two
properties are equal, but it seems fragile.

You can check the installed registry entries to see if they have the full
path to WelcomeCOM.dll, or just the filename alone, to know if this is
causing an error.

 

Daryn.

 

  _  

From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Ahn Ahn Liu
Sent: Monday, August 06, 2007 3:34 PM
To: wix-users@lists.sourceforge.net
Subject: [WiX-users] Problem with registering COM dll

 

I'm trying to register a COM component and followed the instruction on the
tutorial - running tallow -c WelcomeCOM.dll.

 

However, it does not appear to be successfully registering the object.

 

The tallow outputs:

 

Wix xmlns=http://schemas.microsoft.com/wix/2006/wi;

  Fragment

DirectoryRef Id=TARGETDIR

  Component Id=component0 DiskId=1
Guid=A8D11ADD-9C2B-48ca-B666-B930D9F932E0

File Id=file0 Name=WELCOM_1.DLL LongName=WelcomeCOM.dll
Source=WelcomeCOM.dll /

...

Registry Root=HKCR
Key=CLSID\{20D0E68E-393C-11DC-8314-0800200C9A66}\InprocServer32
Name=CodeBase Value=[INSTALLDIR]WelcomeCOM.dll Type=string /

...

Registry Root=HKCR
Key=CLSID\{20D0E68E-393C-11DC-8314-0800200C9A66}\InprocServer32\1.0.0.0
Name=CodeBase Value=[INSTALLDIR]WelcomeCOM.dll Type=string /

...

  /Component

/DirectoryRef

  /Fragment

/Wix

 

 

Any suggestion?

-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now   http://get.splunk.com/___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Problem with registering COM dll

2007-08-06 Thread Daryn Mitchell
I see that the use of [INSTALLDIR] in the registry entry - perhaps edited by
hand? - does not match the the TARGETDIR DirectoryRef.

This is not guaranteed to be an error, e.g. if you've ensured that the two
properties are equal, but it seems fragile.

You can check the installed registry entries to see if they have the full
path to WelcomeCOM.dll, or just the filename alone, to know if this is
causing an error.

 

Daryn.

 

  _  

From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Ahn Ahn Liu
Sent: Monday, August 06, 2007 3:34 PM
To: wix-users@lists.sourceforge.net
Subject: [WiX-users] Problem with registering COM dll

 

I'm trying to register a COM component and followed the instruction on the
tutorial - running tallow -c WelcomeCOM.dll.

 

However, it does not appear to be successfully registering the object.

 

The tallow outputs:

 

Wix xmlns=http://schemas.microsoft.com/wix/2006/wi;

  Fragment

DirectoryRef Id=TARGETDIR

  Component Id=component0 DiskId=1
Guid=A8D11ADD-9C2B-48ca-B666-B930D9F932E0

File Id=file0 Name=WELCOM_1.DLL LongName=WelcomeCOM.dll
Source=WelcomeCOM.dll /

...

Registry Root=HKCR
Key=CLSID\{20D0E68E-393C-11DC-8314-0800200C9A66}\InprocServer32
Name=CodeBase Value=[INSTALLDIR]WelcomeCOM.dll Type=string /

...

Registry Root=HKCR
Key=CLSID\{20D0E68E-393C-11DC-8314-0800200C9A66}\InprocServer32\1.0.0.0
Name=CodeBase Value=[INSTALLDIR]WelcomeCOM.dll Type=string /

...

  /Component

/DirectoryRef

  /Fragment

/Wix

 

 

Any suggestion?

-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now   http://get.splunk.com/___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Problem with registering COM dll

2007-08-06 Thread Ahn Ahn Liu
It looks like it failed even before that as I don't even seen the 
CLSID-20DOE... entry in the registry.

Here is the main WXS file that the fragment is compiled with - maybe that will 
show what the real reason is:

?xml version=1.0 encoding=UTF-8?
Wix xmlns=http://schemas.microsoft.com/wix/2006/wi;
Product Id=d3ce8f84-5a14-4dcd-8530-fdcfe3cac8c9 Name=Valuebox 
Prerequisite Language=1033 Version=1.0.0.0 Manufacturer=Microsoft 
UpgradeCode=6b148c86-7fc1-4ffe-97f5-b8e0ca36f478
Package InstallerVersion=200 Compressed=yes 
Id=64349d0a-7196-459e-9d15-c632d28becd7/

  Media Id=1 Cabinet=VBPrereq.cab EmbedCab=yes /

  Directory Id=TARGETDIR Name=SourceDir
Directory Id=ProgramFilesFolder
  Directory Id=INSTALLDIR Name=Microsoft ValueBox 1.0
Component Id='SetupUIComponent' 
Guid='AC24D38E-96E4-4128-BF73-C39201822004'
  File Id='SetupUI' Name='WelcomeCOM.dll' DiskId='1' 
Source='WelcomeCOM.dll'
  /File
/Component
  /Directory
/Directory
  /Directory

Feature Id=ProductFeature Title=Main Feature Level=1
  ComponentRef Id=SetupUIComponent /
/Feature

  UIRef Id=WixUI_Mondo /
  UIRef Id=WixUI_ErrorProgressText /
/Product
/Wix

From: Daryn Mitchell [mailto:[EMAIL PROTECTED]
Sent: Monday, August 06, 2007 3:47 PM
To: Ahn Ahn Liu; wix-users@lists.sourceforge.net
Subject: RE: [WiX-users] Problem with registering COM dll

I see that the use of [INSTALLDIR] in the registry entry - perhaps edited by 
hand? - does not match the the TARGETDIR DirectoryRef.
This is not guaranteed to be an error, e.g. if you've ensured that the two 
properties are equal, but it seems fragile.
You can check the installed registry entries to see if they have the full path 
to WelcomeCOM.dll, or just the filename alone, to know if this is causing an 
error.

Daryn.


From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Ahn Ahn Liu
Sent: Monday, August 06, 2007 3:34 PM
To: wix-users@lists.sourceforge.net
Subject: [WiX-users] Problem with registering COM dll

I'm trying to register a COM component and followed the instruction on the 
tutorial - running tallow -c WelcomeCOM.dll.

However, it does not appear to be successfully registering the object.

The tallow outputs:

Wix xmlns=http://schemas.microsoft.com/wix/2006/wi;
  Fragment
DirectoryRef Id=TARGETDIR
  Component Id=component0 DiskId=1 
Guid=A8D11ADD-9C2B-48ca-B666-B930D9F932E0
File Id=file0 Name=WELCOM_1.DLL LongName=WelcomeCOM.dll 
Source=WelcomeCOM.dll /
...
Registry Root=HKCR 
Key=CLSID\{20D0E68E-393C-11DC-8314-0800200C9A66}\InprocServer32 
Name=CodeBase Value=[INSTALLDIR]WelcomeCOM.dll Type=string /
...
Registry Root=HKCR 
Key=CLSID\{20D0E68E-393C-11DC-8314-0800200C9A66}\InprocServer32\1.0.0.0 
Name=CodeBase Value=[INSTALLDIR]WelcomeCOM.dll Type=string /
...
  /Component
/DirectoryRef
  /Fragment
/Wix


Any suggestion?
-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now   http://get.splunk.com/___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users