PDA

View Full Version : Uninstall



NewsArchive
04-13-2005, 10:23 AM
[Wednesday, April 13, 2005 4:33 PM]

Friedrich,
This is probably a feature request as I can not find any way to
accomplish what I want....

I know SB5 creates a standard uninstall. I would like some additional
control of the uninstall process (maybe scripting?)

When my user goes to uninstall my product the standard uninstall will remove
the programs and files that were in the original install process (which is
normal behavior). I would like to present my user with the option of doing a
standard uninstall or a "complete" uninstall. The complete option would
remove any addtional files, the folder structure where the progeram resided,
ini files, registry settings, etc. that may have been created after original
install.

Does this make sense?

Thank you for your time,

Michael Melby

NewsArchive
04-13-2005, 10:24 AM
[Wednesday, April 13, 2005 6:13 PM]

Michael,

A scriptable uninstaller is supported in SetupBuilder 5 Developer Edition
(not in the documentation at the moment).

1. Create a new Uninstall Include Script (File|New)
2. Add the include script to your main script. For example:

[ Initialize Setup ]
! --- Define commonly used constants ---
#include script "Common Definitions.sbi"
#include script "SB5 Uninstall.sbi"

3. Add your functions and scripting logic.

Does this help?

--
Friedrich Linder
CEO, Lindersoft
www.lindersoft.com
1.954.252.3910

NewsArchive
04-14-2005, 09:18 AM
[Thursday, April 14, 2005 3:05 PM]

Very cool, I will try it today.

Thank you !!

NewsArchive
04-14-2005, 09:19 AM
[Thursday, April 14, 2005 4:14 PM]

BTW, please see "Uninstall Script Demo.sb5" loceted in the \Examples folder.

Friedrich

--
Friedrich Linder
CEO, Lindersoft
www.lindersoft.com
1.954.252.3910

NewsArchive
04-15-2005, 09:53 AM
[Friday, April 15, 2005 3:41 AM]

Hi Michael,

Remember, if Friedrich's functions can't perform the total cleanup
that you need, you can still call DLLs or run EXEs from within the
Uninstall script. I do the latter because there are always files that
I won't know about.

Let me know if you have any problems.

Best Regards,
Geoff Spillane
Data Down Under

NewsArchive
04-15-2005, 09:53 AM
[Friday, April 15, 2005 4:58 PM]

Thank you