Archive: installer inside setup.exe


installer inside nisis setup
hello all,

I've created an installer using NSIS, and now I want it to also install MyODBC.

I need the NSIS installer to wait for the MyODBC installation to finish before going on to other tasks that depend on the installation of MyODBC.

I tried using ExecWait "MyODBC.exe", but it does not wait for the end of installation. Are there any parameters of this command to wait or any other commands that can accomplish this function??

thanks, Adam


What type of installer is it?
Some installers when executed start a separate process and thus ExecWait does not work. You need to use a command line switch.

Stu


Originally posted by Afrow UK
What type of installer is it?
Some installers when executed start a separate process and thus ExecWait does not work. You need to use a command line switch.

Stu
I've written a software that I need to distribute. In order for the software to run it needs to first install MySQL and MyODBC. The MySQL part I did using the noinstaller version.

Using ExecWait the installer simply prompts the user to install MyODBC, and continues the remaining tasks in the NSIS, some of them that need MyODBC to be already installed.

When you say that I need to use "command line switch", what are you referring to?? (I'm new to NSIS:) )

Thanks, Adam

What type of installer are you executing... Is it InstallShield?
The command line parameters have to be passed to the installer that you are executing.

Stu


I believe it is a Microsoft Installer according to mysql.com.
http://forums.winamp.com/showthread....t=execwait+msi
Execute this with nsExec::Exec.

Stu