1. A thieno [3,2-d] pyrimidine derivative of the formula (I) or a pharmaceutically acceptable salt thereof: wherein A is hydrogen, C 1-6 alkyl, Cycloalkyl, 3-6 membered heterocycloalkyl, Caryl or 5-10 membered heteroaryl, in wherein said aryl or heteroaryl is optionally reduced or substituted with hydrogen; W is O, S, S (O), S (O), NH, —NHNH — or 3-6 membered heterocycloalkyl; X and Y are each independently CH or N; Z is hydrogen, C1-6alkyl or NRR in which said R and R are each independently hydrogen, C1-6alkyl or - (CH) qB-, B represents NRR, Calkoxy, Cycloalkyl or 3-6 membered heterocycloalkyl; R represents hydrogen, halogen, C 1-6 alkyl or Calkoxy in which said alkyl or alkoxy is unsubstituted or substituted by one or more halogen atoms ; R is hydrogen, halogen, —CF, —NO, —OH, —CN, Calkoxy, C 1-6alkyl, Salkenyl, Calkynyl, —NRR, —NHSOR, SOR, —C (O) R, —NHC (O) R, - NHC (O) OR, —S (O) R, Cycloalkyl, 5-10 membered heterocycloalkyl, Saryl, Caryloxy, 5-10 membered heteroaryl, or 3-6 membered heteroaryloxy in which said R is attached to A via - ( CH) p-yl is substituted with C1-6alkyl, C1-6alkyl, C1-6alkylcarbonyl or one or more halogen atoms; R, R, R, R, R, R, R, R, R and R4 are each independently hydrogen, -NH, C1-6alkyl, Calkoxy, Cycloalkyl or 3-6 membered heterocycloalkyl, wherein said alkyl, alkoxy, cycloalkyl or heterocycloalkyl is unsubstituted or substituted by one or more halogen atoms; q is an integer in the range from 0 to 3; p is an integer in the range from 0 to 3; m is an integer in the range from 0 to 5; n is an integer in dia a range from 0 to 2; when A represents hydrogen, m represents 0.2. Thieno [3,2-d] pyrimidine derivative or its f1. Производное тиено[3,2-d]пиримидина формулы (I) или его фармацевтически приемлемая соль:,в которойА представляет собой водород, Cалкил, Сциклоалкил, 3-6-членный гетероциклоалкил, Сарил или 5-10-членный гетероарил, в которой указанный арил или гетероарил является необязательно восстановленным или замещенным водородом;W п