Skip to content
⌘ NSIS Forum Archive

howto write in detail windows from external prog?

9 posts

Masternoob#

howto write in detail windows from external prog?

Is there a way to create new entries in the details windows of nsis from an external program?
Afrow UK#
In theory you can send LVM_SETITEM to the control as long as your external application can be given the handle (perhaps via command-line). IMO it's easier to make the external application a console application and use ExecDos::Exec /detailed.

Stu
Abrams#
Can you or somebody give an example how to send console lines to nsis details view window using LVM_SETITEM? I can't use execDos plugin.
Anders#
Originally Posted by Abrams View Post
Can you or somebody give an example how to send console lines to nsis details view window using LVM_SETITEM? I can't use execDos plugin.
Now you are asking about Win32 and not NSIS but OK, take a look at the LogMessage function in http://sourceforge.net/p/nsis/code/H.../nsexec.c#l409
Abrams#
Thanks but i don't know how to use this function... I'm newbie in programming. Can you give me an example? I can't use execDos cause it's create hidden cmd.exe process but i need work with this process.
Abrams#
Originally Posted by Abrams View Post
I can't use execDos cause it's create hidden cmd.exe process but i need work with this process.
I need to send messages to that process
Afrow UK#
You need to explain exactly what you want to do. Your posts so far have been contradictory.

Stu
Abrams#
I got a console app and i have to create GUI for it. I've tried to use execdos plugin, but in my case i need to send messages to the command line of running app, with execdos it's don't work cause its creates hidden cmd.exe process. With ExecCmd plugin i can send messages(findwindow command), but this plug-in don't have parameter which write log of app into function, that i need to send log to the Nsis details window.

please help with my issue...