John Robbins' Blog

Paraffin 1.03 – Couple of Bug Fixes

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.

On Apr 19 2008 3:19 PMBy jrobbins ParaffinWith 5 Comments

Comments (5)

  1. Dilas,

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

    Thanks!
    John Robbins

  2. Hi,

    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.

  3. Loctus,

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

    John Robbins

  4. Loctus,

    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.

    Thanks,
    John Robbins

Leave a Comment

Archives

Tags