Hi Mike.

Thanks for the detailed answer (though it seems to drift off-topic).

"Mike Dimmick" <[EMAIL PROTECTED]> writes:

> Copy and paste into a .wxs file that describes your component,
> underneath the appropriate <Component> element. Tallow is not
> intended for use in automated build processes.

:-(

> You need to keep your GUIDs stable, so that you don't need to keep
> generating the .reg file. You can do this either using the [Guid]
> attribute on each class and interface, or the [ComCompatibleVersion]
> attribute on the assembly.

I planned to use Guid, however I find [ComCompatibleVersion] much more
attractive. Any way it means, that whenver I make a new uncompatible
version, I am forced to do manual brainless work (copy paste it into the
appropriate <Component> element). I have expected to be able to avoid
that for the standard reasons:
It's time consuming.
It does not require intelligence.
It's error prone; In half-a-year, when I actually do make an
uncompatible version; there is 90% chance that I forget the
tallow.exe+copy/paste step and spend a full day, figuring out why the
installation package is not working probably.

> .NET, by default, computes the GUIDs to use from a hash of the
> assembly identity (assembly name, version, culture, public key
> token) and the class name. This means that when the version number
> changes, the GUIDs also change. [ComCompatibleVersion] tells the
> Framework to use a different version number in the hash calculation.

When you write .NET, you probably mean: regasm.exe/tlbexp.exe, right?

Jarl

-- 
Jarl Friis
Softace ApS
Omøgade 8, 2.sal
2100 København Ø.
Denmark
Phone:  +45 26 13 20 90
E-mail: [EMAIL PROTECTED]
LinkedIn: https://www.linkedin.com/in/jarlfriis


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