First let me say thanks SOOO much for making the 1.4 template, I have used it to create several launchers.
I have a few suggestions/requests for ver 1.5
Instead of copying the users current reg and folders etc to the usb drive, can they be renamed to file.ext.portbak, folder.portbak, and regkey.portbak or something similiar? this would be a lot faster than copying them to the flash drive.
This next request is a significant one I realize, but I think it would really be helpful to "intermediate" users who want to customize the script.
Could you change the "layout" of the template to the following...
Section "Main" Call Init ; Absolute first things to do, current Init Function Call InitReg ; Backup current reg, apply portable reg Call InitFolders ; rename current folders, apply portable folders Call InitFiles ; rename current files, apply portable files Call InitIni ; apply ini settings Call InitApp ; run app Call CleanFiles ; copy portable files, delete portable files, rename original files Call CleanFolders ; copy portable folders, delete portable folders, rename original folders Call CleanReg ; copy reg, restore original reg Call Clean ; Absolute last things to do, current Cleanup Function SectionEnd Function Init FunctionEnd Function InitReg FunctionEnd Function InitFolders FunctionEnd Function InitFiles FunctionEnd Function InitIni FunctionEnd Function InitApp FunctionEnd Function CleanFiles FunctionEnd Function CleanFolders FunctionEnd Function CleanReg FunctionEnd Function Clean FunctionEnd
I realise that combining the pre and post functions is probably a better way of doing things. But seperating it out will help "intermediate" users follow the logic and learn NSIS.
Beginners aren't going to do more than change the very top section with the Constants, and "Advanced" users would really be able to fully write their own scripts. But "Intermediate" users I think would be better able to follow the logic and make more customizations if it were formated this way.
Thanks In Advance.