Note: You must be registered in order to post a reply. To register, click here. Registration is FREE!
T O P I C R E V I E W
illysam
Posted - 01/12/2004 : 10:47:21 AM Hi,
during the installation of an OPK file that I created, some entries are added to the Origin.ini and some entries are modified.
How can I make sure that those changes are undone when the OPK file is uninstalled?
Thanks, Rolf.
1 L A T E S T R E P L I E S (Newest First)
Mike Buess
Posted - 01/12/2004 : 11:37:54 AM Hi Rolf,
The Uninstall OPK Files command will remove the Origin.ini toolbar entry made by your OPK install, but you'll need to write your own uninstall scripts in order to reverse other changes. The LabTalk INI object properties and methods can be used for that as you probably already know. Adding or modifying INI keys is straightforward. Removing INI entries can be trickier but I describe a way to do it here.
Of course you would need to run your uninstall scripts prior to running the Uninstall OPK Files command. You might even want to end your scripts with opack.uninstall(modulename) which does the same thing as the menu command.