Details:
Error message :
The installation process produces an error message and stops. For example:
Vba Setup Error: 115
or
Install return code not OK
File C:\Document and settings\…\Temp\VbaSetupInst.log
Section: VbaForSv Key: RetCode
Code: 1605
Cause :
Most usually this condition arises from there being an earlier version of the VBAforSV software on the station. In principle that is removed when the PcVue software is de-installed. However if the user who de-installs it is different from the one who installed it, PcVue may not be removed properly from the station.
Solutions
Solution 1 – automatic removal
- Obtain the user name under which the software was installed. (If it is not to hand, see How to find… below.)
- Open a Windows session as that user.
- In the Add/Delete Programs dialog, find the entry for the version of PcVue with VBA. (Use Solution 2 if you do not find it.)
- Remove that software.
Solution 2 – manual removal
Use if the entry in the Add/Delete Programs dialog does not exist or does not work (this can happen if the files in PcVue’s BIN folder were deleted manually).
- Obtain the user name under which the software was installed. (If it is not to hand, see How to find… below.)
- Open a Windows session as that user.
- In Windows Start / Run, de-install VBA for SV using the following command line:
Msiexec.exe /x {Product Code Guide}
where the product code guide is as follows:
8.00 : {9FB61016-D240-4B93-941A-C1F1AE22DD08}
8.10 : {ECED0716-0CD4-4C1B-A6EA-0C41C19BD285}
CPC 1.2 : {2D00C00E-BF37-43B2-A55B-5A19E846214A}
8.11 / 8.2 / CPC 1.3 : {D4F4EFF9-81EF-4AD7-AF84-FEB3D15E4963}
9.0 : {2E87C0D8-CC13-4C07-B23A-EA4DF8A19EF7}
- Only if you are 100% sure that there is no other application on the PC using VBA you can then delete it completely using the following commands. see How to make sure… below.
Msiexec.exe /x {90F50409-6000-11D3-8CFE-0150048383C9}
Msiexec.exe /x {90F60409-6000-11D3-8CFE-0150048383C9}
Otherwise leave VBA in place, even if it is not being used
|
The above applies also to installation of the Web Services demonstration portal for PcVue versions 8.00 and 8.10.
|
Clean up after removal
When you have de-installed VBAforSV, manually delete the key with the product code guide for the version of PcVue:
HKLM\SOFTWARE\Microsoft\VBA\VBA6.4\InstalledBy\{Product Code Guide}
Also manually delete the key for VBA version 6.4 and its tree structure:
HKLM\SOFTWARE\Microsoft\VBA\VBA6.4
Only the following value should remain:
HKLM\SOFTWARE\Microsoft\VBA\VBA6.4 Installed = 1
How to find the installer’s user name
This method depends on the PC’s TEMP environment variable not having been altered.
- From a command prompt run the RegEdit utility and find the following section of the Registry:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\
- In that section, find the following key according to the version of PcVue:
8.00 : {9FB61016-D240-4B93-941A-C1F1AE22DD08}
8.10 : {ECED0716-0CD4-4C1B-A6EA-0C41C19BD285}
CPC 1.2 : {2D00C00E-BF37-43B2-A55B-5A19E846214A}
8.11 / 8.2 / CPC 1.3 : {D4F4EFF9-81EF-4AD7-AF84-FEB3D15E4963}
9.0 : {2E87C0D8-CC13-4C07-B23A-EA4DF8A19EF7}
- In the key, find the following values:
DisplayName for either VbaforSV or VbaforCPC (just to make sure you have the right key).
InstallSource which gives the path to the installer’s temporary folder, in the format C:\Documents and Settings\<user>.
- If it has not been altered, the last part of that path is the user name you need.
How to make sure that no other software uses VBA
-
- Run the RegEdit utility and find the following section of the Registry:
HKLM\SOFTWARE\Microsoft\VBA\VBA6.4\InstalledBy
- That contains a list of all software applications that have installed VBA and hence use it.
- If the only such key or keys has/have the Product Code Guide for VBAforSV, you can rest assured that no other software uses VBA on that station.
|
You can cause severe damage to a Windows installation by modifying its Registry Database incorrectly.
|
|