To create windows service i took the help of this link
"http://www.codeproject.com/KB/files/C__FileWatcher.aspx".
By running the same file from the above link i got installation problem.
Actually my windows service should transfer files from one folder in C drive to another folder in D drive.
While I install it by visual studio command prompt it starts installing and then finally it displays as below
"The rollback phase completed successfully.
The transacted install has completed.
The installation failed, and the rollback has been completed."
Anyone plz sort my Problemhttp://www.codeproject.com/KB/files/C__FileWatcher.aspx