Thanks a lot. I will try to use that. It looks pretty easy. Meanwhile I have another question. if I copy those ocx files into the system32 folder, the program starts up ok. The MAPI works and sends mail. But if I try to connect to a access database it says "ADODC1 - Provider cannot be found, it may not be properly installed" and then gives a error "Run time error 3706, application-defined or object-defined error" and closes the program. Why does it happen? What should I do?

Cheers!
Kumar

Quote Originally Posted by randem
Try Using ********** to Create your Inno Setup Script. You can avoid problems like this in the future.