Allplan silent installation (Allplan 2017 and later)
Can I "automate" the installation of Allplan?
You can install Allplan 2017 in silent mode. This installation mode is fully automatic; you do not need to enter anything. Silent installation is particularly useful if you want to install Allplan 2017 with the same settings on a large number of workstations on a network.
Requirements for installing in silent mode:
Pay attention to the different licensing types!
Licensing for stand-alone workstations:
Make sure you have not yet activated a license on the computer where you want to record silent installation. Use the Viewer option for recording.
After having installed all computers in silent mode, you must use the Product Key to activate the license locally on each computer.
To activate the license after installation:
- Open the 'License settings' dialog box: Services application -> Utilities -> License settings
- Click License activationon the left.
- Enter your Product Key.
- Click Activate license.
Using a license server:
- The clients take the licenses from a license server.
- The license server is installed.
- The license of the license server is activated.
For more information on the license server, go to https://connect.allplan.com/en/faqid/20150618084450.html
Use the Use active licenseoption for recording.
Setup writes the license settings to the %AppData%\Nemetschek\Lic3.ini file.You must distribute this file to all computers.
Some more tips:
- Before you start installing, unzip the Allplan installation package (for example, using the 7_Zip program). Make sure this package is in a folder that can be accessed by all clients you want to install.
- Start the command prompt for running the setup program always as a local administrator. To do this, open the shortcut menu and select "Run as administrator". Make sure you always start the command prompt from the correct folder.
- Setup will automatically install any Microsoft components required by Allplan such as Microsoft .NET-Framework or Microsoft Report Viewer without prompting you to confirm.
Preparing to install in silent mode
To record and run silent installation, you need the installation files of Allplan 2017.
Installing in silent mode involves three steps:
Creating the log file for installing in silent mode
Start by installing Allplan 2017 with the /r option on a typical workstation. During installation, Setup automatically writes all entries to a log file named setup.iss. You can then use this file to install the program on the other workstations.
Installing in silent mode
Next, install Allplan 2017 with the /s option on all other workstations. Installation is based on the setup.iss log file you created in the first step.
Checking the installation
Finally, you should check the setup.log file, which was created automatically during setup, to see whether everything was installed correctly.
Note: When installing in silent mode, Setup usually uses the same setup.iss file to install the program on all workstations. However, you can edit some settings of the setup.iss file if you want to adjust paths. You can find more information in the help; see Adjusting the setup.iss filehttp://help.allplan.com/Allplan/2017-0/1031/Allplan/index.htm#331.htm
To install Allplan in silent mode, do the following:
Install .NET 4.6
Silent setup requires you to install .NET 4.6 in advance. The reason for this is that you have to reboot the computer after installation of .NET 4.6. This reboot would interrupt silent installation.
After you have downloaded the installation files, you must unzip these files before you can use them to install in silent mode.
- Unzip the zip file downloaded. This results in an .exe file (for example, Allplan 2017-0-5-cad.exe).
- Then unzip this .exe file using an appropriate program (for example, 7_Zip) and save the resulting file to any folder. You can now use the command prompt to start Setup.exe for recording.
1. Sample installation:
Start by creating a record file. To do this, run setup with the settings you need. You only need to do this once.
Use the command prompt to start this installation with the "/r" option (for record):
To run the setup program, open the command prompt as a local administrator and type the following:
Setup starts and runs as usual.
When you are prompted to choose the license configuration, select the Use vieweroption.
When you are prompted to choose the license configuration, select the Use active licenseoption.
Setup logs the entire installation process, writing everything to the setup.iss file.
If you want, you can change the name and folder of this file:
setup.exe /r /f1<folder>:\Setup.iss
setup.exe /r /f1c:\Setup.iss
This saves the file directly to C:\.
There must not be any blanks between "f1" and the folder!
Copy the setup.iss file to a folder that can be accessed by all clients you want to install. It is a good idea to copy this file to the folder with the Allplan installation files.
Copy the %AppData%\Nemetschek\Lic3.inifile to the %AppData%\Nemetschek folder of every client.
If you install Allplan on a client for the first time, you must create the Nemetschek folder in %AppData% first (for example, C:\Users\Username\Appdata\Roaming\Nemetschek).
2. Silent installation:
Make sure you can access the setup.iss file.
Make sure the Lic3.ini file is in the %AppData%\Nemetschek\ folder.
Setup logs the entire installation process again, writing everything to the setup.log file. You can find this file in the same folder as the setup.iss file. With the /f2 option, you can specify a different folder and file name for the setup.log file.
To start installing Allplan in silent mode on a client, open command prompt as a local administrator and type the following:
setup.exe /s /f1<folder>:\Setup.iss /f2<folder>:\Setup.log
setup.exe /s /f1c:\Setup.iss /f2c:\Setup.log
This saves the file directly to C:\.
Check the setup.log file to see whether everything has been installed correctly. The [ResponseResult] section should return the 'ResultCode=0' value.
If you have several licenses or license servers, select the required license for each client using the Services application - Utilities - License settings.
Refer to the online help for detailed information on installing in silent mode.
To open the help system, press the F1 key during setup. Go to the "Contents" tab, select "Installing" and then "Installing in silent mode".
You can also find information in the help for the license settings:
Services application -> Utilities -> License settings
To open the help system, press the F1 key. Go to the "Contents" tab, select "Licensing Allplan using a license server" and then "Installing in silent mode".
Please note that we cannot provide support for this installation method.