Heat generates the IDs based off the name of the file. In FileHarvester.cs,
it has:
if (this.setUniqueIdentifiers)
{
file.Id = this.Core.GenerateIdentifier(FilePrefix,
(this.suppressRootDirectory) ? directoryRef.Id : directory.Id,
Path.GetFileName(file.Source));
component.Id = this.Core.GenerateIdentifier(ComponentPrefix,
(this.suppressRootDirectory) ? directoryRef.Id : directory.Id, file.Id);
}
And GenerateIdentifier is:
public static string GenerateIdentifier(string prefix, bool fipsCompliant,
params string[] args)
{
string s = string.Join("|", args);
byte[] bytes = Encoding.Unicode.GetBytes(s);
byte[] array;
if (fipsCompliant)
{
using (SHA1 sHA = new SHA1CryptoServiceProvider())
{
array = sHA.ComputeHash(bytes);
goto IL_53;
}
}
using (MD5 mD = new MD5CryptoServiceProvider())
{
array = mD.ComputeHash(bytes);
}
IL_53:
StringBuilder stringBuilder = new StringBuilder(35, 35);
stringBuilder.Append(prefix);
checked
{
for (int i = 0; i < 16; i++)
{
stringBuilder.Append(array[i].ToString("X2",
CultureInfo.InvariantCulture.NumberFormat));
}
return stringBuilder.ToString();
}
}
--
View this message in context:
http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/Case-Sensitive-dll-name-tp7593117p7593169.html
Sent from the wix-users mailing list archive at Nabble.com.
------------------------------------------------------------------------------
Subversion Kills Productivity. Get off Subversion & Make the Move to Perforce.
With Perforce, you get hassle-free workflows. Merge that actually works.
Faster operations. Version large binaries. Built-in WAN optimization and the
freedom to use Git, Perforce or both. Make the move to Perforce.
http://pubads.g.doubleclick.net/gampad/clk?id=122218951&iu=/4140/ostg.clktrk
_______________________________________________
WiX-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wix-users