Change Control - IFSC Câmpus Joinville



Edgecam User RightsVersion 1.7At version 2010R2 Edgecam underwent a major change in the way Edgecam is used in a network environment. This document details the improvements that are now available to the IT professional to setup Edgecam users on a network.AIMUse Edgecam without Administrator Rights.Remove the need to disable UAC (User Account Control)Give secure control to Corporate and Educational customers who require their users to have limited accessUpgrade existing customers easilyMaintain the ability to set a Network Location for shared filesTHE ISSUEWith normal user rights files cannot be altered within the Program Files folders. So Code generators, default files, tool store data and specially Language (EdgeKrnl.mnu) has to be written to a different location which the user does have rights to, e.g. “My Documents”GENERAL SOLUTIONEdgecam needs to write files to the local user folders, but still have the ability to read from the “Program Files” and Network location areas as well. Edgecam now has a Folder Location Utility that controls the search locations for various file types. The utility can set multiple paths using a mixture of folder names and tokens. The default locations will be set to run Edgecam as a standalone installation and will be compatible with previous versions. Many of the folder locations will be locked to ensure they cannot be accidently modified.WHAT WILL THE USER BE ABLE TO CHANGE?As in previous releases, the user will be able to change the following by default:-Network LocationToolStore Data LocationTemporary Folder LocationStrategy FolderSub Strategy FolderAll other settings are locked and do not need to be WORK ADMINISTRATOR SOLUTIONCustomers with large network infrastructures require a tighter control over the use of Edgecam. In these cases, IT departments can control exactly what folders are set and which can be controlled by the user. This is achieved by setting all keys they wish to control in HKLM via a script file. HOW DOES IT WORKEach folder location type is stored in the Registry under a Key name. If the key is only defined in the current user area (HKCU) then the user has control. If the key is defined in Local Machine (HKLM), then the user cannot change to folder locations. Note: As each Edgecam version uses a different number the registry and My Document will change. Where ever you see {version} substitute the real version number e.g. 2013.10HKEY_LOCAL_MACHINE\SOFTWARE\Planit\Edgecam\{version}\LocationHKEY_LOCAL_MACHINE\SOFTWARE\Planit\Edgecam\2013.10\LocationTHE FOLDER UTILITYThe Folder Utility program is one of the Utilities program. The Files Location utility is used to set where Edgecam related files and documents are stored or written to. Some categories can have multiple search paths and Edgecam will display the combined list from all paths. For example, Code Generators maybe located on the local machine and on the network. The default setting is for Edgecam to list all the Code Generators from both locations.Code Generators<USER>\cam\machdef;<NETWORKLOCATION\cam\machdef;<ECINSTALLDIR>\cam\machdefLocking and unlocking CategoriesThe File Location utility displays some of the categories as read only (greyed out). The default installation only allows the user to alter some of the categories that can be available. The mechanism Edgecam uses to decide if a category can be modified is whether the path has been written to a Registry Key in HKEY_LOCAL_MACHINE (locked) or HKEY_CURRENT_USER (unlocked)HKEY_LOCAL_MACHINE\SOFTWARE\Planit\Edgecam\{version}\LocationHKEY_CURRENT_USER\Software\Planit\Edgecam\{version}\LocationWhen the Folder Utility is started you will find that most of the Categories are greyed out. This is because the paths are set in HKLM section of the registry by the Installation Program and the default is to look in the USER folders <USER>, Installation folders <ECINSTALLDIR> and Network Location <NETWORKLOCATION>. This gives compatibility to previous versions of Edgecam and therefore is suitable for both upgrades and new installations.CATEGORY NAMESCategory nameDescriptionRegistry Key nameNetwork LocationSingle Path to the network Edgecam folder structureNetworkLocationTemporary LocationSingle Path to the temp folderTempLocationCode GeneratorsPath(s) to the location of the Code Generators (*.tcp;mcp etc)CodeGeneratorFolderToolStore Support FoldersSingle Path to the folder containing the tool graphicsTool Store DirectoryMaster Strategy FolderSingle path for the main strategy files (*.rbm)MasterStrategyFilesSub Strategy FilesPath(s) to the additional sub strategies. Relative paths can be specifiedSubStrategyFilesTool Library FilesSingle Path to the legacy Tool Library DatabaseTool DataMachine FilesPath(s) to the Communication setting files (*.mdv)MachinesFolderProfile FolderPath(s) for the interface configuration files (*.config)SupportProfilesFolderDefault FilesPath(s) for the default files (*.dft)SupportDefaultFolderFeature TemplatesPath(s) for the Feature template files (*.ft)FeatureTemplateFolderCode Generator compilation folderSingle path to where the Code Wizard will create Code Generator files. This is not displayed on the form and can only be set via the registryCodeGeneratorWriteFolderJob Reports FolderSingle path to where the HTML files are createdJobReportsFolderJob Templates FolderSingle path to where the HTML source files are storedJobTemplatesFolderUsing TokensTo simplify typing paths we have created tokens that represent system paths. For example, the user could install Edgecam anywhere on his system and it would be time consuming to have to keep referring to the complete path. The token <ECINSTALLDIR> contains the path to the root of the Edgecam installationTypically: <ECINSTALLDIR> = C:\Program Files\Planit\EdgecamToken nameDescription<ECINSTALLDIR>Path to the Edgecam installation?e.g. C:\Program Files\Edgecam<NETWORKLOCATION>Path to the network Edgecam folder structure<USER>Path to the Edgecam folders in the users “My Documents”. This will be the location for posts and default files created by the user.e.g. C:\User\UserName\Documents\Planit\{version}\Edgecam<PUBLIC>Path to the Public documents area<TEMPLOCATION>Location where the temp files are writtene.g.C:\Users\UserName\AppData\Local\Temp\Planit\{version}\Edgecam<LOCALAPPDATA>Path to user application data such as?config files and ptvars.$$$C:\Users\username\AppData\Local\Planit\{version}\Edgecam<ALLUSERSPROFILE>Path to the general ProgramData folderC:\ProgramData\Planit\{version}\EdgecamFiles DuplicationSometimes, files will be duplicated depending how many paths you have set. If you leave the Profile Folder with more than one location, you may have more than one default.config. In this case, Edgecam will read and display only the first one it can find with the same name (reading the path from left to right). SETTING THE NETWORK LOCATIONThere is a single field to set the Network location (not dissimilar to previous versions). It defaults to the Edgecam installation folder. The path entered in this field is stored in the token <NETWORKLOCATION>This token can then be used as a path on other File Locations Categories. If your Network Location only stores Post Processors and Strategies, you can remove the token from the other file Categories.The network Location is the root folder for the Edgecam folder structure. For example, Code generators would be stored in:-<NETWORKLOCATION>\cam\machdef\\MyServer\applications\Edgecam\cam\machdef39433504048125Where will the files be written to?User files will be written to the relevant folder under “My Documents\Planit\[version]\Edgecam” For example the Code Wizard would save the Code Generators to:-..\My Documents\Planit\{version}\Edgecam\cam\machdefor<USER>\cam\machdefNOTE: The sub folders in “My Documents” are not created until the applications are started for the first time. If you have files you wish to copy to the “My Documents” structure as part of the installation process, you may have to create the folders. We would suggest creating a Edgecam folder structure on a network drive and use XCOPY to copy the entire structure to the local user’s “My Documents” Where will the files be read from?The general default will be to look in the user location, network location and the Edgecam installation location. e.g.<USER>\cam\machdef;<NETWORKLOCATION>\cam\machdef;<ECINSTALLDIR>\cam\machdefLANGUAGE AND IMAGESThe Language files and User Images are saved to %LocalAppData%\Planit\{version}\Edgecam folder in the Operating System. These file locations cannot be customised.ADDING / EDITING / REMOVING SETTING IN LOCAL MACHINEIT departments in corporate companies or educational institutions do require greater control over what the user can set. Rather than using the Folder Utility this can be done via a batch or script file and would normally be performed as part of an automated installation. The registry keys can be modified with the DOS command REG.EXE Add or Modify A Key To HKLM - Set The Key And User Cannot AlterThis will force the Network location to a specified folder on a server.REG add HKLM\Software\Planit\EdgeCAM\{version}\Location /v NetworkLocation /t REG_SZ /d "\\servername\edgecam" /fDelete A Key In HKLM - Allow User To Set The Value In The Folder UtilityBy deleting the HKLM key it will give control back to the user.REG Delete HKLM\Software\Planit\EdgeCAM\{version}\Location /v "NetworkLocation" /f*NOTE*The HKLM is stored in a different path on 64bit Operating systems.32bit is HKLM\Software\Planit\{version}\Location64bit is HKLM\Software\Wow6432Node\Planit\{version}\LocationTHE EXAMPLE USER RIGHTS REGISTRY SCRIPTSThe standard Edgecam installation will be similar to previous releases. The main change the user will see is that files like MCP, MCC, DFT are written to an Edgecam folder structure under "My Documents" rather than "Program Files". As before, they can also change the Network Location and some other settings that where available in previous releases.However, we now have the ability for tighter control over where files are read and written. This means corporate and educational IT departments can control all options and disable end users from changing anything if they wish. By storing the paths in the registry, IT departments can deploy Edgecam safely by adding these registry keys to their installation scripts and know all the PCs will have the same settings. I would expect IT departments to have the knowledge to use registry command and scripts. This documentation and example scripts can be used to customize their own scripts.The main reason I have added these example scripts is for Edgecam engineers to be aware of what can be done and in the case of ecRegDefault.cmd get back to a standard install after playing with the settings. ecRegDefault.cmdSet the folder locations back to the standard Installation. Handy if you have been playing with the settings and just want a quick way to reset.ecRegLocked.cmdExample of how to set all the folders and remove user control.ecRegClearAll.cmdClears all the folder locations in HKLM and HKCU. Gives full user control and you will see the Edgecam default folder setting.ecRegUserControl.cmdClears folder locations in HKLM leaving HKCU settings as they are. So basically gives control to the user, but without changing the local settings.Example Automated Installation from a network driveTo help understand how you would go about creating an automated install script, we have written an example with appropriate comments. SampleAutomatedInstall.cmdCheck if operating system is 32bit or 64bitInstalls Edgecam by using a response file (depending on OS)Set some of the folder locations in the Local Machine so the user cannot alter them.Set the ToolStore to point to a network serverDisable the "Do you wish to register" question that is displayed first timeSet Edgecam to a network dongle with a specific license typeRun Edgecam with a PCI to set any optionsTo install Edgecam automatically you will first need to generate a response file. First run the Edgecam installation manually with a -r switch. This creates the file C:\WINDOWS\SETUP.ISS which is an InstallShield Response file recording of the settings entered into the installer.e.g. "\\MyServer\EdgecamInstallSet\Edgecam\setup.exe" -rThis file can be copied to a convenient place on the server, for example the network Edgecam install folder. You may need more than one ISS file if different settings are needed. For example, 32bit installs into C:\Program Files\Edgecam and 64bit into C:\Program Files (x86)\Edgecam.The ISS file is a text file and can be modified in an editor and the file name changed to suit the need. The install script will run the silent install"setup.exe" -s -f1”\\Myserver\EdgecamInstallSet\Edgecam\setup.iss”-s = Silent-f1 = response file nameChange ControlVersionChangeDate1.0Original document1.1Added more information to “Where will the files be written to? “27/07/20101.2Updated for Edgecam 2011.20. Changing from Pathtrace to Planit in the registry.07/10/20101.3Added Job Report locations.Updated Install script to disable the Migration wizard12/10/20101.4Updated to 2011 R215/04/20111.5Updated to 2012 R111/10/20111.6Updated to 2012 R211/05/20121.7Updated to 2013 R1 17/10/2012 ................
................

In order to avoid copyright disputes, this page is only a partial summary.

Google Online Preview   Download

To fulfill the demand for quickly locating and searching documents.

It is intelligent file search solution for home and business.

Literature Lottery

Related searches