Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > Visual Basic > VB.NET 1.0 > Pro VB.NET 2002/2003
Password Reminder
Register
Register | FAQ | Members List | Calendar | 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 tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developersí questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Closed Thread
 
Thread Tools Display Modes
  #1 (permalink)  
Old September 17th, 2003, 01: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
Closed Thread


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Creating an Installer Kedinik C# 0 June 7th, 2008 05: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 11: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



All times are GMT -4. The time now is 04:56 AM.


Powered by vBulletin®
Copyright ©2000 - 2018, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.