PDA

View Full Version : Uninstall data files



NewsArchive
01-20-1997, 01:00 AM
My application saves small data files that the user names, so they can
be saved anywhere. Most of the time they get save to the application
directory. When I try to uninstall my program, it deletes everthing
except those data files. Also, my help file creates a file with a .GID
extention the first time it is launched. It also gets left behind after
the uninstall. Is there any way to make the uninstall program get rid
of these files too? Using InstallShield Pro Express.

P.S. - off the subject, but does anybody know how I can make sure those
data files my app creates have the same icon as my app. Seems like when
I install the program, 50% of the time they have the right icon and the
other 50% they have standard icon. I added the
HKEY_CLASSES_ROOT\.mor\shell\open\command value that points to my app.
E-mail me on this one if you have any ideas.

Thanks
--
____________________________________________________________
Cheap, Bug-Free, or On-Time, pick two!
____________________________________________________________
Chuck Warrix
chuck@coil.com

NewsArchive
01-30-1997, 01:00 AM
Chuck,

Currently Express will not automatically remove any files that were
not logged for uninstall. You can create a custom DLL function to
remove these files, and have this function called by the uninstaller.
Download the white paper entitled "Calling a Custom DLL Function
from UninstallShield" from http://www.installshield.com. Though
this is written for InstallShield3 users, the information on the
uninstaller still applies.

Rob

Chuck Warrix <chuck@coil.com> wrote in article <32E33F0C.13C4@coil.com>...
> My application saves small data files that the user names, so they can
> be saved anywhere. Most of the time they get save to the application
> directory. When I try to uninstall my program, it deletes everthing
> except those data files. Also, my help file creates a file with a .GID
> extention the first time it is launched. It also gets left behind after
> the uninstall. Is there any way to make the uninstall program get rid
> of these files too? Using InstallShield Pro Express.
> ____________________________________________________________
> Cheap, Bug-Free, or On-Time, pick two!
> ____________________________________________________________
> Chuck Warrix
> chuck@coil.com
>

NewsArchive
06-23-2000, 12:00 AM
Go to MSDN online and search for MoveFileEx... It's very handy for this kind
of stuff.

-andy

Anthony Zakgaim <azakgaim@aquilium.com> wrote in message
news:3953cf53.0@208.30.171.38...
>
> No way that Windows let you delete files in use.
> What kind of .dll are you talking about?
>
> Anthony
>
>