Paraffin 1.03 – Couple of Bug Fixes

5 Comments April 19, 2008

Last year I released a tool to help make maintaining WiX 2.0-based installations easier called Paraffin. I've fixed the following two issues:

  1. I was relying on the short name of the file when generating an updated .PARAFFIN file. Sadly, it looks like the short file names are essentially random. I now only rely on the File element, Source attribute when looking for existing files.
  2. I had swapped INSTALLDIR and TARGETDIR when generating the fragment.

Hope you find it useful! Get the latest source code here.


  • Gravatar Image
    dilas April 21, 2008 9:44 PM

    Thanks a lot for this useful tool !

    Im using it to automate setup build with WiX at my company.


  • Gravatar Image
    jrobbins April 21, 2008 11:54 PM


    Excellent! It's always satisfying to hear that my code is useful.

    John Robbins

  • Gravatar Image
    loctus May 6, 2008 2:05 PM


    I posted this before, but I post it here just incase you missed it. This is the last issue that I have before I can switch from Mallow to Paraffin.

    It is great you updated paraffin. Does the fix include directory names that have symbols such as "+" ? Paraffin leaves the "+" symbol when it creates the directory id name.

  • Gravatar Image
    jrobbins May 6, 2008 3:03 PM


    Thanks!! I'll get a new build out this week. Are there any other symbols that I need to convert other than '+'?

    John Robbins

  • Gravatar Image
    jrobbins May 11, 2008 7:05 PM


    I've had a chance to look at this and I'm already removing any characters in the directory name that does not match the regular expression [0-9a-zA-Z_]. That means I'm already turning '+' into '_' in the Directory Id value. Make sure you get the latest Paraffin at the above link. If you have other bugs, please email me: john @ this company's web site.

    John Robbins

Have a Comment?