I am trying to use http://nsis.sourceforge.net/Two_inst..._one_installer
as a basis, so I have created the SectionGroups, but i just want to install everything in that sectiongroup, what code do I need just to run that sectiongroup.
Calling SectionGroups from Functions
6 posts
To only run the sections in your SectionGroup you have to ensure those are the only ones visible. I'm pretty sure the SectionGroup itself will only show if it has visible sections inside it. Therefore with my code, you want to set the PROG2_StartIndex to the first section in the group and PROG2_EndIndex to the last.
Stu
Stu
The problem I am having now is that the everything is being installed on the first page, It creates 2 folders, then proceeds to the next page. I am going to attach my file, but please understand I am by no means, have a great understanding of what I am doing.
Thank you for helping.
Thank you for helping.
You are specifying the SectionGroup for your PROG1/2_StartIndex defines. Try the first section as I said.
Stu
Stu
Ok i changed it, but it still installs all of the files on the first page. Here is the updated version as well
Hey Afrow UK, I got it to work using an if statement in the Sections, and do a strcmp if its not the correct section to jump to end of the section. I am not sure if that is the correct way to do that, but it works