I've been trying to make a launcher for KVIrc (its an open-source IRC client), but having problems. Firstly, so everyone knows what I did, I installed the program first onto my computer, made a copy of the program folder, then uninstalled it. When you run it for the first time it comes up with a Config wizard in which you select a IRC nickname (which can be changed later), the places you want to put its config files and downloads, and some other things. After that whenever it runs, it looks for its .ini file in your Windows folder which which stores the location of your config files. In fact if it can't find that ini file it comes up with the wizard again.
Now I had a look on the forum and found the handy PAT. After setting up my portable NSIS (which I have no knowledge in) I had a go at editting the template to do everything, but I didn't know how to make it look somewhere else for that ini file or how to make it go into the windows folder and remove it if required. As far as I got was making a launcher that just opened the progam's exe and nothing else. Also if I could store that somehow on my flash drive, I don't know how to make it look for a relative directory.
Sorry for my questions (and I'm a bit tired so it might not make perfect sence), I just have run out of ideas of how to fix this (I've been trying for a few hours).