/build/static/layout/Breadcrumb_cap_w.png

What is meant by shared & permanent dll or ocx.

 

What is meant by shared & permanent dll or ocx. If any dll , ocx placed in system folder so it’s necessary to share & permanent it’s linked with merge module?


0 Comments   [ + ] Show comments

Answers (1)

Posted by: EVEEN 10 years ago
Green Belt
1

- Shared: object is (expected to be) used by multiple apps. In remove scenario you want to be carefulle deleting it. Therefore for shared there is a filecounter system in Windows counting the number of times it is referenced. If larger then zero on uninstall the file remains on the system

- Permanent: The object is expected to be on ths system in all scenario's so in a uninstall the item should remain on the system. On uninstall the msi therefore does not even try to remove the item.

With the merge module is that objects are placed on the system in the way the way the programmer creates them. It implements the placement of dll and ocx in such a way that these files are guarded against unwanted removal.

Placing ocx of dll that are part of a merge module directly with a windows installer package breaks the mechanims designed to make certain that critical components are not removed from a system. 

You can work without using merge modules. In that case yuo should flag all ocx and dll in systemfolders and other shared locations as permanent to make sure other apps don't run into problems.

 

Don't be a Stranger!

Sign up today to participate, stay informed, earn points and establish a reputation for yourself!

Sign up! or login

Share

 
This website uses cookies. By continuing to use this site and/or clicking the "Accept" button you are providing consent Quest Software and its affiliates do NOT sell the Personal Data you provide to us either when you register on our websites or when you do business with us. For more information about our Privacy Policy and our data protection efforts, please visit GDPR-HQ