I found Klonk's template to be so useful I decided to try my hand at it.
Mainly to help me learn NSIS better.
As of 1.3 it should be a fairly functional template.
History
ALT 1.4
-- Added function to replace drive letter in files with portable drive letter
ALT 1.3
-- Added file and folder handling
ALT 1.2
-- "fixed" the warning message when REGKEYS wasn't used.
-- Added a kill process option, change ENABLEKILL to "yes" then passing -exit as an argument will kill the process.
-- Added the framework for close window option, same as the kill process option but more graceful, need to figure out the WM_CLOSE though to finish it.
ALT 1.1.1
-- Fixed subsequent launch in InitApp (left it out, oops)
ALT 1.1
-- Added registry handling and subsequent launch handling.
Registry entries are moved to {entry}_BAK in the registry rather than copied to a reg file on the portable drive, saving write cycles and write time.