As the title states, I am trying to change installer options based on if files are already installed. I am attempting the following:
1. Read a list of files to be installed to location. This could be within the original .nsi script itself, but might make it difficult for #3.
2. Retrieve list of files that are already installed to the location by the program. (Add/Remove functionality)
3. Detect what files that are not on list 2 but are on list 1 that are already installed.
4. Show the MUI_PAGE_COMPONENTS page with files on list 3 either a)Not showing as install options or b)Permanently marked to avoid overwriting/erasing the files needed by another program.
I can see how to do 1 and 2, but having difficulties with 3 and 4. I tried using PUSH commands, but there appears to be an upper limit on how many times I can use that in a row... or at least the compiled installer does odd things after the 4-5 POP command I use.
Of course, if you have a different way, I just need to detect already installed files and avoid overwriting existing files.