I'm using Wix2.0 (4820) and the output produced by tallow -reg is
causing bad behavior when installing.

regcap.exe my.exe

tallow -reg my.reg

This produces the output:


<Registry Root="HKCR" Key="TypeLib\{xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx}\4b.0">
      <Registry Value="My Program" Type="string" />
</Registry>
<Registry Root="HKCR"
Key="TypeLib\{xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx}\4b.0\FLAGS">
      <Registry Value="0" Type="string" />
</Registry>


But, when installing the log file shows that the values are being
written, then overwritten with empty values:

Executing op: 
RegOpenKey(,Key=TypeLib\{xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx}\4b.0,,BinaryType=0,)
Executing op: RegAddValue(,Value=My Program,)
Executing op: RegAddValue(,,)
Executing op: 
RegOpenKey(,Key=TypeLib\{xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx}\4b.0\FLAGS,,BinaryType=0,)
Executing op: RegAddValue(,Value=0,)
Executing op: RegAddValue(,,)


By changing the .wxs file as follows, the registry is updated
properly, and the values are not overwritten:


<Registry Id="regexe22" Root="HKCR"
Key="TypeLib\{xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx}\4b.0" Value="My
Program" Type="string" />
<Registry Id="regexe23" Root="HKCR"
Key="TypeLib\{xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx}\4b.0\FLAGS"
Value="0" Type="string" />


Is this a bug with tallow, or with candle?  Any suggestions on what to
do rather than manually fixing all tallow output?

Thank you,
Jon

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