Uninstall
Uninstall
Uninstall
Uninstall
Uninstall
Uninstall Uninstall Uninstall Uninstall Uninstall Uninstall Uninstall Uninstall
Uninstall Uninstall
Uninstall
Go Back  Xtreme Visual Basic Talk > > > Uninstall


Reply
 
Thread Tools Display Modes
  #1  
Old 11-16-2007, 06:56 AM
phil2005 phil2005 is offline
Centurion
 
Join Date: Dec 2004
Posts: 109
Default Uninstall


My app installs files in the user's Application Data folder, and when the program is uninstalled I want to delete them.

I wrote a program to delete the files, deployed it with the app and referenced it in "Custom Actions" - "Uninstall".

When I remove the app with Add/Remove Programs I get a message saying my app folder in Program Files is unaccessible and my uninstaller is not run. It looks like the Add/Remove Programs has deleted the app folder before running the uninstall app.

1) How do I get my uninstall code to run?
2) I sthere a way to invoke the Add/Remove Programs function if the user runs my uninstaller by clicking it in the Program Files folder?
Reply With Quote
  #2  
Old 11-18-2007, 07:14 AM
Jayded Jayded is offline
Centurion
 
Join Date: Jul 2003
Posts: 144
Default

All I have to say to you is Inno Setup Compiler.
VS ships with what has got to be the most useless setup compiler on earth, its buggy, semi complex and is only really good for generating a deployment file.
Inno is free and on fire.
Do yourself a favour and just check it out.
Google Inno Setup Compiler.
Reply With Quote
  #3  
Old 11-20-2007, 03:33 AM
phil2005 phil2005 is offline
Centurion
 
Join Date: Dec 2004
Posts: 109
Default

Yes - I've gone back to Inno and saved a lot of grief BUT...

What do I do if the user doesn't have the net framework installed?
Reply With Quote
  #4  
Old 11-20-2007, 05:09 AM
Jayded Jayded is offline
Centurion
 
Join Date: Jul 2003
Posts: 144
Default

Just download the framework and compile the script to execute the framework installation.
Ensure that the framework is complete and not one of those silly download files.
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
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

Forum Jump

Advertisement:





Free Publications
The ASP.NET 2.0 Anthology
101 Essential Tips, Tricks & Hacks - Free 156 Page Preview. Learn the most practical features and best approaches for ASP.NET.
subscribe
Programmers Heaven C# School Book -Free 338 Page eBook
The Programmers Heaven C# School book covers the .NET framework and the C# language.
subscribe
Build Your Own ASP.NET 3.5 Web Site Using C# & VB, 3rd Edition - Free 219 Page Preview!
This comprehensive step-by-step guide will help get your database-driven ASP.NET web site up and running in no time..
subscribe
Uninstall
Uninstall
Uninstall Uninstall
Uninstall
Uninstall
Uninstall Uninstall Uninstall Uninstall Uninstall Uninstall Uninstall
Uninstall
Uninstall
 
Uninstall
Uninstall
 
-->