FOLLOW US
4dots Software CODE BLOG

How to use your company name in a NSIS installation script

At first it is nice to see in the installation screens your company name (or website address) instead of the default text "Nullsoft Installation Script" e.t.c. on the lower part of the screens.

To do that in the header of your installation file enter :

BrandingText "YOUR COMPANY NAME HERE"

Also to view your company name next to your application in the "Programs and Features" screen of Microsoft Windows, enter the following uninstall information in the "Install section".


WriteRegStr HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\${PRODUCT_SHORTCUT}" "Publisher" "Your Company Name Here"   

Where ${PRODUCT_SHORTCUT} is your program name. You can replace it with your program name string if you are not using this variable.


 

Please Donate!

Please Share!