Wrox Programmer Forums
| Search | Today's Posts | Mark Forums Read
Pro VB.NET 2002/2003 For advanced Visual Basic coders working .NET version 2002/2003. Beginning-level questions will be redirected to other forums, including Beginning VB.NET.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Pro VB.NET 2002/2003 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 September 17th, 2003, 12:28 PM
Registered User
 
Join Date: Jul 2003
Location: Guelph, ON, Canada.
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Default Installer Question

I have an installer that installs an app that I've developed and a copy of the MSDE. The problem that I run into is that the installer doesn't remove the MSSQL$INSTANCENAME directory on uninstall (obviously, since I'm adding files there) and it won't reinstall if the directory exists. I set up a custom action to remove this directory on uninstall, but for whatever reason, it doesn't always work (probably file-in-use issues). What I'd like to do is run something akin to a custom action on install to check and see if that directory is there, try and remove it, and if I can't, tell the user that they need to do it. My problem is that custom actions run AFTER the installation process. Any ideas on how to run this check before the installation? I've used Orca (nominally) to edit the MSI file, so I'm comfortable doing that, if necessary. If there's a KB article, or any article for that matter, that I've missed, that would be great too.

Thanks,

Mike


Similar Threads
Thread Thread Starter Forum Replies Last Post
Creating an Installer Kedinik C# 0 June 7th, 2008 04:47 PM
Multi Installer VTfletch Need help with your homework? 0 December 18th, 2006 02:29 PM
WinServices Installer rferrill BOOK: Professional C#, 2nd and 3rd Editions 1 June 15th, 2004 10:20 PM
How to create an installer? thiNkspAce VB How-To 2 March 3rd, 2004 07:14 AM
MSDE Installer rodmcleay VB Databases Basics 0 January 28th, 2004 03:02 AM





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