Skip to content
⌘ NSIS Forum Archive

make registry entry only run from command prompt with arugument

3 posts

newdud#

make registry entry only run from command prompt with arugument

I need to make registry entry only when i run the installer with command line argument. If i run the installer without argument, i should not make the registry entry.

Can somebody help me how to handle this?
MSG#
If you had bothered to do a search, you'd have found that this question has been asked many times before, and that the answer lies in filefunc.nsh. There's even an entire chapter of the manual dedicated to this stuff!