Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / Visual Studio.NET / Setup / June 2006

Tip: Looking for answers? Try searching our database.

Check for running processes with setup

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Bob Dankert - 20 Jun 2006 17:02 GMT
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
"Gary Chang[MSFT]" - 21 Jun 2006 07:37 GMT
Hi Bob,

Thank you posting!

>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.

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.
Bob Dankert - 21 Jun 2006 14:42 GMT
Thanks a lot - this answers my questions!

Bob

> Hi Bob,
>
[quoted text clipped - 39 lines]
> This posting is provided "AS IS" with no warranties, and confers no
> rights.
"Gary Chang[MSFT]" - 22 Jun 2006 04:02 GMT
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.

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.