The test is exactly the same regardless of the add-ons (Apache, PHP, MySQL or MariaD

and updates.
Result := '';
//--- Check if installation folder is that of Wampserver
if(not FileExists(ExpandConstant('{app}\wampmanager.conf'))
or not FileExists(ExpandConstant('{app}\wampmanager.exe'))
or not FileExists(ExpandConstant('{app}\wampmanager.ini'))
or not FileExists(ExpandConstant('{app}\wampmanager.tpl'))
) then
begin
Result := ExpandConstant('{cm:NotPreviousInstall}');
exit;
end;---------------------------------------------------------------
Documentation Apache -
Documentation PHP -
Documentation MySQL -
Wampserver install files & addons