Jump to content
Ed Dickens

Package cache

Recommended Posts

Just wondering why we need multiple copies of the packages?

 

We start with the "master" copy that gets downloaded to the cache directory, then each package is copied to the databases directory for each version of LabVIEW we install to.

 

Since all the packages are the same for all LabVIEW versions, couldn't the cache copy be used and just keep the "files-installed" file in the database directory?

 

Ed

Share this post


Link to post
Share on other sites
Just wondering why we need multiple copies of the packages?

 

We start with the "master" copy that gets downloaded to the cache directory, then each package is copied to the databases directory for each version of LabVIEW we install to.

 

Since all the packages are the same for all LabVIEW versions, couldn't the cache copy be used and just keep the "files-installed" file in the database directory?

 

Ed

 

Ed,

 

The package files that are stored in the cache folder are similar to a user's library of packages. This is analagous to how one's MP3 (and other) files are stored in an iTunes music library folder. In order to uninstall a package, we must have a copy of the original package file (so that we can access the install/uninstall script VI), regardless of whether the user has removed the package file from the cache -- this is why we store the original package file in the db folder.

 

Is this redundancy a real issue for you or are you just curious? :)

 

Regards,

 

-Jim

Share this post


Link to post
Share on other sites
Ed,

 

The package files that are stored in the cache folder are similar to a user's library of packages. This is analagous to how one's MP3 (and other) files are stored in an iTunes music library folder. In order to uninstall a package, we must have a copy of the original package file (so that we can access the install/uninstall script VI), regardless of whether the user has removed the package file from the cache -- this is why we store the original package file in the db folder.

 

Is this redundancy a real issue for you or are you just curious? :)

 

Regards,

 

-Jim

 

Thanks Jim,

 

Curiosity more than anything. I was poking around and just happen to notice it.

 

Ed

Edited by Ed Dickens

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.