Create Setup file

Dear All

I have downloaded the code, made few changes to upload the Pdf converted file to my site folder using webservice, Now i need to buid the setup again and install, to use the latest changed features. How can i create the setup which include all the things required. plz guide me.

Thanks