Overview
This article provides two solutions to an issue you may encounter when installing or upgrading GFI Archiver.
Information
When installing or upgrading GFI Archiver, the Installer stops and rolls back without installing GFI Archiver when ASP.NET is running in a 32-bit mode on a 64-bit machine.
The installation log file in %temp%\marc*.log
shows the following entries:
InstallShield 14:52:42: SetVRootProperties for virtual directory 'Archiver', app 'Archiver'
InstallShield 14:52:42: IIS6 check for ASP.NET version bitness, install is requesting 'x64'
InstallShield 14:52:42: OpenKeyLog, pszMDPath =/LM/W3SVC/APPPOOLS
InstallShield 14:52:42: GetData, pszMDPath = /
InstallShield 14:52:42: Value returned for Enable32bitAppOnWin64: 1
InstallShield 14:52:42: SetAspversion: machine is 64-bit and IIS running in a bit mode other than the currently selected mode
InstallShield 14:52:42: Error with IISRT: -2172
This issue occurs because the 64-bit installer requires ASP.NET to run in the 64-bit mode.
Process
Solution 1
Install the 32-bit version of GFI Archiver instead of the 64-bit version.
Solution 2
IMPORTANT: IIS on a 64-bit operating system supports 32-bit as well as 64-bit, but it does not allow to run both modes simultaneously. However, older versions of ASP.NET applications may require to be run in 32-bit mode. You may also need to check the requirements of other applications registered with the IIS before trying this solution. If you change ASP.NET to run in 64-bit mode with the commands outlined below, it might break other ASP.NET applications that are already installed on the system, which require the 32-bit mode.
- Open the Command Prompt.
- Type the following command to disable the 32-bit mode:
cscript %SYSTEMDRIVE%\inetpub\adminscripts\adsutil.vbs SET W3SVC/AppPools/Enable32bitAppOnWin64 0
- Type the following command to install the version of ASP.NET 4.0 and to install the script maps in the IIS root and under (check the path in your installation and enter the folder name accordingly):
%SYSTEMROOT%\Microsoft.NET\Framework64\v4.x.xxxxx\aspnet_regiis.exe -i
- Make sure that the status of ASP.NET version 4.x.xxxxx is set to Allowed in the web service extension list in IIS.
- Rerun the GFI Archiver installation.
Confirmation
The installation/upgrade of the GFI Archiver is successful.