I'm working on an NSIS script in which I have two directory pages. One gets the directory for the program install, and one gets the directory for putting any data.
The reason for this, is that with some of the control issues in windows 7 and vista involving the Program Files folder, I want the data to be placed outside of the Program Files folder but still give the user the option to put it where they want.
I have the version plugin for NSIS, and I understand how to use that. My issue is that when someone is installing on XP or earlier I don't want to give them the options for the data.
How can I show a directory page based on what OS the user is running?