Installing and Uninstalling AQT
Installing AQT
To install AQT, double click the aqtxxx.exe file. You will need to have Administrator rights in order to install AQT.
It is recommended that you retain this install file in case you need to repair or remove the installation.
Installing under different userids
If your machine has multiple users, the method used for installing AQT is:
- install AQT using an Administrator user
- for each other user, log on then run the AQT install again. This will work OK even if this user doesn't have admin rights - this is because the file-copy and component registration has already been done. This install will add the Start and desktop icons for the user.
Repair Install
If any of your AQT files have been inadvertently deleted or corrupted, you can reinstall them by running aqtxxx.exe and selecting Repair. This will copy the AQT files again. Any files that you have created (queries etc) will not be effected by this.
Upgrading from a Previous Version of AQT
When you upgrade AQT, simply double-click the new aqtxxx.exe file. The Microsoft Installer will automatically deinstall the previous version of AQT then install the new version. You do not need to uninstall AQT first.
Uninstalling AQT
You can do this by one of the following methods:
- going Start > Programs > Advanced Query Tool > Uninstall AQT
- go Control Panel > Add or Remove Programs. Select Advanced Query Tool and click on Remove.
- running the install file aqtxxx.exe file and selecting Uninstall
When you uninstall AQT it will just remove the files that were created during the install. It will not remove:
- any files created by AQT (saved-queries, history files, user-defined relationships, favorites files etc)
- registry settings
- license keys
This means that you can uninstall and reinstall AQT without losing your AQT customizations and preferences. However, if you have a problem with AQT, uninstalling and reinstalling will generally not resolve it, as often this is due to a particular setting.
To remove AQT completely from your machine:
- run the uninstall process
- delete the C:\Program Files\Advanced Query Tool directory
- remove the HKEY_LOCAL_MACHINE\SOFTWARE\Cardett registry key
- remove the HKEY_CURRENT_USER\Software\VB and VBA Program Settings\Cardett registry key
To reset AQT's settings, remove these two registry keys.
Known Problems with Installing AQT
- Windows NT has a bug that can cause Internal error 2755. 1631. This problem is described in the article http://support.microsoft.com/?kbid=251274 It can be resolved by removing any null values from the registry key HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\Environment. Use regedit to remove any null values from this registry key.
- The install fails and gives message The wizard was interrupted before Advanced Query Tool could be completely installed. Your system has not been modified. To complete installation at another time, please run setup again. This is a problem with the Windows Installer that Microsoft provide little useful information on. The following workaround has been found by one user.
- leave the AQT Install dialog open on your desktop. Do not close this.
- go to your TEMP directory which (depending on your version of Windows), may be C:\Documents and Settings\<username>\Local Settings\Temp. <username> is the name which you are signed onto Window as.
- in the TEMP directory will be an msi file with a random name such as 533daa.msi. If you hover your mouse over this, the Tooltip with the program properties will display. This will tell you that this is indeed the install file for AQT.
- double-click this msi file; this should rerun the AQT install which hopefully will work this time.
- you can now close the original Install Dialog (as per the first step). The temp *.msi file will be removed.
- while installing AQT, or uninstalling a previous release, you get message:
- error: 1324 The Path My Pictures contains an invalid character or
- error: 1327 Invalid Drive: x:\
To resolve these:
- start Regedit
- go to registry key HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Shell Folders
- look at each entry and see if the directory is valid. For instance, it might refer to a network that no longer exists
- change the entry to refer to a valid directory
- while upgrading or uninstalling, the Windows Installer asks you for the previous aqtxxx.msi file. This only happens in rare circumstances. In this case, you need to supply the aqtxxx.msi file as requested. If you no longer have a copy of this, contact us for it.
- if your AQT installation state is completely corrupted, you can remove the install entries using the Windows Installer CleanUp Utility. This can be downloaded from http://support.microsoft.com/?kbid=290301 It should only be used as a last resort.
Component Registration Problems
During AQT installation, the components used by AQT are registered to Windows. Occassionally, this does not happen successfully. In this case, when AQT runs it will fail with an error such as:
Component 'xxxx.ocx' or one of its dependencies not correctly registered
For more information on errors such as this, see Registering AQT Components to Windows.