Difference between revisions of "Setup Multiuser"

From WireCAD Online Help
Jump to: navigation, search
Line 9: Line 9:
 
# Configure your Project>Settings[[Settings:Support Paths|[Support Paths]]]
 
# Configure your Project>Settings[[Settings:Support Paths|[Support Paths]]]
 
## Set up a network share that is visible to all WireCAD users. If you are mapping a network drive then all users must map the same drive letter. We recommend at least two folders.  
 
## Set up a network share that is visible to all WireCAD users. If you are mapping a network drive then all users must map the same drive letter. We recommend at least two folders.  
### One for shared documents[[File:Supportpaths.jpg‎|thumb|Project>Settings[Support Paths]]]
+
### One for shared documents. We will refer to this as: YOURNETWORKSHARE\YOURWIRECADSHAREDDOCSFOLDER [[File:Supportpaths.jpg‎|thumb|Project>Settings[Support Paths]]]
### One for Project
+
### One for Project. We will refer to this as: YOURNETWORKSHARE\YOURWIRECADprojectsFOLDER
 
## Copy files that you want to share. We recommend that you share the following folders:
 
## Copy files that you want to share. We recommend that you share the following folders:
 
### Template Drawings folder.
 
### Template Drawings folder.

Revision as of 20:02, 28 December 2010

Multi User Setup

In most cases you will be setting up for a multiuser installation using WireCAD PRO or ENT(not released yet). You will be using SQL shared databases on a database server. You will also require a file server that each WireCAD user has full permissions on.

Initial Setup

Follow these steps to set up:

  1. Install SQL Server - More...
  2. Launch WireCAD and run the Project>Application Setup Wizard
  3. Configure the Application Setup Wizard for SQL Server Global Databases to look at the server for the Global Databases.
  4. Configure your Project>Settings[Support Paths]
    1. Set up a network share that is visible to all WireCAD users. If you are mapping a network drive then all users must map the same drive letter. We recommend at least two folders.
      1. One for shared documents. We will refer to this as: YOURNETWORKSHARE\YOURWIRECADSHAREDDOCSFOLDER
        Project>Settings[Support Paths]
      2. One for Project. We will refer to this as: YOURNETWORKSHARE\YOURWIRECADprojectsFOLDER
    2. Copy files that you want to share. We recommend that you share the following folders:
      1. Template Drawings folder.
      2. Reports Folder(s).
  5. Once you have the network share configured and permission set for all users. Set the following Support Paths:
    1. Template Drawings should be pointed to YOURNETWORKSHARE\YOURWIRECADSHAREDDOCSFOLDER\Template Drawings folder.
    2. Reports should be pointed to YOURNETWORKSHARE\YOURWIRECADSHAREDDOCSFOLDER\Reports.
    3. Default New Project Location should be pointed to YOURNETWORKSHARE\YOURWIRECADprojectsFOLDER.

Now that you have one machine set up we can proceed to any other clients and set them up.

Other Client Setup

Simple Method

The following steps outline the simplest method to set up another machine. This is a manual process. For more information on automating the process look at the Complex Method below.

  1. Install WireCAD on the other machines and authorize the install.
  2. Copy the following files to the target machines from the first machine we just set up.
    1. ApplicationSettings.xml
    2. SupportPaths.xml

Bulbgraph.png Note:

XP Path:
C:\Documents and Settings\All Users\Documents\WireCAD\WireCAD6\ApplicationSettings.xml
C:\Documents and Settings\All Users\Documents\WireCAD\WireCAD6\SupportPaths.xml
Vista/Win7 Path:
C:\Users\Public\Documents\WireCAD\WireCAD6\ApplicationSettings.xml
C:\Users\Public\Documents\WireCAD\WireCAD6\SupportPaths.xml


'


Complex Method

The complex method involves setting up a batch file in conjunction with a shared location to house the above settings files and installers. This approach creates a easily installable setup that any user in the organization can simply double-click to install and setup the application.

The steps the installer batch file should perform are as follows:

  1. Check for and create the shared folders if they don't exist.
  2. Copy the WireCAD installer into the shared folder.
  3. Run the installer from the shared folder.
  4. Copy the settings files from the simple method.
  5. Launch WireCAD passing in the authorization code as a parameter so the user does not have to enter the big long key.

Batch File Code:

Echo off
REM Copyright © Holbrook Enterprises, Inc. 2010
REM ---------------------------------------------------------------------------------------
 
 
rem lines that begin with rem (short for remark) are not executed
REM----------------------------------------------------------------------------------------
rem THIS BATCH FILE IS STRUCTURED FOR XP PATHS NOT VISTA OR WIN7
REM----------------------------------------------------------------------------------------
REM PREREQUISITES
REM 1. Create a network share that is visible to all WireCAD clients
REM 2. Create a folder on that share to hold installation files. I'll call it INSTALL_FOLDER
REM 3. place this file in your INSTALL_FOLDER
REM 4. Copy the C:\Documents and Settings\All Users\Documents\WireCAD\WireCAD6\Application Settings.XML from the machine
REM    that you set up the WireCADGlobalEquipmentDatabase on and place it in yout INSTALL_FOLDER
REM 5.  Copy the C:\Documents and Settings\All Users\Documents\WireCAD\WireCAD6\Support Paths.XML from the machine
REM    that you set up the WireCADGlobalEquipmentDatabase on and place it in yout INSTALL_FOLDER
REM 6. Copy your WireCAD installer into your INSTALL_FOLDER
REM 7. MODIFY THE PATHS IN THIS FILE TO MATCH YOUR SERVER SHARE PATH
 
 
REM this next line prints the text following the Echo command to the command line window
Echo Creating Necessary Directories
rem this next makes a required directory on the client machine if it does not exist
if not exist "C:\Documents and Settings\All Users\Documents\WireCAD\WireCAD6" md "C:\Documents and Settings\All Users\Documents\WireCAD\WireCAD6"
 
 
Echo Copying Installer
REM now let's copy the installer to the local machine
REM be sure to modify the path and file name to match yours
Copy "\\INSTALL_FOLDER\wc6.0.0.14xxsetup.exe" "C:\Documents and Settings\All Users\Documents\WireCAD\WireCAD6\"
 
Echo Running Installer
REM now we run the installer in silent mode. This selects all defaults and only displays a progress bar
start /wait "" "C:\Documents and Settings\All Users\Documents\WireCAD\WireCAD6\wc6.0.0.14xxsetup.exe" /SILENT
 
 
Echo Copying Application Settings XML File
REM now copy the app settings file that is configured to look for our sql server
Copy "\\INSTALL_FOLDER\ApplicationSettings.xml" "C:\Documents and Settings\All Users\Documents\WireCAD\WireCAD6\ApplicationSettings.xml"
 
Echo Copying Support Paths XML File
REM now copy the support paths file that has our default paths
Copy "\\INSTALL_FOLDER\SupportPaths.xml" "C:\Documents and Settings\All Users\Documents\WireCAD\WireCAD6\SupportPaths.xml"
 
 
Echo DONE!