Solved

Removing the Folders and Files by running Uninstall

Posted on 2002-07-12
5
202 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
[X]
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
  • 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

Salesforce Made Easy to Use

On-screen guidance at the moment of need enables you & your employees to focus on the core, you can now boost your adoption rates swiftly and simply with one easy tool.

Question has a verified solution.

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

When trying to find the cause of a problem in VBA or VB6 it's often valuable to know what procedures were executed prior to the error. You can use the Call Stack for that but it is often inadequate because it may show procedures you aren't intereste…
Most everyone who has done any programming in VB6 knows that you can do something in code like Debug.Print MyVar and that when the program runs from the IDE, the value of MyVar will be displayed in the Immediate Window. Less well known is Debug.Asse…
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…
Get people started with the process of using Access VBA to control Excel using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Excel. Using automation, an Access application can laun…

710 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