The Autodesk DWF Viewer can be installed silently.You can do this by way of command line scripting. For the full details on all of the command line install options, see:
This documentation link is based on the Tarma install software we use for our viewer installers. In short there are a couple of silent install options to suit most user needs:
- DwfViewerSetup.exe /q
This performs a silent (quiet, unattended) installation. During silent installations, the normal Setup wizard is suppressed and the entire installation, registration, or uninstallation process is performed without user intervention. This feature is intended for unattended installations and removals.
- DwfViewerSetup.exe /q2
This performs an invisible install. In this mode, the entire installation, registration, or uninstallation process is performed without user intervention and with a completely hidden user interface. (The Setup process will still appear in the Windows Task Manager's list of running processes, though.)
Note - In silent installation mode you cannot specify user registration information for use on the Setup - Registration Information page. Only default user registration, if you specified any on the Advanced project page, takes place in silent installation mode.
Your IT department can install the Autodesk DWF Viewer across your company. By using the steps to install the Autodesk DWF Viewer silently, the viewer can be installed as part of a company-wide automated script.
An alternative to installing it across the company is to have an automatic install occur for each user on the first time they attempt to view a DWF file.This is done by referencing a DWF file from an HTML page. The HTML page contains a special object tag that identifies the location of an Autodesk DWF Viewer installer and a required Autodesk DWF Viewer version. When the HTML page and referenced DWF file are viewed, Microsoft Internet Explorer checks the user’s computer to determine if the Autodesk Viewer is already installed. If the viewer has not been installed or an older version than the one specified is present, Internet Explorer downloads the cabinet file (which contains the Autodesk DWF Viewer components) and facilitates an install. The installation process is interactive where the user must allow the install to complete. The user must have administrative rights to the computer. On Windows XP SP2 systems, users must allow a popup at the start of the installation process. The cab file has been digitally signed by Autodesk to ensure its authenticity. An example of the HTML to initiate an install is:
<PARAM NAME="Src" VALUE="my.dwf">
This HTML references the cabinet file from the Autodesk site with a local file called my.dwf. This HTML requires version 22.214.171.1249 of the Autodesk DWF Viewer. If you wish to allow users to install from a local copy, you can place a copy of the cab file on your local network and change the CODEBASE URL to point to the cab file at that location.