Updated info 2012-03-23 00:37
I am looking for some information. I am working on an app, I would like to know whether what I want to do requires a complete custom launcher, a custom.nsh file or if it can be done using the existing structure?
OK I will try to be clear as possible with my needs.
I have an ini file that will be in the Data\settings folder
In the ini there will be an entry FirstRun=Y
I need to read that entry, if it =Y then I wish to bypass the ProgramExecutable and Launch a different Config.exe file which will allow the user to setup the program. (It actually writes to the same ini file)
Also It would need to read the Path=PTB and replace the PTB with value found in the ini file created by the installer (the one PA creates to handle drive letter changes)
I would also like it to read the value of the language setup string and write that to the ini file
Then it would need to launch the Config.exe
Once run the launcher would need to write to the ini file and change the value of FirstRun=Y to FirstRun=N
I hope that his makes sense because I am even starting to get confused.
Ok so now that his has all been accomplished The Launcher would then just read then ini file see that FirstRun=N and proceed to run the regular launcher (hopefully this could be done otherwise I would need a complete custom.nsi file as I wanted to utilize things like drive letter changes, etc with the PA Launcher) That part I know how to do with PA Launcher but not necessarily with a custom launcher.
I hope that this makes sense what I want, I guess the big question from start would be is this even a plausible idea?
So in a nutshell Can PA Launcher do this out of the box? If so how?
Can I just write a custom.nsh file to handle the first run stuff?
Do I need to write a total custom launcher and compile it myself?