Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people, just like you, are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
Solved

Removing the Folders and Files by running Uninstall

Posted on 2002-07-12
5
193 Views
Last Modified: 2013-11-14
i've got an application where the Application exe at runtime will create some files within a folder.
When installed using the setup file created from Package and Deployment wizard, the application gets installed and works fine.
The problem is with the uninstallation of the application, where only the files that are been previously copied by the setup are removed.

I need to remove all the folders and files that are created by the Application at runtime that will remain in the expected path.
What i thought was, to alter the setup script so as to remove all the subfolders and files within it when uninstalling the application.
But how can i do this? Any other Setup makers to solve my problem? Please help me
0
Comment
Question by:pramodkumar
  • 2
  • 2
5 Comments
 
LVL 5

Accepted Solution

by:
jayeshshah earned 25 total points
ID: 7150191
you can use the Installshield wizard to create a setup & then the install shield wizard shall be able to delete the file.

In case u still want to use the Packaging & deployment wizard then you have to change the code of the wizard which is available in the C:\Program Files\Microsoft Visual Studio\VB98\Wizards\PDWizard\Setup1 directory.
0
 

Author Comment

by:pramodkumar
ID: 7152689
hi jayeshshah,
i'm not going to stick to P & G for this...anyone will do...but i'm thinking of using installshield. can u help me with some clearer install scripts that matched my need?
(i've already started working with the install shield script)
0
 
LVL 49

Expert Comment

by:DanRollins
ID: 8002383
Hi pramodkumar,
It appears that you have forgotten this question. I will ask Community Support to close it unless you finalize it within 7 days. I will ask a Community Support Moderator to:

    Refund points and save as a 0-pt PAQ.

pramodkumar, Please DO NOT accept this comment as an answer.
EXPERTS: Post a comment if you are certain that an expert deserves credit.  Explain why.
==========
DanRollins -- EE database cleanup volunteer
0
 
LVL 49

Expert Comment

by:DanRollins
ID: 8002385
Hi pramodkumar,
It appears that you have forgotten this question. I will ask Community Support to close it unless you finalize it within 7 days. I will ask a Community Support Moderator to:

    Refund points and save as a 0-pt PAQ.

pramodkumar, Please DO NOT accept this comment as an answer.
EXPERTS: Post a comment if you are certain that an expert deserves credit.  Explain why.
==========
DanRollins -- EE database cleanup volunteer
0
 

Author Comment

by:pramodkumar
ID: 8010952
Got some hands into PD Script after you pointed out, but satisfied with solving my objectives

Thank you
0

Featured Post

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Have you ever wanted to restrict the users input in a textbox to numbers, and while doing that make sure that they can't 'cheat' by pasting in non-numeric text? Of course you can do that with code you write yourself but it's tedious and error-prone …
Enums (shorthand for ‘enumerations’) are not often used by programmers but they can be quite valuable when they are.  What are they? An Enum is just a type of variable like a string or an Integer, but in this case one that you create that contains…
Get people started with the process of using Access VBA to control Outlook using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Microsoft Outlook. Using automation, an Access applic…
Show developers how to use a criteria form to limit the data that appears on an Access report. It is a common requirement that users can specify the criteria for a report at runtime. The easiest way to accomplish this is using a criteria form that a…

829 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question