I loved the Portable Application Template that I have seen on the forms here, so I made a program to edit and compile it automatically. There are still bugs, but I got most of them out. Please feel free to tell me what you think. In the spirit of open source, I have also released the code.
Code in Autoit:
http://eyecreate.googlepages.com/portableappcreator.au3
Compiled and packed with NSIS:
http://eyecreate.googlepages.com/pafappmaker.exe
Modified PAF NSIS template(original from - https://portableapps.com/node/2022):
http://eyecreate.googlepages.com/ApplicationPortableTemplate.nsi
________________________
SFX Creator-as mentioned below in comments:
http://eyecreate.googlepages.com/sfxcreator.exe