The Origin Forum
File Exchange
Try Origin for Free
The Origin Forum
Home | Profile | Register | Active Topics | Members | Search | FAQ | Send File to Tech support
Username:
Password:
Save Password
Forgot your Password? | Admin Options

 All Forums
 Origin Forum for Programming
 LabTalk Forum
 OPK uninstall
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic Lock Topic Edit Topic Delete Topic New Topic Reply to Topic

illysam

Canada
13 Posts

Posted - 01/12/2004 :  10:47:21 AM  Show Profile  Edit Topic  Reply with Quote  View user's IP address  Delete Topic
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.

Mike Buess

USA
3037 Posts

Posted - 01/12/2004 :  11:37:54 AM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
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.

Mike Buess
Origin WebRing Member

Edited by - Mike Buess on 01/12/2004 11:38:48 AM
Go to Top of Page
  Previous Topic Topic Next Topic Lock Topic Edit Topic Delete Topic New Topic Reply to Topic
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
The Origin Forum © 2020 Originlab Corporation Go To Top Of Page
Snitz Forums 2000