Skip to content
⌘ NSIS Forum Archive

Install diff program based on windows version

3 posts

PaRaDoXial#

Install diff program based on windows version

Hi...

Can anybody tell me how i can install a different program based on the user's OS version?
PaRaDoXial#
continued...

Right now I'm a bit messed up... I'm thinking JavaScript... then C++, so like i'm thinking of creating a function like if (windowsversion is 1) {
file "this.exe"
exec "this.exe"
}
can anybody help? i'm new to this
Vytautas#
First check the docs for the GetWindowsVersion function. It should explain how to use it. However if you have more questions, post here again.

Vytautas