/build/static/layout/Breadcrumb_cap_w.png

permanent components

is it neccessary to mark all the components that install to windows\system32 as permanent?
what if we mark it as shared instead?

0 Comments   [ + ] Show comments

Answers (2)

Posted by: akki 12 years ago
4th Degree Black Belt
2
No it is not necessary to mark it as permanent. If its a vendor MSI, you should restrain from marking it as shared if its permanent and vice-versa.
If it is known that the particular component is shared by many applications than you should mark it as Shared. Else if its a custom DLL or any other file, not to be shared, than it can be marked as permanent.

Comments:
  • suppose if we mark a component (installing file to system32) as shared then during uninstall will it be removed or left behind ? - yogesh101 12 years ago
    • It`ll be left behind....it is because other applications may need it. - akki 12 years ago
  • yeah it should be left behind......but r u sure abt it?
    bcos I checked the same & found tat it does not.....
    after installing my app added some files in sys32 and even
    if they were marked shared, on uninstallation they were removed..?? - yogesh101 12 years ago
    • Did you check if "Always increment shared .Dll count" is checked or not in ur database.
      This count increments on every install and decrements on uninstallation. If the count becomes zero the shared component will be then uninstalled. - akki 12 years ago
  • yes it was checked........but since I tested on a clean build and since my app installed
    the file so during uninstallation as u said the count must have become zero and it got removed since no other application is using it.......anywaz thanks for the useful info :) - yogesh101 12 years ago
  • NO problem buddy!!! - akki 12 years ago
Posted by: dannyarya 12 years ago
Senior Purple Belt
1
Yes you can mark as a shared.

Or you can mark permanent, common files and mark shared, application specific files.

Don't be a Stranger!

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

Sign up! or login

View more:

Link

Related Links

Post

Related Posts

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