Open GoogleCodeExporter opened 8 years ago
I can't reproduce this situation here on a normal install of GSS, but it would
appear that the most likely cause is that the product's registry settings are
not correct: the CDbl() function will give this error if given an empty string,
and if the target file does not exist the call to get the file version will
return an empty string.
The product install location comes from
HKLM\Software\Symantec\InstalledApps\Ghost and it would be good to verify that
this registry value is correct: the normal value it would have is "C:\Program
Files\Symantec\Ghost" so that on line 246 the code can inspect the version
string of the file "C:\Program Files\Symantec\Ghost\ngserver.exe"
For this to fail, then the registry key could be not set or set incorrect, or
something else could be interfering with things. If you you check the value of
this registry key and whether it's correctly pointing at the directory
containing the GSS server executables that would help a lot in determining how
I should handle the situation in code, since if the registry setting for this
is wrong then it will have other effects on code later in the script.
Original comment by nigel.bree@gmail.com
on 1 Jul 2012 at 3:37
[deleted comment]
I have found the registry and its has the correct value.
As expected there's is also ngserver.exe in C:\Program
Files\Symantec\Ghost, so ServerExe should be properly set.
---------
On a side note, i have a sandbox running GSS 2.5.1 on a windows 7 32
bits and there's no HKLM\Software\Symantec.
On the same machine, regedit find no strings refering to either
"C:\Program Files\Symantec\Ghost" or "C:\Program
Files\Symantec\Ghost\ngserver.exe"
Original comment by cuic...@gmail.com
on 1 Jul 2012 at 8:09
Original issue reported on code.google.com by
cuic...@gmail.com
on 1 Jul 2012 at 12:16Attachments: