Hi, I am new to NSIS and I am writing an installer that needs to check the version of .Net. I have searched the posts and found the script here: http://nsis.sourceforge.net/Get_.NET_Version. I followed the link about version compare to get that function. My problem is I am just not getting how to make it work.
In the example on the Get .Net version there is the !insertmacro command to insert the versioncompare macro but the versioncompare code is not in the example. My question is where do I put it?
If I put the versioncompare code as it is here: http://nsis.sourceforge.net/VersionCompare I get an error.
Any help would be appreciated.
Thanks.
Get .Net version & Version Compare
4 posts
I use a somewhat modified version of a script I found on the NSIS site for .net installs and it works fine.
Go to NSIS main page, select Developer Center.
Click on Functions and Macros
Click on Other Program Handling Functions
Click on DotNet
This script has the version compare built in.
Go to NSIS main page, select Developer Center.
Click on Functions and Macros
Click on Other Program Handling Functions
Click on DotNet
This script has the version compare built in.
Thanks kichik. I got it working now.