I am creating an installer using NSIS. I want to detect whether user has installed correct version of Wireshark in his/her system or not. e.g. version 1.10.8. If this version is installed, then installer should proceed otherwise it should abort. I have created a basic code as shown below but don't know about how to detect the correct version. Following is my code:
I also want to copy one script file to location like “C:\Program Files\Wireshark\Plugins” as per Wireshark installed version. How can I accomplish this. Any help would be greatly appreciated. Thanks asked 09 Aug ‘14, 04:10 Awesome edited 09 Aug ‘14, 04:10 |
One Answer:
Please check the original NSIS script for Wireshark.
That file contains code to check the version of the installed package and also code to copy a certain file. You can use that as an example. Furthermore, please read the NSIS docs. Regards answered 10 Aug '14, 07:06 Kurt Knochner ♦ edited 10 Aug '14, 07:07 |