I've got a compter here that has been sitting since September when the programmer who used it died.
It does not have X6 on it..
We have a new hire starting in a couple of weeks...
If I install X6 now and IT creates his user account later, there will be no "my mcamx6" in the new user account.
what is the best way to fix this ... a repair install ???
An X6 admin/it question
Started by
gcode
, Feb 07 2012 11:24 AM
11 replies to this topic
#1
Posted 07 February 2012 - 11:24 AM
#2
Posted 07 February 2012 - 11:56 AM
Just a question to a question gcode.
When the user account is created Windows won't create that folder... or after the user logs in and opens MCAM for the first time? If I remember correctly a user account "packet" with a Windows Server could set up that type of stuff.
Wouldn't it?
When the user account is created Windows won't create that folder... or after the user logs in and opens MCAM for the first time? If I remember correctly a user account "packet" with a Windows Server could set up that type of stuff.
Wouldn't it?
#3
Posted 07 February 2012 - 01:00 PM
The directory will be created the first time he launches X6.
When I wrote my custom config script that edits the config file, I had to specify to the user to run the config AFTER they have already ran X5 or X6, so that directory exists for my script to work..
When I wrote my custom config script that edits the config file, I had to specify to the user to run the config AFTER they have already ran X5 or X6, so that directory exists for my script to work..
#4
Posted 07 February 2012 - 01:03 PM
Quote
The directory will be created the first time he launches X6.
cool .. that makes it easy .. and there is no reason I can't install X6 now and get everything ready for the new hire
#5 Guest_CNC Apps Guy 1_*
Posted 07 February 2012 - 02:19 PM
The new victim hire anyone we know?
#6
Posted 07 February 2012 - 04:25 PM
no he's out of state ... answered a Craiglist add ..
I don't know if he hangs out here or not
I don't know if he hangs out here or not
#7
Posted 09 February 2012 - 08:59 AM
hope he likes Tacos
#8
Posted 05 March 2012 - 05:05 PM
Hey Aaron,
We are looking to setup the config file for the users as well. Have you been able to determine where the User config file come from? We thought if we could change the defaults at the source, that there would be no need to configure each user later.
Robert
We are looking to setup the config file for the users as well. Have you been able to determine where the User config file come from? We thought if we could change the defaults at the source, that there would be no need to configure each user later.
Robert
#9
Posted 07 March 2012 - 12:14 AM
Robert,
As far as I can tell from my experimentation, it comes from the ether. I think it's created by Mastercam.exe itself at run time, probably from defaults inside of the program that we don't have access to. I believe this because the newer style configs have to individually tailor the config files to the username it's installed to (i.e. there's paths inside the mcamx.config that will read C:\Users\Robert\... for you, and C:\Users\Aaron for me). I could be wrong about how it's created though. My solution was to replace the hard coded paths (C:\Users\Aaron\...) with variables in a backed up configuration file, and then use a script to read the locations from the registry (stored at HKEY_CURRENT_USER\SOFTWARE\CNC Software, Inc.\Mastercam X6 ), then go and replace the variables with the appropriate path.
It's unfortunately a hack that we have to do until they get around to putting relative paths in the config file.
Feel free to email/message me for more details.
Cheers,
Aaron
As far as I can tell from my experimentation, it comes from the ether. I think it's created by Mastercam.exe itself at run time, probably from defaults inside of the program that we don't have access to. I believe this because the newer style configs have to individually tailor the config files to the username it's installed to (i.e. there's paths inside the mcamx.config that will read C:\Users\Robert\... for you, and C:\Users\Aaron for me). I could be wrong about how it's created though. My solution was to replace the hard coded paths (C:\Users\Aaron\...) with variables in a backed up configuration file, and then use a script to read the locations from the registry (stored at HKEY_CURRENT_USER\SOFTWARE\CNC Software, Inc.\Mastercam X6 ), then go and replace the variables with the appropriate path.
It's unfortunately a hack that we have to do until they get around to putting relative paths in the config file.
Feel free to email/message me for more details.
Cheers,
Aaron
#10
Posted 07 March 2012 - 07:30 AM
FWIW...Aaron has a pretty slick system for backing these things up and restoring if/when they get corrupted. It is still in use at my old employeer's place.
#11
Posted 07 March 2012 - 09:15 AM
hi there
the default files are in this folder: C:\mcamx6\common\UserDefaults\CONFIG\
there you can place the cfg, mtb and kmp.
ATTENTION: open the config file with editor and search for "2152" and delete the path, same at "16001" and "16003".
2152. Odner mit Anwenderdaten? C:\Users\thename\Documents\my MCAMX6\ <--- delete the path
16001. Text nicht verfügbar? C:\USERS\thename\DOCUMENTS\MY MCAMX6\CONFIG\mastercam.kmp <--- delete the path
16003. Text nicht verfügbar? c:\users\thename\documents\my MCAMX6\config\mastercam.mtb <--- delete the path
the first time mastercam starts with the new user the config copies from C:\mcamx6\common\UserDefaults\CONFIG\ to the mymcamx6 folder and the paths will be there again for the new user.
bye
the default files are in this folder: C:\mcamx6\common\UserDefaults\CONFIG\
there you can place the cfg, mtb and kmp.
ATTENTION: open the config file with editor and search for "2152" and delete the path, same at "16001" and "16003".
2152. Odner mit Anwenderdaten? C:\Users\thename\Documents\my MCAMX6\ <--- delete the path
16001. Text nicht verfügbar? C:\USERS\thename\DOCUMENTS\MY MCAMX6\CONFIG\mastercam.kmp <--- delete the path
16003. Text nicht verfügbar? c:\users\thename\documents\my MCAMX6\config\mastercam.mtb <--- delete the path
the first time mastercam starts with the new user the config copies from C:\mcamx6\common\UserDefaults\CONFIG\ to the mymcamx6 folder and the paths will be there again for the new user.
bye
#12
Posted 08 March 2012 - 12:59 AM
propi, on 07 March 2012 - 09:15 AM, said:
hi there
the default files are in this folder: C:\mcamx6\common\UserDefaults\CONFIG\
there you can place the cfg, mtb and kmp.
ATTENTION: open the config file with editor and search for the line 2152 and delete the path, same at line 16001 and 16017.
bye
the default files are in this folder: C:\mcamx6\common\UserDefaults\CONFIG\
there you can place the cfg, mtb and kmp.
ATTENTION: open the config file with editor and search for the line 2152 and delete the path, same at line 16001 and 16017.
bye
I think you have to be careful here, because if you have multiple users, the config paths would have to be updated every time it's restored this way... Also, my mcamx.config file only has 883 lines in it...
JMC - Glad to hear that script is still serving them well















