"and without
a another folder where i put my personnal vi library ...
In this way i can go back to an old version that works
well."
If I understand this part of your question correctly, you want duplicate your entire hierarchy some place safe while maintaining the linkage to your shared library.
I do not believe you can do that in a single step but there is a procedure that can acheive this out come.
The procedure leverages off the fact that LV will only load one copy of a VI of a name at one time AND a "tree.VI".
1)First, with our "ready to save application" loaded, you want to create a tree.vi that contains all of top level VI's that are in your library. Save this tree.vi and close it.
2) Close close your application and LV. Make sure LV is closed.
Note: At this point the tree VI point at all of the VI's in your library.
3) open your application again and do your "save with...". Use the "New loaction- single prompt- preserve hierarchy" option.
4) Navigate and hit "Select cur Dir" button. This will duplicate everything and create a folder for your library.
5) Close everything and exit LV.
Note at this point your appliation is saved pointing at the library functions that were copied from your original library. This is the linkage that we still need to fix.
6) Go back and open the tree VI you created earlier.
Note: LV will load the top level VI from your library.
7) Delete the folder that contains the libray VI's that was created in step #4.
😎 open the top level VI that was created in step #4.
Note: Since the tree.VI was loaded first and it points at your library, your application opens and uses the library VI's that already in memory.
9) Close your top level application VI and save all sub-VI's.
Note: at this point all of your application linakages are pointing at your library.
10) Close the tree.VI. It should not prompt you to save anything.
11) Open the app from step #4 again and examine the hierarchy screen with "View >>> Show Fullpath in label" option selected. Examine all of your libary VI's.
At this point you should have a complete copy of you app that points at your un-changed static library.
Let me know if I missed something.
Ben