We want to install SPoD (natural workstation) automatically on developers pc via an automated script. So far no problem.
However we would like that some customisations that are normally done by the developer himself once he logs on for the first time are part of the automated script as well.
Example: the activation of NDV plugins, the definitions of the NDV server connections, some predefined user commands, etc.
Who has a good idea ?
The mappings are in user dependent profile on Natural Prof directory. Maybe you can copy a standard .PRU file to the Prof directory during installation.
I’m not sure if the Usercommands and Plugins are defined within the .PRU file as well.
The user commands are actually stored in the registry. Look at this key (for example):
HKEY_CURRENT_USER\Software\Software AG\Natural\6.2\Commands\User Commands
And to indicate which plug-ins should be started automatically, you also need to add some data to the registry. Look at:
HKEY_CURRENT_USER\Software\Software AG\Natural\6.2\Plug-ins
Then add the Plug-in GUID as a child key to this node for each plug-in you want to start automatically. For example, here is a example registry file (.reg) contents to make sure the plug-in manager and object compare are started automatically:
Windows Registry Editor Version 5.00
[HKEY_CURRENT_USER\Software\Software AG\Natural\6.2\Plug-ins]
[HKEY_CURRENT_USER\Software\Software AG\Natural\6.2\Plug-ins\{9B22E72B-7913-493C-A4FB-6B00A007D5FD}]
@="Plug-in Manager"
[HKEY_CURRENT_USER\Software\Software AG\Natural\6.2\Plug-ins\{D3503545-4F8F-4F60-8166-4EDB5C2FEA96}]
@="Object Compare"