all groups > visual studio .net setup > june 2006 >
You're in the

visual studio .net setup

group:

Check for running processes with setup


Check for running processes with setup Bob Dankert
6/20/2006 11:02:38 AM
visual studio .net setup: I have a setup which prefers that Word not be running during the
installation (a .Net Word add-in). I have noticed that many programs can
detect running processes and prompt the user to end the programs, generally
with retry/ignore/cancel as the buttons available to the user. Is there any
way to implement an interface like this to my .Net setup so that I can
inform/plead the user to exit Word before continuing with the installation?
I doubt I can do this in the VS Setup interface, but I imagine ORCA must
provide some mechanism to do this.

Thanks!

Bob Dankert

RE: Check for running processes with setup v-garych NO[at]SPAM online.microsoft.com (
6/21/2006 12:00:00 AM
Hi Bob,

Thank you posting!

[quoted text, click to view]

Yes, you can customize the UI interface via the VS Setup project, but there
isn't a built-in mechanism to relate it with checking of the running
process. Orca is just a UI editor to modify the installation package's
database, it doesn't provide any automatically programming mechanism.

You may need to create an external user interface to present a custom user
interface, and then set up the external UI handler to check the running
process, you need to perform this work manually and add those related stuff
to the installation database (.msi) via Orca. Please refer to the following
articles for the further information:

Customize User Interfaces and Pass User Input to Installer Classes
http://www.c-sharpcorner.com/UploadFile/ddoedens/CustomUI11102005042556AM/Cu
stomUI.aspx?ArticleID=421a0138-b86b-47b2-9329-72ee43bb3c85

Beyond the Native Windows Installer User Interface
http://blogs.msdn.com/windows_installer_team/archive/2005/07/23/442584.aspx


Thanks!

Best regards,

Gary Chang
Microsoft Online Community Support
==================================================
When responding to posts, please "Reply to Group" via your newsreader so
that others may learn and benefit from your issue.
==================================================
This posting is provided "AS IS" with no warranties, and confers no rights.
Re: Check for running processes with setup Bob Dankert
6/21/2006 8:42:14 AM
Thanks a lot - this answers my questions!

Bob

[quoted text, click to view]

Re: Check for running processes with setup v-garych NO[at]SPAM online.microsoft.com (
6/22/2006 3:02:39 AM
You are welcome, Bob. :)

Have a nice day!


Best regards,

Gary Chang
Microsoft Online Community Support
==================================================
When responding to posts, please "Reply to Group" via your newsreader so
that others may learn and benefit from your issue.
==================================================
This posting is provided "AS IS" with no warranties, and confers no rights.
AddThis Social Bookmark Button