I am installing an add-in DLL that may be in use by PowerPoint 2007.
In Vista, the default behavior for the Restart Manager is to shut down
and then restart PowerPoint. Instead, to minimize user impact, I want
to run the install, then do the unloading/reloading of the add-in
myself. But for other processes that may also use the file, I want the
default Restart Manager behavior.
So I would like to selectively remove Office programs from the Restart
Manager list (or set them to RmNoShutdown).
I tried writing a custom action that runs before InstallValidate and
does RmJoinSession. But RmGetList or RmAddFilter return
ERROR_SESSION_CREDENTIAL_CONFLICT: "This function is only available to
primary installers", presumably because of the RmJoinSession. How is
this supposed to work?
Thanks for help,
Arno
"Arno" <asch...@think-cell.com> wrote in message
news:1192986639.8...@y27g2000pre.googlegroups.com...
That's what I am doing now, and it works except that is affects all
applications holding locks.
> pretty sure you can't pick and choose how PPT behaves for a specific
> configuration. Besides, the point of this IS to minimize user impact, the
> assumption being that the file in use situation will otherwise require a a
> reboot, and in terms of impact a short PPT break is better than a reboot.
But reloading the add-in without shutting down PowerPoint is even
better. It is a pity that Microsoft thinks it has the only and true
solution to this problem.
Arno
Arno