Professional Documents
Culture Documents
Version 1.9
AIM
THE ISSUE
With 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 SOLUTION
Edgecam 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.
ToolStore
Data Temporary Folder Location
Location
Sub Strategy Folder
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\machdef
When 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 NAMES
Category
name
Network
Location
Temporary
Location
Code
Generators
ToolStore
Support
Folders
Master
Strategy
Folder
Strategy Path
Auxiliary
Strategy Files
PCI Script
Include Path
Profile Folder
Default Files
Feature
Templates
Job Reports
Folder
Job Reports
Templates
Images
Folder
Code
Generator
compilation
folder
Machine Files
Description
NetworkLocation
CodeGeneratorFolder
MasterStrategyFiles
SubStrategyFiles
TempLocation
Tool Data
PCIIncludePath
SupportProfilesFolder
SupportDefaultFolder
FeatureTemplateFolder
JobReportsFolder
JobTemplatesFolder
ImagesFolder
CodeGeneratorWriteFolder
MachinesFolder
Using Tokens
To 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 installation
Typically: <ECINSTALLDIR> = C:\Program Files\Planit\Edgecam
Token name
<ECINSTALLDIR>
<NETWORKLOCAT
ION>
<USER>
<PUBLIC>
<TEMPLOCATION>
<LOCALAPPDATA>
<ALLUSERSPROFI
LE>
Description
Path to the Edgecam installation e.g. C:\Program
Files\Edgecam
Path to the network Edgecam folder structure
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
Path to the Public documents area
Location where the temp files are written
e.g.C:\Users\UserName\AppData\Local\Temp\Planit\
{version}\Edgecam
Path to user application data such as config files and
ptvars.$$$
C:\Users\username\AppData\Local\Planit\
{version}\Edgecam
Path to the general ProgramData folder
C:\ProgramData\Planit\{version}\Edgecam
Files Duplication
Sometimes, 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).
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\machdef
Add or Modify A Key To HKLM - Set The Key And User Cannot Alter
This 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" /f
Delete A Key In HKLM - Allow User To Set The Value In The Folder Utility
By 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}\Location
64bit is HKLM\Software\Wow6432Node\Planit\{version}\Location
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.cm
d
ecRegLocked.cm
d
ecRegClearAll.c
md
ecRegUserContr
ol.cmd
SampleAutomatedInsta
ll.cmd
To 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" -r
This 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 name
Themes
Themes can control the Ribbon bar, Strategy Folder, masks and Splash screen.
When a ribbon bar is saved the data is stored in:<USER>\Themes\{theme name}\ribbon
A set of Strategy files can also be associated with the Theme by copying to the
theme folder structure. If no strategies are present then the theme will use the
default set.
<USER>\Themes\{theme name}\strategy
Any masks applied to a ribbon are stored in the default theme so they can be
shared by all themes.
<USER>\Themes\Default\masks
A splash screen can also be defined for each theme by creating a PNG image file
in the theme folder.
<USER>\Themes\{theme name}\splash.png
Themes are also read from the network location. So if you wish to share a theme
across users then copy the local theme folders and files to the
<NETWORKLOCATION> and it will be listed alongside any <USER> themes.
<NETWORKLOCATION>\Themes\{theme name}
Change Control
Versi
on
1.0
1.1
1.2
1.3
1.4
1.5
1.6
1.7
1.8
1.9
Change
Original document
Added more information to Where will the files be
written to?
Updated for Edgecam 2011.20. Changing from
Pathtrace to Planit in the registry.
Added Job Report locations.
Updated Install script to disable the Migration wizard
Updated to 2011 R2
Updated to 2012 R1
Updated to 2012 R2
Updated to 2013 R1
Updated to 2015 R1
Added Theme section
Date
27/07/2010
07/10/2010
12/10/2010
15/04/2011
11/10/2011
11/05/2012
17/10/2012
08/12/2014
08/12/2014