Hello again all,

I have a software deployment that's using a combination of Kix scripts and CMD scripts. The scripts won't be executed under the user's context; they will be executed on the machines via an SMS type solution (PDQdeploy in this case).

One thing I wanted to most have in this project is a few popup messages for users telling them to leave their machines alone while the installs occur.

The Messagebox feature of kix, works in the logged in user context, so that won't work in my case.

I have found that using the following within the CMD scripts, will display a message on the user's machine regardless of what session type they are in (console / rdp)

 Code:
msg * "This is a message I want to display"


I was using this rather liberally within several CMD files for software installations, and if you manually run the CMD files, or call them individually via PDQdeploy, they give the popup's I'm looking for even when running under a different user session.

But I'm now trying to use a Kix script which places RUN calls to my software installation CMD's. The CMD scripts are doing everything correctly, except for messaging. The previously displaying MSG popups (when running the CMD's manually) don't display at all or even provide any errors.

I've now tried a number of different ways to try and call out MSG.exe from both within the base Kix script as well as within the called CMD scripts, and none seem to get the results I want.

I want popup's that can appear on the console session (regardless of the user that's executing the popup call). They don't need anything other than an OK button and the message I want to provide.

I have tried the following out of kix, and so far not gotten anywhere.

 Code:
shell '%compspec% /c msg.exe /server:127.0.0.1 * "this is a test message"'


 Code:
DIM $MSG
$MSG = 'c:\windows\system32\msg.exe /server:127.0.0.1 * "this is a test message"'
RUN $MSG


Am I barking up a wrong tree on this, is there another way to tackle this problem? I looked at sendmessage as well, but it also didn't seem to display.

thanks for any advice,

Lan