Hello,
i'm using advanced installer 10.0 and i'm building an installer for a AutoCAD / BricsCAD application. So this is not installing an typical executable but a plugin.
What I would like to achieve is to detect if a valid BricsCAD is installed on the system for a conditional install.
I can do this by checking the registry.
fe. below (copied from a innosetup script written by Owen Wengerd)
if IsWin64() then
if RegQueryStringValue(HKCU64, 'Software\Bricsys\Bricscad\V16x64', 'CURVER', ProductKey) then
if RegKeyExists(HKLM64, ('Software\Bricsys\Bricscad\V16x64\' + ProductKey)) then
begin FoundSupportedHost := True; Result := True; end;
I have looked into the search functions of AI but i cannot seem to achieve this.
The query should be possible, but can i do another search with the result of the query and add the productKey to the path ?
ty !
FOLLOW US
Get the latest news in Application Packaging