I want to have a page that asks the user, “How many instances of this software do you want to install?” (1-10). Then the next page would be choosing the install location which would default under /Program Files/CompanyName/SoftwareName. All the different instances would fall under that SoftwareName folder so it would be like
Software Name
/Instance1
/Instance2
/Instance3
I’m having trouble with generating these instance folders according to the user input and I can’t seem to populate them. The end goal would be to modify json files for every specific instance to make separate ports for each software when launching a windows service.
The [Files] section seems to be the only way I have created multiple instance folders, but if I do that I am just hardcoding a set amount of instance folders.
Kenneth Lao is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.