installDir = "c:/wamp"I'm sure I'm in the right directory.
begin 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;You must verify that such administrator is owner of c:\wamp\.