An improved process for preparing 4-[(3-chloro-4-fluorophenyl)amino]-6-{[4-(N,N-dimethylamino)-1-oxo-2-buten-1-yl]amino}-7-((S)-tetrahydrofuran-3-yloxy)-quinazoline and related aminocrotonyl compounds and the preparation of a suitable salt of 4-[(3-chloro-4-fluorophenyl)amino]-6-{[4-(N,N-dimethylamino)-1-oxo-2-buten-1-yl]amino}-7-((S)-tetrahydrofuran-3-yloxy)-quinazoline for use as a pharmaceutically active substance.본 발명은 4-[(3-클로로-4-플루오로페닐)아미노]-6-{[4-(N,N-디메틸-아미노)-1-옥소-2-부텐-1-일]아미노}-7-((S)-테트라하이드로푸란-3-일옥시)-퀴나졸린 및, 관련 아미노크로토닐 화합물 및 약제학적 활성 물질로서 사용하기 위한 4-[(3-클로로-4-플루오로페닐)아미노]-6-{[4-(N,N-디메틸아미노)-1-옥소-2-부텐-1-일]아미노}-7-((S)-테트라하이드로푸란-3-일옥시)-퀴나졸린의 적합한 염의 제조방법에 관한 것이다.