Archive: General questions on NSIS


General questions on NSIS
Hello,

currently I'm evaluating NSIS and I'm not sure, if the following requirements are met by NSIS:

- Creating users and usergroups
- Starting external EXE-Files during installation
- Evaluating, if ODBC is installed
- Evaluating, if an ODBC-driver with a special version is installed
- Evaluating, if a printer-driver with a special version is installed

The last three requirements could be evaluated by using registry-keys, correct?

Can anyone give me a hint or point me to some tutorial?

Greetings,
Tobias



Hello kichik,

thank you for your help. I already tested the UserMgr plug-in and ExecWait. It works fine.

For the ODBC-test I used ReadRegStr:

ReadRegStr $0 HKLM 'SOFTWARE\ODBC\ODBCINST.INI\ODBC Drivers' "Microsoft Access Driver (*.mdb)"

If the key exists, $0 has the value "Installed". That's enough for my needs.

I need to check, if FinePrint is installed. I don't know yet exactly, but it should be possible to check it in the registry. If not, i will be using the System plug-in for calling a self written dll.

Tobias


You do not need the System plugin to call your self written plugin.

Just write the DLL, see example plugin source.