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
 Forum for Origin C
 uninstalling an OPK file
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic Lock Topic Edit Topic Delete Topic New Topic Reply to Topic

stoelzer@p

Germany
5 Posts

Posted - 05/21/2008 :  7:36:02 PM  Show Profile  Edit Topic  Reply with Quote  View user's IP address  Delete Topic
Origin Version: 7.5
Operating System: WinXP

I made an OPK file that adds something to the main menu by adding a CNF file to the line "File1=Macros FullMenu" in Origin.ini.
How can I remove a CNF file from Origin.ini automatically with the OPK uninstalling process?

eparent

118 Posts

Posted - 05/28/2008 :  11:53:10 AM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
Uninstalling an OPK simply removes the files that the OPK installed. The uninstall tool is not aware of any changes the tool made during it's installation nor after the installation. The tool maker would need to provide their own code to undo any changes they made during and after installation.


Go to Top of Page

stoelzer@p

Germany
5 Posts

Posted - 06/01/2008 :  07:57:33 AM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
Hi eparent,
that's what I would expect. But how is the code (that I have to write) executed?
When the OPK file is opend, the ...setup.ogs contained in the OPK file is automatically executed. Is there a similar automatism when the OPK file is uninstalled?
I couldn't find anything in the programming help. The help on this subject is very sparcely and differs partly from from the examples downloaded from originlab.com. According to the programming help of Origin7.5 the Labtalk install script included in the OPK file must have the name [name_of_opk_file]setup.ogs but in all addons I ever saw it had the name opksetup.ogs.

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