Archive: How to begin with NsDialogs? (Tutorials??)


How to begin with NsDialogs? (Tutorials??)
Hi all:

I have to make a more or less simple page for selecting files (very similar to the Installoptions.nsi example of the NSIS/NsDialogs folder) in an installer application and I have read that NsDialogs is the best option. The problem is that this plug-in is quite new and I don't find any Tutorial or guide to begin with.

Can anyone tell me which way I could go for that?

Thanks a lot


Included nsDialogs documentation has a nice step by step tutorial.


Thanks and sorry for the silly question; I was searching in a bad place.


Is it possible to use CreateDialogFromINI in an uninstaller page? I keep getting an error since it doesn't start with 'un'.


Uninstaller functions start with un. prefix.


Yes, that's what I said in my last post... Is there a way to make CreateDialogFromINI work in an uninstaller function?


Checkout the included example NSIS\Examples\nsDialogs\InstallOptions.nsi.

All it needs is to change the line

!insertmacro NSD_FUNCTION_INIFILE

with
!insertmacro NSD_UNFUNCTION_INIFILE

and every call to functions respectively.

Also would be good idea if you take a look at nsDialogs.nsh