→Graphisoft Home →Download ArchiCAD Educational →Download ArchiCAD Trial →ArchiCAD Forum →ArchiCAD Tutorials

Author:

AndorSzoke

Creation Date:

2006-10-11

ArchiCAD versions

• Archicad 12
• Archicad 11
• Archicad 10
• ArchiCAD 9

Platform:

• Mac OS X
• Windows

Audience:

• power users
• CAD managers

Reference:

• [tracking number]

ArchiCAD Hotfix in Silent Mode

Silent Mode Hotfix install can be achieved by running the installer from the command line with the following parameter: -W play.auto=YES. The correct command line can be obtained by performing the following steps:

On PC

- From the Start Menu choose Run.

- Drag the Hotfix installer executable over to the Run dialog.

- The edit field of the dialog will now contain something like this (in this example, the file is on user's desktop : "C:\Documents and Settings\user\Desktop\AC10-1183.exe"

- Please note that if the path contains folders with spaces in their name that this line will be automatically put between quote marks.

- Complete the line with a space and copy the following: -W play.auto=YES

- Thus the line will show this: "C:\Documents and Settings\user\Desktop\AC10-1183.exe" -W play.auto=YES

- Please note the space before the -W and the play.auto parameters

On MacOS

- go to the installer file of ArchiCAD

- right click on it

- from the appearing context menu select “Show Package Content

- Double click on the Contents folder

- In the Contents folder open the MacOS folder

- In the MacOS folder you will find the AC10-<build number>. Drag its icon to the terminal.

- On the terminal the current path of this application will be shown: e.g: …/AC10-<build-number>/AC10-<build-number>.app/Contents/MacOS/AC10-<build number>

- Complete the line with the following: -W play.auto=YES

- The complete line should look something like this: …/AC10-<build-number>/AC10-<build-number>.app/Contents/MacOS/AC10-<build number> -W play.auto=YES

For the silent installations the following scenarios are suggested:

A.) The Cad Manager places the Hotfix Installer to a path publicly available from the client machines. Then either the Cad Manager prepares the login script of the client machines so that when a user logs in then the Hotfix Installer is started from the mentioned path or the users are asked to run a previously prepared batch script which runs the installer with the mentioned parameter.

B.) The Cad Manager places the Hotfix Installer to the shared folders of all client machines by accessing the local machines from the Cad Manager’s computer. Then either the Cad Manager prepares the login script of the client machines so that when a user logs in then the Hotfix Installer is started from the shared folder or the users are asked to run a previously prepared batch script which runs the installer with the mentioned parameter.

When the installer is run this way the application will create a log file called AutoUpdate.log that the Cad Manager can later analize. That is why the particular user has to have rights for writing into the folder where the installer is placed. The log of one session will contain the time of the process start, the time of the process end, the user’s name, the computer name, and the info on whether the install succeded or failed. If the installation fails then the log will also contain the cause of the failure. If there is no ArhiCAD to be updated then this message will be displayed followed by an error message that the user should contact the administrator.

Notes for ArchiCAD11 and ArchiCAD12: ArchiCAD 11 (and 12) hotfix packages will install themselves in silent mode (without explicitly using any parameters) if on the particular computer there is one and only one legally installed ArchiCAD11 (or ArchiCAD12). There is one exception compared to ArchiCAD 10: the "finish" dialog will come up after the installation thus notifying the users that an installation was performed. From build 1086 of ArchiCAD11 one can make the "finish" dialog not appear though. For this one has to place a "gshotfix.ini" file next to the Hotfix installer which must contain this string:

SilentInstall=1

Related Articles


CategorySetup

TechNotes/ArchiCAD Hotfix in Silent Mode (last edited 2008-09-08 12:37:31 by AndorSzoke)