Featured Worklog

Price Search



PC Apex Sponsor


PC Apex Sponsors



PC Apex RSS Feeds

RSS Feed for PC Apex Reviews & ArticlesRSS Feed for PC Apex PC Modding WorklogsRSS Feed for the PC Apex Daily DisturbanceRSS Feed for the latest PC Apex Site NewsRSS Feed for PC Apex Affiliate and Web NewsRSS Feed for PC Apex Deals and Steals

Go Back   Apex Community Forums // Other Forums // Designers Corner // Coding / Scripting / Programming

Coding / Scripting / Programming Discussions on all manner of coding and scripting.

Reply
 
LinkBack Thread Tools Display Modes
Old 20-June-06, 08:33 PM   #1 (permalink)
PCApex Review Editor
drougnor's Avatar
Default Help with a custom uninstaller?

As many of you know, I'm working on a custom installer for the Folding @ Home console for Team Pimprig. Part of the process for making this as complete an installer as possible is the creation of an uninstaller, not that we want you to uninstall the console, but when updates are released, having a clean slate to install on is a good idea as I have no idea how I will be handling (or even IF I'll be handling) rolling out an updater vs a brand new installer every time an update is released for the console.

The problem I have is this: Is there a way in VB.NET to have a program delete itself upon completion? Or, should I have it write a batch that will delete the program and the directories it resided in?

But, doing that method, how would I remove the batch file?

See? An interesting problem (tho one that's easily solved if I decide to say 'screw it!' and leave a file somewhere on the drive) isn't it?

This isn't a make or break kind of problem, just one for my own curiosity.

D
drougnor is offline     Reply With Quote
Old 24-June-06, 06:07 AM   #2 (permalink)
Apex Techie II
Ward's Avatar
Default Re: Help with a custom uninstaller?

This probably won't help, but nullsoft makes a nice freeware installer. Just a thought.

http://vsbabu.org/mt/archives/2002/0...er_system.html

Ward is offline     Reply With Quote
Old 24-June-06, 01:16 PM   #3 (permalink)
Master VB Pr'hoe'grammer
Monsignor Funkibut's Avatar
Wink Re: Help with a custom uninstaller?

Yeah I think InstallSheild basically leaves around uninstall.exe.

Uninstall.exe just reads a file, follows the instructions in the file and nukes the file.

So one file left seems to be standard.

-MF
Monsignor Funkibut is offline     Reply With Quote
Old 01-July-06, 03:30 PM   #4 (permalink)
Apex Master Tech
Morion's Avatar
Default Re: Help with a custom uninstaller?

VB.NET comes with a feature called the setup wizard/setup project. It generates an installer/uninstaller program for you and it's fairly customizable. Saves a lot of time, I find. It's under setup and deployment projects in the new projects menu.
Morion is offline     Reply With Quote
Old 01-July-06, 03:41 PM   #5 (permalink)
PCApex Review Editor
drougnor's Avatar
Default Re: Help with a custom uninstaller?

Shoulda updated this about a week or more ago. Did some messing around with batch files and solved my problem. Thanks for the input, tho.
drougnor is offline     Reply With Quote
Reply

Bookmarks

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 On
HTML code is On
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
FS: Custom case, custom computer mot19 Trading Post 0 04-February-05 10:02 AM
Custom Job - need help General Painting 33 02-October-04 03:03 PM
Custom PVR rig - first custom case sbazzle Project Worklogs 20 11-September-04 06:08 PM
360 W Custom PSU 12 V,30 Amp out put Nerdz Other Hardware 1 30-November-03 02:34 PM
Custom Name Threat Anything Goes 4 08-October-02 12:16 AM


All times are GMT -5. The time now is 03:21 PM.


Powered by vBulletin® Version 3.8.3
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.3.0
Copyright PCApex.com, GameApex.com, ForumApex.com 2001 - 2008
Advertisements

Page generated in 0.15704 seconds with 9 queries