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
 All Forums
 Origin Forum for Programming
 Forum for Origin C
 uninstalling an OPK file

Note: You must be registered in order to post a reply.
To register, click here. Registration is FREE!

Screensize:
UserName:
Password:
Anti-Spam Code:
Format Mode:
Format: BoldItalicizedUnderlineStrikethrough Align LeftCenteredAlign Right Horizontal Rule Insert HyperlinkUpload FileInsert Image Insert CodeInsert QuoteInsert List
   
Message:

* HTML is OFF
* Forum Code is ON
Smilies
Smile [:)] Big Smile [:D] Cool [8D] Blush [:I]
Tongue [:P] Evil [):] Wink [;)] Clown [:o)]
Black Eye [B)] Eight Ball [8] Frown [:(] Shy [8)]
Shocked [:0] Angry [:(!] Dead [xx(] Sleepy [|)]
Kisses [:X] Approve [^] Disapprove [V] Question [?]

 
Check here to subscribe to this topic.
   

T O P I C    R E V I E W
stoelzer@p Posted - 05/21/2008 : 7:36:02 PM
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?

2   L A T E S T    R E P L I E S    (Newest First)
stoelzer@p Posted - 06/01/2008 : 07:57:33 AM
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.

eparent Posted - 05/28/2008 : 11:53:10 AM
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.



The Origin Forum © 2020 Originlab Corporation Go To Top Of Page
Snitz Forums 2000