Wrox Programmer Forums
| Search | Today's Posts | Mark Forums Read
Visual Studio 2005 For discussing Visual Studio 2005. Please post code questions about a specific language (C#, VB, ASP.NET, etc) in the correct language forum instead.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Visual Studio 2005 section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
  #1 (permalink)  
Old August 11th, 2008, 07:11 PM
Registered User
Join Date: Aug 2008
Location: , , .
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default Visual Studio 2005 - Setup Project

Hi! I hope I've posted this to the right forum, otherwise please let me know.

I've been trying to figure out a way that I can stop a windows installer project (Setup project) from running if a previous version of the application is already running, but I can't find a launch condition to do this, and it seems that a custom action will only run after installation.

The reason for this is that when I install a new version of my program, the installer should remove the old one. So during installation, the uninstaller for the previous version runs. However, if the program is already running, then the uninstall fails and the computer ends up with two version of the my program on the machine (two shortcuts etc). So I'd like to either kill the program when installation starts, or detect that it is running so I can cancel the installation.

Please let me know if you can help.

Thank you


Similar Threads
Thread Thread Starter Forum Replies Last Post
FTP in Visual Studio 2005 Pro (Visual Basic) shoopes VB How-To 1 June 29th, 2006 02:08 PM
Visual Studio 2005 ermutigen BOOK: Professional Crystal Reports for VS.NET 1 June 27th, 2006 02:44 PM
Visual Studio 2003 vs. Visual Studio 2005 eitanbarazani C# 2005 4 May 9th, 2006 01:34 AM
Visual Studio .net2003 and Visual Studio 2005 Gert Visual C++ 1 January 24th, 2006 05:10 AM
Visual Studio IIS Setup rodmcleay ASP.NET 1.0 and 1.1 Basics 2 April 15th, 2004 08:20 PM

Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.