07-22-2012 11:48 PM
I am adding labview addon toolkit in the vi.lib\addons folder and i have created the menu files in labview menus folder categories\addons\productname. I have created the installer using labview installer for our product. If i do not include dir.mnu file during installation our toolkit function palletes are not appearing in labivew. If i include the dir.mnu file in the addons folder during installation our function pallets are appearing. but there is a problem after uninstallation, the default dir.mnu file in addon folder is also getting removed. I also need to add multiple products in addons folder. How do i update the dir.mnu file after every installation and also i do not want the uninstaller to remove the default dir.mnu file. Need your help to solve this issue.
Thanks in advance,
Ramesh
07-23-2012 12:14 AM
Why aren't you using the user.lib folder?
07-23-2012 01:52 AM
Hi
Our toolkit will be used as a Labview addon toolkit. After discussion with NI team, we have decided to add this toolkit in the addon folder.
Ramesh.
07-23-2012 02:17 AM
Ramesh,
first of all, if you talked to NI regarding the vi.lib, you should ask this person you talked to your question....
Without having tested this, i can imagine that using PPL (packed project library, lvlibp) can solve your issue. You can include an *.mnu file within the PPL, so uninstalling should only affect that file.
Whatever you have heared, as far as i know, NI will take no responsiblity if changes in LV messes up custom code installed into vi.lib. So it is possible, that installing a module/toolkit from NI could mess your installation. Therefore, i do suggest (as RavensFan) to use the user.lib installation directory.
hope this helps,
Norbert