uninstall conditions

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hey all

I am deploying a .dll file with a folder of sample code (1 project)
When I uninstall the package, the 'sample' folder is left behind, containin
a copy of the dll. I think it's because the uninstaller won't delete folder
(such as bin and obj) which have been created after the installation

What I really want to know is - how do I add an uninstall condition tha
will delete my 'sample' folder and anything it contains

Thanks

Joh
 
You are correct that if new files have been created since installing the
app, the uninstall won't remove the folder.

You could write a custom action that would remove that folder, either in VB
or VBScript for example. The help documentation (in Visual Studio or MSDN)
has several walkthroughs about creating custom actions.

---
David Guyer - VBQA Deployment Testing
This posting is provided "AS IS" with no warranties, and confers no rights.
--------------------
Thread-Topic: uninstall conditions
thread-index: AcQVhNDGiXP+oqe2S6iIAEUTP3Tt/Q==
X-Tomcat-NG: microsoft.public.dotnet.languages.vb
From: =?Utf-8?B?am9uc2ll?= <[email protected]>
Subject: uninstall conditions
Date: Mon, 29 Mar 2004 03:56:05 -0800
Lines: 15
Message-ID: <[email protected]>
MIME-Version: 1.0
Content-Type: text/plain;
charset="Utf-8"
Content-Transfer-Encoding: 7bit
X-Newsreader: Microsoft CDO for Windows 2000
Content-Class: urn:content-classes:message
Importance: normal
Priority: normal
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.3790.0
Newsgroups: microsoft.public.dotnet.languages.vb
Path: cpmsftngxa06.phx.gbl
Xref: cpmsftngxa06.phx.gbl microsoft.public.dotnet.languages.vb:191861
NNTP-Posting-Host: tk2msftcmty1.phx.gbl 10.40.1.180
X-Tomcat-NG: microsoft.public.dotnet.languages.vb

Hey all,

I am deploying a .dll file with a folder of sample code (1 project).
When I uninstall the package, the 'sample' folder is left behind, containing
a copy of the dll. I think it's because the uninstaller won't delete folders
(such as bin and obj) which have been created after the installation.

What I really want to know is - how do I add an uninstall condition that
will delete my 'sample' folder and anything it contains?

Thanks!

John
 
Back
Top