Automatic account creation is now enabled. Captcha authentication required for account creation and editing unless you are trusted here.

Paraffin

From WiX Wiki at MindCapers

Jump to: navigation, search
Question

I'm new to Wix using 2.0 since it is tagged as stable and is documented fairly well.

Is there a way to get Tallow to generate a component Id and File Id based on the root of the name attribute of the File element?

E.g. instead of....

       <Component Id="component2" DiskId="1" Guid="PUT-GUID-HERE">
         <File Id="file2" Name="c31112a1.tif" Source="c31112a1.tif" />
       </Component>

I am hoping for...

       <Component Id="component_c31108a1" DiskId="1" Guid="PUT-GUID-HERE">
         <File Id="file_c31108a1" Name="c31108a1.tif" Source="c31108a1.tif"

/>

       </Component>

This will enable me to keep my Component IDs unique across multiple installers.

Response

I wrote a tool, PARAFFIN, that will do exactly that.

http://www.wintellect.com/cs/blogs/jrobbins/archive/2007/10/18/wix-hints -for-new-users-part-1-of-3.aspx http://www.wintellect.com/cs/blogs/jrobbins/archive/2007/10/19/wix-the-p ain-of-wix-part-2-of-3.aspx http://www.wintellect.com/cs/blogs/jrobbins/archive/2007/10/21/wix-a-bet ter-tallow-paraffin.aspx

Hope it helps!

John Wintellect http://www.wintellect.com

Personal tools