Re: [WiX-users] How to deal with heat output for registering COM components?

2014-09-26 Thread Jeremiahf
So you are trying to harvest it with heat as a single file? I'm not sure I
follow. Can you give a little more info?

From "If I integrate that fragment into my main-wxs-file and build the
solution" it sounds like you are trying to include it as a component but
not have it in a harvesty group wxs file and have it as a single component?
You want to something specific with it?

On Fri, Sep 26, 2014 at 8:51 AM, Neil Sleightholm 
wrote:

> Not sure about .NET COM components but I would run heat against the DLL
> not the typelib,
>
> Neil
>
> -Original Message-
> From: Christian Hausknecht [mailto:chauskne...@beracom.de]
> Sent: 26 September 2014 11:05
> To: General discussion for Windows Installer XML toolset.
> Subject: [WiX-users] How to deal with heat output for registering COM
> components?
>
> Hello folks,
>
> last time I dealt with extracting registering informations with heat is
> about two years ago and I used wix 3.6 for that. Unfortunately I lost the
> command that I used to extract those informations :(
>
> Now I have a new .NET component, that I need to register on a client
> workstation with my MSI installer.
>
> First I switched to wix 3.8  - as it seems plausible to me to get up to
> date.
>
> So I tried to use heat again ...
> "C:\Program Files (x86)\WiX Toolset v3.8\bin\heat.exe" file
> Bestellschnittstellen.tlb -out Bestellschnittstellen_reg.wxs -srd -gg
> -sfrag -suid -cg Bestellschnittstellen_CG
>
> ... and arrived to get a file like this one (shortened version):
>
> 
> http://schemas.microsoft.com/wix/2006/wi";>
> 
> 
> 
> 
> 
>  Directory="TARGETDIR" Guid="{D052E472-3A43-4834-8947-67FC72350A90}">
>  Source="SourceDir\Bestellschnittstellen.tlb" />
>  Key="Interface\{0780A3A7-AB94-3B8C-869C-598DA74B53DD}\ProxyStubClsid32"
> Value="{00020424---C000-0046}" Type="string" Action="write"
> />
>  Key="Interface\{0780A3A7-AB94-3B8C-869C-598DA74B53DD}\TypeLib"
> Value="{74E0DC9F-AE47-47D4-A0D4-CACC527FCD4C}" Type="string" Action="write"
> />
> /
>  Key="TypeLib\{74E0DC9F-AE47-47D4-A0D4-CACC527FCD4C}\1.0\0\win32"
> Value="[#Bestellschnittstellen.tlb]" Type="string" Action="write" />
>  Key="TypeLib\{74E0DC9F-AE47-47D4-A0D4-CACC527FCD4C}\1.0"
> Value="Bestellschnittstellen" Type="string" Action="write" />
> 
> 
> 
> 
>
> My former files for registration looked like this:
>
> 
> http://schemas.microsoft.com/wix/2006/wi";>
> 
> 
>  Directory="TARGETDIR" Guid="{D15499E3-395C-418B-9ED3-264138F5D0EE}"
> KeyPath="yes">
> 
>  Type="string" />
> 
> 
>  Directory="TARGETDIR" Guid="{2A157D0D-1A4E-4E04-8EED-64491B5609B4}"
> KeyPath="yes">
>  Root="HKCR">
>  Value="{6C95A0E3-0C3A-330E-897B-4136BEC814EE}" Type="string" />
> 
> 
> // and so on
>
> So why there is such a difference? Am I doing something wrong or has heat
> changed in the mean time?
>
> And if my "new" attempt is the right thing, how can I deal with the
> tlb-File? If I integrate that fragment into my main-wxs-file and build the
> solution, I get this error:
> Fehler   5 ICE69: 'Bestellschnittstellen.tlb' references
> invalid file.
> J:\Projekte\\Bestellschnittstellen_reg.wxs182
>1 Profi32SQLClient
>
> Sounds plausible as the referencd tlb-File is of course not included into
> the MSI-Project (yet).
>
> So my questions are:
>
> -  Can I achieve to get the second result, that my older attempt
> did produce? And if so, of course *how* can I tune heat to give me that? (I
> would appreciate that, because it worked good and I did not need to provide
> the tlb-file somewhere in the project)
>
> -  If my new attempt is the right way these days, how do I include
> the tlb-file into my msi-project? What is the right / best way to do it?
>
> I hope someone can help me!
>
> Best regards,
>
>
> Christian Hausknecht
> Entwicklung
>
> BeraCom
> Beratung und Software-Entwicklung GmbH & Co. KG Weidestr. 134, 22083
> Hamburg
> T: +49 (0)40 547 241 - 

Re: [WiX-users] How to deal with heat output for registering COM components?

2014-09-26 Thread Neil Sleightholm
Not sure about .NET COM components but I would run heat against the DLL not the 
typelib,
 
Neil

-Original Message-
From: Christian Hausknecht [mailto:chauskne...@beracom.de] 
Sent: 26 September 2014 11:05
To: General discussion for Windows Installer XML toolset.
Subject: [WiX-users] How to deal with heat output for registering COM 
components?

Hello folks,

last time I dealt with extracting registering informations with heat is about 
two years ago and I used wix 3.6 for that. Unfortunately I lost the command 
that I used to extract those informations :(

Now I have a new .NET component, that I need to register on a client 
workstation with my MSI installer.

First I switched to wix 3.8  - as it seems plausible to me to get up to date.

So I tried to use heat again ...
"C:\Program Files (x86)\WiX Toolset v3.8\bin\heat.exe" file 
Bestellschnittstellen.tlb -out Bestellschnittstellen_reg.wxs -srd -gg -sfrag 
-suid -cg Bestellschnittstellen_CG

... and arrived to get a file like this one (shortened version):


http://schemas.microsoft.com/wix/2006/wi";>









/







My former files for registration looked like this:


http://schemas.microsoft.com/wix/2006/wi";>












// and so on

So why there is such a difference? Am I doing something wrong or has heat 
changed in the mean time?

And if my "new" attempt is the right thing, how can I deal with the tlb-File? 
If I integrate that fragment into my main-wxs-file and build the solution, I 
get this error:
Fehler   5 ICE69: 'Bestellschnittstellen.tlb' references invalid 
file.J:\Projekte\\Bestellschnittstellen_reg.wxs
182 1 Profi32SQLClient

Sounds plausible as the referencd tlb-File is of course not included into the 
MSI-Project (yet).

So my questions are:

-  Can I achieve to get the second result, that my older attempt did 
produce? And if so, of course *how* can I tune heat to give me that? (I would 
appreciate that, because it worked good and I did not need to provide the 
tlb-file somewhere in the project)

-  If my new attempt is the right way these days, how do I include the 
tlb-file into my msi-project? What is the right / best way to do it?

I hope someone can help me!

Best regards,


Christian Hausknecht
Entwicklung

BeraCom
Beratung und Software-Entwicklung GmbH & Co. KG Weidestr. 134, 22083 Hamburg
T: +49 (0)40 547 241 - 27
F: +49 (0)40 547 241 - 60
M: chauskne...@beracom.de<mailto:chauskne...@beracom.de>
http://www.beracom.de

=
Kommanditgesellschaft: Sitz Hamburg, RG Hamburg, HRA 90932 Persönlich haftende 
Gesellschafterin: BeraCom Beratung und Software-Entwicklung GmbH Sitz Hamburg, 
RG Hamburg, HRB 64844
Geschäftsführer: Arno Schaefer, Dr. Britta Kahlfuss Diese E-Mail ist 
vertraulich und exklusiv für den/die Adressaten bestimmt. Weiterleitung oder 
Kopieren, auch auszugsweise, darf nur mit ausdrücklicher schriftlicher 
Einwilligung des Absenders erfolgen. In jedem Fall ist sicherzustellen, dass 
keinerlei inhaltliche Veränderungen erfolgen. Der Absender ist von der 
Richtigkeit dieser Mail zum Zeitpunkt ihrer Erstellung überzeugt. Er und/oder 
sein Unternehmen übernimmt jedoch keine Haftung für ihre Richtigkeit.

--
Meet PCI DSS 3.0 Compliance Requirements with EventLog Analyzer Achieve PCI DSS 
3.0 Compliant Status with Out-of-the-box PCI DSS Reports Are you Audit-Ready 
for PCI DSS 3.0 Compliance? Download White paper Comply to PCI DSS 3.0 
Requirement 10 and 11.5 with EventLog Analyzer 
http://pubads.g.doubleclick.net/gampad/clk?id=154622311&iu=/4140/ostg.clktrk
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

--
Meet PCI DSS 3.0 Compliance Requirements with EventLog Analyzer
Achieve PCI DSS 3.0 Compliant Status with Out-of-the-box PCI DSS Reports
Are you Audit-Ready for PCI DSS 3.0 Compliance? Download White paper
Comply to PCI DSS 3.0 Requirement 10 and 11.5 with EventLog Analyzer
http://pubads.g.doubleclick.net/gampad/clk?id=154622311&iu=/4140/ostg.clktrk
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


[WiX-users] How to deal with heat output for registering COM components?

2014-09-26 Thread Christian Hausknecht
Hello folks,

last time I dealt with extracting registering informations with heat is about 
two years ago and I used wix 3.6 for that. Unfortunately I lost the command 
that I used to extract those informations :(

Now I have a new .NET component, that I need to register on a client 
workstation with my MSI installer.

First I switched to wix 3.8  - as it seems plausible to me to get up to date.

So I tried to use heat again ...
"C:\Program Files (x86)\WiX Toolset v3.8\bin\heat.exe" file 
Bestellschnittstellen.tlb -out Bestellschnittstellen_reg.wxs -srd -gg -sfrag 
-suid -cg Bestellschnittstellen_CG

... and arrived to get a file like this one (shortened version):


http://schemas.microsoft.com/wix/2006/wi";>









/







My former files for registration looked like this:


http://schemas.microsoft.com/wix/2006/wi";>












// and so on

So why there is such a difference? Am I doing something wrong or has heat 
changed in the mean time?

And if my "new" attempt is the right thing, how can I deal with the tlb-File? 
If I integrate that fragment into my main-wxs-file and build the solution, I 
get this error:
Fehler   5 ICE69: 'Bestellschnittstellen.tlb' references invalid 
file.J:\Projekte\\Bestellschnittstellen_reg.wxs
182 1 Profi32SQLClient

Sounds plausible as the referencd tlb-File is of course not included into the 
MSI-Project (yet).

So my questions are:

-  Can I achieve to get the second result, that my older attempt did 
produce? And if so, of course *how* can I tune heat to give me that? (I would 
appreciate that, because it worked good and I did not need to provide the 
tlb-file somewhere in the project)

-  If my new attempt is the right way these days, how do I include the 
tlb-file into my msi-project? What is the right / best way to do it?

I hope someone can help me!

Best regards,


Christian Hausknecht
Entwicklung

BeraCom
Beratung und Software-Entwicklung GmbH & Co. KG
Weidestr. 134, 22083 Hamburg
T: +49 (0)40 547 241 - 27
F: +49 (0)40 547 241 - 60
M: chauskne...@beracom.de
http://www.beracom.de

=
Kommanditgesellschaft: Sitz Hamburg, RG Hamburg, HRA 90932
Persönlich haftende Gesellschafterin: BeraCom Beratung und Software-Entwicklung 
GmbH
Sitz Hamburg, RG Hamburg, HRB 64844
Geschäftsführer: Arno Schaefer, Dr. Britta Kahlfuss
Diese E-Mail ist vertraulich und exklusiv für den/die Adressaten bestimmt. 
Weiterleitung oder Kopieren, auch auszugsweise, darf nur mit ausdrücklicher 
schriftlicher Einwilligung des Absenders erfolgen. In jedem Fall ist 
sicherzustellen, dass keinerlei inhaltliche Veränderungen erfolgen. Der 
Absender ist von der Richtigkeit dieser Mail zum Zeitpunkt ihrer Erstellung 
überzeugt. Er und/oder sein Unternehmen übernimmt jedoch keine Haftung für ihre 
Richtigkeit.

--
Meet PCI DSS 3.0 Compliance Requirements with EventLog Analyzer
Achieve PCI DSS 3.0 Compliant Status with Out-of-the-box PCI DSS Reports
Are you Audit-Ready for PCI DSS 3.0 Compliance? Download White paper
Comply to PCI DSS 3.0 Requirement 10 and 11.5 with EventLog Analyzer
http://pubads.g.doubleclick.net/gampad/clk?id=154622311&iu=/4140/ostg.clktrk
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users