3.4.1 Silent installation for version 30 SP2024
Example of the unattended.ini file
Syntax (uppercase / lowercase / English language / no spaces) is essential for proper operation.
[GENERAL]
EULA=ACCEPT
ClientNumber=04.1234.0
Language=ENGLISH
DesktopShortcut=TRUE
OfflineInstallation=FALSE
SkipInstallation=FALSE
UpdateExe=EXE_30
RemoveObsoleteVersions=FALSE
Wood=TRUE
[DIRECTORIES]
TargetDir="C:\Program Files\cadwork.dir"
UpdateDir="C:\Users\PublicDocuments\cadwork\update"
Userprofil="C:\Users\PublicDocuments\cadwork\userprofil_30"
CadworkCat="C:\Users\PublicDocuments\cadwork\cadwork.cat"
[CATALOGS]
Selected=ALL
ConvertUserprofil=TRUE
Parameter [GENERAL]
EULA
End-user license agreement. Acceptance of the end-user license agreement with the value ACCEPT is mandatory for installation to proceed.
ClientNumber
This is your Client Number.
Here are examples of number format depending on client type:
- Format for a client/company: 04.12345.0
- Format for a school: 04.S123.0
- Format for a professor: 04.P.12345
- Format for a student: 04.D.12345 or 04.E.12345
In the examples above, the 04 must be adapted to the number of the branch to which you are attached.
Here's a list of cadwork branches and their numbers:
- 01 = cadwork Engineer / Civil Engineering (Basel)
- 02 = cadwork Holz (Herisau)
- 03 = cadwork Austria
- 04 = cadwork-04 (French language in Europe)
- 05 = cadwork Hildesheim
- 08 = cadwork Iberica
- 09 = cadwork Romania
- 12 = China
- 14 = cadwork Montreal
- 15 = cadwork Australasia
Language
This is the language of the cadwork installer, but also the language of the software when in use.
The language can be changed later in the software. Here's the list of available languages.
- GERMAN
- ENGLISH
- FRENCH
- SPANISH
- ITALIAN
- CZECH
- POLISH
- ROMANIAN
- RUSSIAN
- DUTCH
DesktopShortcut
Should installer create a cadwork shortcut on your desktop?
- TRUE
The shortcut is created. - FALSE
The shortcut is not created.
OfflineInstallation
Should installer check for updates only in the update folder, or compare them with cadwork servers?
- TRUE
The update is offline, depending on the contents of the update folder. - FALSE
Online update according to the cadwork server. The update folder will be completed as required with the most recent or missing files.
SkipInstallation
Should installer only download updates?
- TRUE
Updates will be downloaded from the cadwork server but not installed. - FALSE
Updates will be downloaded from the cadwork server and installed.
UpdateExe
The list of versions to be updated. Versions are separated by the "|" symbol (vertical bar symbol).
Warning:
There must be no spaces between versions and the "|" symbol.
- EXE_30|EXE_29 = Versions 30 and 29 will be updated.
RemoveObsoleteVersions
Older versions will be uninstalled. The version to be installed with this setup and the previous version will be retained (V and V-1). The default value is set to FALSE so that the user has to make the setting consciously. Userprofile folders are not affected by uninstallation. If necessary, they must be deleted manually.
- TRUE
The latest version and the previous version remain. All other versions are deleted.
Example of installing version 30 SP2024 with cwsetup.exe V30 SP2024 :- V30 SP2024 and V29 remain
- V28 and earlier versions are uninstalled
- FALSE
All versions remain on the computer.
Wood=TRUE
cadwork for Wood construction or Engineer / Civil. This option, unless expressly recommended by cadwork technical support, must remain set to TRUE.
- TRUE
Wood construction - FALSE
Engineer / Civil (Switzerland only)
Target files - [DIRECTORIES]
This is where you define the locations of the various folders. Paths must be between "" to be correctly recognized.
For more information on target folders, please go to theTarget folders section in the Installation section.
The default value is noted below the path description.
TargetDir
This is the path to the program folder. The default value is :
TargetDir="C:\Program Files\cadwork.dir"
UpdateDir
Path to folder where update installers are downloaded before running.
UpdateDir="C:\Users\Public\Documents\cadwork\update"
Userprofile
Path to userprofil folder (template files, plan export layouts, various settings, etc.)
Userprofil="C:\Users\Public\Documents\cadwork\userprofil_30"
CadworkCat
Path to user-specific catalog folder
CadworkCat="C:\Us\ers\Public\Documents\cadwork\cadwork.cat"
Catalogs - [CATALOGS]
Selected
Does installer need to install the cadwork catalogs?
This will depend on whether it's a computer that only views files, or whether it can be used, even just once, to work with the license.
- ALL
All catalogs, userprofil_30 and cadworkprofil_30 will be installed. - NONE
Neither catalogs, userprofil_30 nor cadworkprofil_30 will be installed.
ConvertUserprofil
Do installer need to convert my 3D and 3DC userprofile and catalog_3d files to the new database format?
This is strongly recommended. Converting the files in the userprofile will pass the elements onto the new database. This will reduce file access times when inserting or using them.
- TRUE
The converter is started and scans the 3d catalog folder and userprofile for 3d and 3dc files, converting them to the new database. This speeds up file access time for opening and insertion. - FALSE
Files will not be converted to the new version. You will need to do this manually for each file, or run the automatic conversion later, as described in the Converting catalogs chapter.
Important:
Correct entry of the customer number and language is required to install the corresponding catalogs and userprofile.
Example
An initial silent installation with one file server and several client computers might look like this.
File server - provides update files
The file server can be either a Windows server or a conventional computer, which will deposit the files in a shared folder on the company network.
To ensure that all the files required for an initial installation are available, cadwork's offline installation offers a complete update folder. It is also possible to use an existing installation.
To download the cadwork Offline Setup ZIP file, go to this page.
Offline Setup creates a new update folder under the default path:
"C:\Users\Public\Documents\cadwork"
With the following subfolders:
- CAT
cadwork and userprofil catalogs - EXE
cadwork module - SETUP
CWSetup cadwork and Windows prerequisites
To enable other network users to access the files, the update folder must be shared via Windows file sharing.
The unattended.ini file is copied to the C:\Users\Public\Documents\cadwork\update\SETUP folder and adapted as required.
Client computer (offline mode)
On the client(s), installation is launched via the network share by starting the cwsetup.exe file using a script, or manually.
The installer runs in the background and is not visible to the user. Installation is complete when the cadwork shortcut appears on the desktop.
If the shortcut is disabled, simply check in the task manager whether cwsetup.exe is still running.
In addition to the selection in cwsetup.exe itself, offline installation is also enabled if the cwsetup.exe file is launched directly from the SETUP subfolder in the Update folder. The installers to be run are taken into account exclusively from the EXE and CAT folders relative to the cwsetup.exe launched.
This enables installation from an external data medium or network share without Internet access, and is used by offline setup. Alternatively, you can copy the entire Update folder of an existing installation to a USB stick and start installation from there.