Solved

Removing the Folders and Files by running Uninstall

Posted on 2002-07-12
5
163 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
Comment Utility
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
Comment Utility
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
Comment Utility
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
Comment Utility
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
Comment Utility
Got some hands into PD Script after you pointed out, but satisfied with solving my objectives

Thank you
0

Featured Post

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

When designing a form there are several BorderStyles to choose from, all of which can be classified as either 'Fixed' or 'Sizable' and I'd guess that 'Fixed Single' or one of the other fixed types is the most popular choice. I assume it's the most p…
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…
As developers, we are not limited to the functions provided by the VBA language. In addition, we can call the functions that are part of the Windows operating system. These functions are part of the Windows API (Application Programming Interface). U…
This lesson covers basic error handling code in Microsoft Excel using VBA. This is the first lesson in a 3-part series that uses code to loop through an Excel spreadsheet in VBA and then fix errors, taking advantage of error handling code. This l…

762 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

Need Help in Real-Time?

Connect with top rated Experts

10 Experts available now in Live!

Get 1:1 Help Now