NSIS (Nullsoft Scriptable Install System) code to create an installer and to register an URL.
-
Install NSIS installer
-
Click on compile script
-
Put the above script given
-
you can change the path of the URL registry if you want. You can find the path under the comment where registry path has been put down.
-
For test whiteboard.exe file is included. You can add more files if you want.
-
Make sure to have those files in the same folder where script is when creating installer.
-
Put the uninstall url registry path if you want under install url registry section.
-
Test the above script using the given webpage - https://github.com/Chaitanyassr/AppopnerURLRegistry/
-
NOTE - a test exe and installer is given in the repo.