When I last regasmed anything, I was using Wix2 and the tallow tool but the
process should apply to heat too. 

Regasm /regfile doesn't create type lib, so use tlbexp to create a type lib. 
Use <typelib> elements to register the type lib.
Use regasm /regfile to create a registration file.
Use heat to convert the registration file to <registryvalues> in wix source
code.
In the wix source code, replace any codebase (or other) paths with the
[SOMEPROPERTY] syntax. (Normally, you'd set the paths to [#DLL File ID].)

Ideally you should harvest from a machine that's as clean as possible. You
can set SOMEPROPERTY at install time to the full dll path.

-----Original Message-----
From: Christian Hausknecht [mailto:chauskne...@beracom.de] 
Sent: 29 August 2012 16:44
To: General discussion for Windows Installer XML toolset.
Subject: [WiX-users] To regasm or to not regasm...

Hello folks,

me again :-D

The next problem I must solve requires some experience that I do not have, so
I hope I can get good advice as usual from here :)

Base problem is quite easy: I need to register some DLLs during installation
process.

But my initial situation is like this:
I do not install the DLLs on the local system! They are already located in a
mounted net drive (is it called like this in the Windows-World?). The proper
location can be different on every system, so one might have access to it
like this "X:\foo\bar\bin\MyDLL.dll" some other might have a different drive
name.  So the path to the dll differs.

My question is now: Is it possible to use ``heat`` to harvest the information
*once* from the build-server and integrate them into my wix-project as usual?
That is the way Rob mentioned here: http://stackoverflow.com/a/1397481

But is that an option for my situation? Is the path something that affects
the registration? And is it possible just to keep some parts (e.g.
TypeLib-Part?!?) from the heat-output, as I do not want to install the dll
locally? So can I just "register" the dlls with wix or is there always an
installation process on top? And if so, what "parts" do I need?

If all else fails I think I just have to call ``regasm`` from a CustomAction
- that should not be the problem to implement. But as Rob mentioned, it is
perhaps not a good solution. So if it is possible to solve this with "plain"
wix, I would definitely appreciate that.

I hope it is understandable for you, sorry my English is not so good :(

If something is still confusing or not sufficiently explained, please let me
know. If not, please help me :)


Best regards,


Mit freundlichen Grüßen

Christian Hausknecht
Entwicklung

BeraCom
Beratung und Software-Entwicklung GmbH & Co. KG Weidestr. 134, 22083 Hamburg
T: +49 (0)40 547 241 - DW
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, 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.

-----------------------------------------------------------------------------
-
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and threat
landscape has changed and how IT managers can respond. Discussions will
include endpoint security, mobile security and the latest in malware threats.
http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users
SDL PLC confidential, all rights reserved.
If you are not the intended recipient of this mail SDL requests and requires 
that you delete it without acting upon or copying any of its contents, and we 
further request that you advise us.
SDL PLC is a public limited company registered in England and Wales.  
Registered number: 02675207.
Registered address: Globe House, Clivemont Road, Maidenhead, Berkshire SL6 7DY, 
UK.


------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to