Wintellect Blogs

Paraffin 1.03 – Couple of Bug Fixes

19 Apr , 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.


  • http://www.dilas.com.br Anonymous

    Thanks a lot for this useful tool !

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

    =)

  • jrobbins

    Dilas,

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

    Thanks!
    John Robbins

  • Anonymous

    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.

  • jrobbins

    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

  • jrobbins

    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