NX Machinery Library Installation creating "invisible" folders ???
NX Machinery Library Installation creating "invisible" folders ???
(OP)
File this under WTF...
I'm trying to install the Machinery Library natively on a new system (Win 7, 64bit). Everything went smoothly, I thought.
When I opened NX 7.5.2, only the small default library was accessible. I checked C:\Program Files\UGS and only two folders appear there: NX 7.0, NX 7.5. Refreshed the file manager window a few times, with no change.
"Okay, I'll just reinstall it."
This is the weird part. During the install there comes a point where the install path is displayed. Just for fun I clicked on the browse button [...]. Within the Open window I can see that the folder Machinery Library is there right above the two NX folders (look at the attached screen capture). I can even browse Machinery Library folder within the Open window. All the folders are there: ANSI-Inch, ANSI-Metric, etc. If I continue with the install, it tells me that the folder already exists then asks whether I want to reinstall anew or repair the install. I tried another new install with no change.
I've set the Win7 folder options to display hidden files, including hidden system files (usually a no no). But no matter what I try, the folders don't appear/exist on my computer; except that they do.
I've rebooted the machine as well. Nothing I try will show nor recognise the Machinery Library folder except an install path Open window.
Any ideas what the heck is causing this?
I'm trying to install the Machinery Library natively on a new system (Win 7, 64bit). Everything went smoothly, I thought.
When I opened NX 7.5.2, only the small default library was accessible. I checked C:\Program Files\UGS and only two folders appear there: NX 7.0, NX 7.5. Refreshed the file manager window a few times, with no change.
"Okay, I'll just reinstall it."
This is the weird part. During the install there comes a point where the install path is displayed. Just for fun I clicked on the browse button [...]. Within the Open window I can see that the folder Machinery Library is there right above the two NX folders (look at the attached screen capture). I can even browse Machinery Library folder within the Open window. All the folders are there: ANSI-Inch, ANSI-Metric, etc. If I continue with the install, it tells me that the folder already exists then asks whether I want to reinstall anew or repair the install. I tried another new install with no change.
I've set the Win7 folder options to display hidden files, including hidden system files (usually a no no). But no matter what I try, the folders don't appear/exist on my computer; except that they do.
I've rebooted the machine as well. Nothing I try will show nor recognise the Machinery Library folder except an install path Open window.Any ideas what the heck is causing this?





RE: NX Machinery Library Installation creating "invisible" folders ???
It may be that the directory needs to be added to the NX customer default "Gateway, Reuse Library, General, Libraries Organized by Native Folder". And the "Display Reuse Library" in the "Native NX" portion of the same customer defaults tab needs to be toggled "on".
Regards, Joe
RE: NX Machinery Library Installation creating "invisible" folders ???
However, the gist of my OP is that the Machinery Library folder is not seen by my PC at all.
Have look at the picture I attached and note the path in the Install window, then the explorer window at the bottom.
The Machinery Library folder appears in the Open window (within the UGS folder), but not in the explore window. This despite the fact that C:\Program Files\UGS\ is the path for both windows.
RE: NX Machinery Library Installation creating "invisible" folders ???
Did you also check the Program Files(x86) folder?
Is your account an administrator and the same account that you used to install the Library with?
"Wildfires are dangerous, hard to control, and economically catastrophic."
Ben Loosli
RE: NX Machinery Library Installation creating "invisible" folders ???
There is no UGS folder in C:\Program Files (x86)\
I was administrator (temporarily), and on the same account for all NX installations, and the Machinery Library.
RE: NX Machinery Library Installation creating "invisible" folders ???
Yes, I failed to grasp the intent of the OP.
I think the issue is related to your post in
thread561-287125: Reuse Library components in assembly "not found".
I have tried emulating what I believe the sequence of events were. On 64 bit Win-7, as an admin, install the machinery library. Then as a non-admin, non-power user, use windows explorer to try to see the machinery library directory and use the library installation tool "browse" to try to see the machinery directory. Hopefully that is the situation, right?
As a "regular user" I can see the directory in both the browse from the java machinery library installation tool and from windows explorer (and from the dos command line).
I suspect that:
The reason that the machinery library installation tool shows the directory (and correctly warns about overwriting existing installation) is that the java chooses to ignore the windows acls on the folder.
The reason that windows explorer (and possible the dos command line) can't "see" the directory has to do with the method that was used to remove admin access to the ugs folder and not based on the machinery library installation itself.
Possibly the directory protections set for the ugs directory are being inherited on the newly created machinery library directory?? (but you'd need to have admin rights to fix that).
At the end of the post I've included the acls for the ugs and machinery library directories. If you can execute the same commands and compare the results it may help convince the person that removed the admin access that the technique used was too limiting. (Or that they will have to explicitly relax the control on the machinery library directory if they want to keep the restrictive settings on the ugs directory)
CODE
d:\program files\UGS Everyone:(OI)(CI)(ID)F
BUILTIN\Administrators:(ID)F
BUILTIN\Administrators:(OI)(CI)(IO)(ID)F
NT AUTHORITY\SYSTEM:(ID)F
NT AUTHORITY\SYSTEM:(OI)(CI)(IO)(ID)F
NT AUTHORITY\Authenticated Users:(ID)C
NT AUTHORITY\Authenticated Users:(OI)(CI)(IO)(ID)C
BUILTIN\Users:(ID)R
BUILTIN\Users:(OI)(CI)(IO)(ID)(special access:)
GENERIC_READ
GENERIC_EXECUTE
Z:\>cacls "d:\program files\ugs\Machinery Library"
d:\program files\ugs\Machinery Library Everyone:(OI)(CI)(ID)F
BUILTIN\Administrators:(ID)F
BUILTIN\Administrators:(OI)(CI)(IO)(ID)F
NT AUTHORITY\SYSTEM:(ID)F
NT AUTHORITY\SYSTEM:(OI)(CI)(IO)(ID)F
NT AUTHORITY\Authenticated Users:(ID)C
NT AUTHORITY\Authenticated Users:(OI)(CI)
(IO)(ID)C
BUILTIN\Users:(ID)R
BUILTIN\Users:(OI)(CI)(IO)(ID)(special ac
cess:)
GENERIC_READ
GENERIC_EXECUTE
Regards, Joe
p.s.
My test is admittedly not exactly the same since d: is not the system disk on my machine.
RE: NX Machinery Library Installation creating "invisible" folders ???
Sadly, it's way over my head, but I'll pass the info along to our IT guy and see if he can make use of it.
Just for fun, I looked for the library directory using the command prompt and it's not showing up there either; just directories NX 7.0, and NX 7.5.
RE: NX Machinery Library Installation creating "invisible" folders ???
The adventure thus far:
1) Installing the Machinery Library natively will NOT install it in C:\Program Files\UGS\ unless I'm an administrator. Too bad it doesn't tell me this during the install; but this might be Win 7's fault as the Library IS installed in C:\Users\(user)\AppData\Local\VirtualStore\Program Files\UGS\
Thank you freaking "VirtualStore".
That solves the mystery of the "invisible" folder at least.
2) Installing the Machinery Library natively WILL install it in C:\Program Files\UGS\ if I'm an administrator.
3) However, upon restarting NX7.5, the Machinery Library STILL does not appear in the Reuse Library tab.
4) I was going to look into editing the path somewhere in the Customer Defaults, but instead tried copying the Machinery Library to C:\Program Files\UGS\NX 7.5\NXPARTS\Reuse Library as was the default path (I think) for directory Reuse Examples as of NX7.5.0 (Reuse Examples|$UGII_BASE_DIR/nxparts/Reuse Library/Reuse Examples)
That still didn't work.
5)What DID work, but I don't know if this was the the way I should have done it at the start, was to right-click the Reuse Library table (or library tree, or what ever it's called) and selected "Add Library". I then chose the Machinery Library that was created during the administrative install C:\Program Files\UGS\Machinery Library.
Everything seems to work now, but as I mentioned earlier, I still don't know if this was the right way to go.
According to the "Machinery-Library-readme.doc" there was a fix created 2010-05-07:
1772559 -- Update of part families with machinery library install tool fail. Added the steps in user manual to describe how to update library.
However I see nothing in "user guide on installing reuse library for native mode_v2.2.doc" for anything relating to NX7.5, and NX7.5 seems to have had some library paths modified for 64-bit machines at least.
Anyway, I guess I can relax a bit now and get some work done.