Best practice is to use a file ID Formatted value, in this example you would
use [#file_0].
--
Mike Dimmick
_____
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Peter Jaworski
Sent: 12 February 2008 14:43
To: [email protected]
Subject: [WiX-users] Tallow output and incorrect registration absolute path
In WiXv2 tallow's output looks like this:
<Component Id="comp_0" DiskId="1" Guid="GUID">
<File Id="file_0" Name="AttachW.ocx" Source=".\Libs\AttachW.ocx" />
...
<Registry Root="HKCR"
Key="CLSID\{909B6A38-6A42-11D2-A00E-000000000000}\InprocServer32"
Value="C:\WiXSetups\DB\Libs\AttachW.ocx" Type="string" />
....
</Component>
After installation in IDE's references I can find registered component, but
its registration path is different (C:\WiXSetups\DB\Libs\AttachW.ocx) than
real localisation after installation: (C:\Program
Files\DB\Libs\AttachW.ocx).
I think that is because tallow has placed not relative path in registration
information. Is there any way to make registration correct, so that path
will change depending on installation localisation.
Can I replace that absolute paths with [INSTALLDIR], will it be working?
Best regards,
Piotr Jaworski
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
WiX-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wix-users