I'm writing a co-installer for my driver and I need to broadcast a
private message to all running applications in the entry point. I use
the BroadcastSystemMessage api as below:

DWORD dwRecipients = BSM_APPLICATIONS | BSM_ALLDESKTOPS;
BroadcastSystemMessage(BSF_POSTMESSAGE | BSF_IGNORECURRENTTASK,
&dwRecipients,
g_uBroadcastMsgId,
1, 0);

But it seems not working in Vista. How should I do?
Any help will be appreciated.

Re: How to broadcast messages to all application in co-installer by leafbanana

leafbanana
Mon May 05 20:59:00 CDT 2008

I used the Spy++ tool to check applications, they never received the
message at all. But it's OK in WinXP.

Re: How to broadcast messages to all application in co-installer entry point in Vista? by Maxim

Maxim
Tue May 06 13:21:11 CDT 2008

In Vista, the coinstaller runs on another desktop and cannot access the UI
of the interactive apps.

--
Maxim Shatskih, Windows DDK MVP
StorageCraft Corporation
maxim@storagecraft.com
http://www.storagecraft.com

<leafbanana@163.com> wrote in message
news:42862521-3209-477f-9842-d148a5ea4927@s33g2000pri.googlegroups.com...
> I'm writing a co-installer for my driver and I need to broadcast a
> private message to all running applications in the entry point. I use
> the BroadcastSystemMessage api as below:
>
> DWORD dwRecipients = BSM_APPLICATIONS | BSM_ALLDESKTOPS;
> BroadcastSystemMessage(BSF_POSTMESSAGE | BSF_IGNORECURRENTTASK,
> &dwRecipients,
> g_uBroadcastMsgId,
> 1, 0);
>
> But it seems not working in Vista. How should I do?
> Any help will be appreciated.


Re: How to broadcast messages to all application in co-installer by leafbanana

leafbanana
Tue May 06 21:13:01 CDT 2008

Thanks! It's limitation of Vista, isn't it? Any solution for this
issue?

Re: How to broadcast messages to all application in co-installer entry point in Vista? by Maxim

Maxim
Wed May 07 05:31:53 CDT 2008

None I'm afraid of.

Why do you need this? What is the interest for _all_ applications about
your device being installed?

--
Maxim Shatskih, Windows DDK MVP
StorageCraft Corporation
maxim@storagecraft.com
http://www.storagecraft.com

<leafbanana@163.com> wrote in message
news:f16c75ff-4e40-4398-9105-354df83f232c@1g2000prg.googlegroups.com...
> Thanks! It's limitation of Vista, isn't it? Any solution for this
> issue?


Re: How to broadcast messages to all application in co-installer by Ray

Ray
Wed May 07 12:59:14 CDT 2008

I hate to contradict my esteemed colleague Maxim, but there is indeed a
way to have your coinstaller broadcast a message: do it from a
finish-install action.

leafbanana@163.com wrote:
> Thanks! It's limitation of Vista, isn't it? Any solution for this
> issue?


--
Ray