Hello all,
I'm looking for corroboration on an issue. I've not yet submitted this to support.
We have identified what seems to be a reproducible issue with the packaged "Application Information (Windows) analysis. One some machines, the applications area returns as Singular expression refers to nonexistant object.
On investigating, it seems that this section of relevance is fragile can break in at least two circumstances.
(if x64 of operating system then(( expand environment string of (value "DisplayName" of it as string) & (if (exists value "DisplayVersion" of it) then (" | " & expand environment string of (value "DisplayVersion" of it as string)) else (""))) of keys whose ((not exists value "SystemComponent" of it OR value "SystemComponent" of it as string != "1") AND (not exists value "WindowsInstaller" of it OR value "WindowsInstaller" of it as string != "1") AND exists value "UninstallString" of it AND not exists value "ParentKeyName" of it AND exists value "DisplayName" of it) of key "HKLM\Software\Microsoft\Windows\CurrentVersion\Uninstall" of registry) else nothing)
1.The key's value "DisplayVersion" exists, but its value is empty.
After quite a bit of debugging, it seems we have eight such packages. Seven of these are from the same vendor, in the public safety arena. Relevance to turn up such machines is:
exists keys whose ((exists value "DisplayName" of it) AND (exists value "DisplayVersion" of it) AND (value "DisplayVersion" of it = "") AND (not exists value "SystemComponent" of it OR value "SystemComponent" of it as string != "1") AND (not exists value "WindowsInstaller" of it OR value "WindowsInstaller" of it as string != "1") AND exists value "UninstallString" of it AND not exists value "ParentKeyName" of it) of keys "HKLM\Software\Microsoft\Windows\CurrentVersion\Uninstall" of (x32 registries; x64 registries)
Analysis property to return such entries is:
(value "DisplayName" of it as string) of keys whose ((exists value "DisplayName" of it) AND (value "DisplayVersion" of it = "") AND (not exists value "SystemComponent" of it OR value "SystemComponent" of it as string != "1") AND (not exists value "WindowsInstaller" of it OR value "WindowsInstaller" of it as string != "1") AND exists value "UninstallString" of it AND not exists value "ParentKeyName" of it) of keys "HKLM\Software\Microsoft\Windows\CurrentVersion\Uninstall" of (x32 registries; x64 registries)
2.The key's value "DisplayName" exists, but has its value is null.
I can isolate one such package, but a generic relevance eludes me.
Q: /* DEBUG MISSING DISPLAYNAME */ (exists name of it, (name of it | "none"), it) of values of keys whose ((name of it = "{8C415C6B-7569-41B9-8203-7E93278C46C9}") and (not exists value "SystemComponent" of it OR value "SystemComponent" of it as string != "1") AND (not exists value "WindowsInstaller" of it OR value "WindowsInstaller" of it as string != "1") AND exists value "UninstallString" of it AND not exists value "ParentKeyName" of it AND exists value "DisplayName" of it) of key "HKLM\Software\Microsoft\Windows\CurrentVersion\Uninstall" of registry
A: True, DisplayVersion, 3.1.0
A: True, Language, 1033
A: True, InstallDate, 20141002
A: True, DisplayIcon, ( <PATH_TO_ICONS_FILES>\PortaCount.ico,0 )
A: True, URLInfoAbout, TSI Incorporated/http://www.TSI.com
A: True, InstallSource, C:\Users\REDACTED\Desktop\FitPro+ v3.0.exe
A: True, InstallLocation, C:\FitPro+
A: True, LogFile, C:\Program Files (x86)\InstallShield Installation Information\{8C415C6B-7569-41B9-8203-7E93278C46C9}\setup.ilg
A: True, UninstallString, "C:\Program Files (x86)\InstallShield Installation Information\{8C415C6B-7569-41B9-8203-7E93278C46C9}\setup.exe" -runfromtemp -l0x0409 -removeonly
A: True, NoRepair, 1
A: True, ModifyPath, "C:\Program Files (x86)\InstallShield Installation Information\{8C415C6B-7569-41B9-8203-7E93278C46C9}\setup.exe" -runfromtemp -l0x0409
A: True, VersionMinor, 1
A: True, VersionMajor, 3
A: True, Version, 50397184
A: True, RegOwner, TSI Inc.
A: True, RegCompany, TSI Inc.
A: True, Publisher, TSI Incorporated
A: True, ProductGuid, {8C415C6B-7569-41B9-8203-7E93278C46C9}
A: False, none,
A: True, LogMode, 1
A: True, DisplayName,
T: 33.000 ms
Has anyone else seen these behaviors?
Thank you,
Andrew

