Archive: newb help (for a not so newb installer)


newb help (for a not so newb installer)
First time I use NSIS, I'm trying to create an installer, but I ran into a few problems.

I need an installer that:

-installs 3 files
-checks if MDAC drivers are present on the PC, if not, install them
-checks if Flash 7 or higher is present on the pc, if not, install it
-create shortcut in start menu
-create desktop shortcut if the user wants to have this
-create uninstaller


I'm esapcially stuck on installing mdac and flash. Ideally the installer should launch the flash and/or mdac installers and continue when those are done. Is that possible?

Please point me in the right direction (links, code examples,... all very welcome at this point)


Use ExecWait to execute another installer.

The Wiki contains some useful pages:

http://nsis.sourceforge.net/Detect_MDAC_2.6
http://nsis.sourceforge.net/Is_Macro...ayer_installed
http://nsis.sourceforge.net/Get_Macr..._Flash_version

For the uninstaller and shortcuts take a look at the examples in the Examples directory. Examples\Modern UI\StartMenu.nsi will show you how to create shortcuts in the start menu.