Winamp & Shoutcast Forums

Winamp & Shoutcast Forums (http://forums.winamp.com/index.php)
-   NSIS Discussion (http://forums.winamp.com/forumdisplay.php?f=65)
-   -   ExecWait exe file problem (http://forums.winamp.com/showthread.php?t=248181)

emel_kkkk 8th June 2006 14:42

ExecWait exe file problem
 
Hi;
i have a script which includes command below
ExecWait "DB2CMD.exe DB2SETCP.BAT DB2.EXE"
(i'm trying to open db2 command line proccessor)
when i try to test installer, 80 exes are opening.
i tried "DB2CMD.exe DB2SETCP.BAT DB2.EXE" command from cmd.it works well.
i also tried nsExec command but result is same.
can anyone help me about this?

Afrow UK 8th June 2006 16:23

Try:

ExecWait '"DB2CMD.exe" DB2SETCP.BAT DB2.EXE'

-Stu

emel_kkkk 9th June 2006 05:46

thanks
but the same result
when i try to test installer, (about) 80 exes are opening

Afrow UK 9th June 2006 09:29

Strange.

What is SetOutPath set to before you call ExecWait?

Also try:
ExecWait '"DB2CMD.exe" "DB2SETCP.BAT DB2.EXE"'

Edit: Also, are the 80 processes all multiple instances of DB2CMD.exe?

-Stu

emel_kkkk 9th June 2006 09:42

i just want to create database. there's no problem in installation. to create database, i must reach exe i defined.
i can do it with command line
i run cmd and write "DB2CMD.exe DB2SETCP.BAT DB2.EXE create db sampledb".it works fine.
but that doesn't work in nsis.
thanks for reply
i tried all combinations of ' and " with exec and execwait commands. that doesn't work.

Takhir 9th June 2006 10:22

What's the content of the batch file? IMHO this is the only looping point. OS stops repeating processes creation on some limit (may be 80). Can you simplify the situation by excluding bat and/or exe from command line? Or may be you can put this cmd line to (new) bat file wrapper?


All times are GMT. The time now is 04:43.

Copyright © 1999 - 2010 Nullsoft. All Rights Reserved.