tags:

views:

223

answers:

2

I am using an NSIS script to create an installer for my Java program. My executeable jar is launched from a BAT file. The installer works fine, but I want a specific file type (just for an example ".zip") to always use my app as the default. Right now if I double click the file, I have to browse into "Program Files > Company Name > bat file" and specify to always use this BAT file to launch this file type.

Is there a way to specify this in an NSIS script so the user doesnt have to browse and set that always use checkbox? If so, how?

Thanks in advance for any help you can provide.

A: 

Use the helper macros from the nsis wiki, or just handle it on your own with the registry functions using MSDN as your guide

Anders
A: 

I prefer the other macro, more options.

hemisphire