hi
iam doing like this in VS2005
first i create a website and then go to add->newproject->setupand deployment->websetup project
and then goto webapplication folder select add->project output->copntent files
after that i build the project.
in debug folder->setup file
i install that setup file and then go to virtual directory the websetup file contains all code files
Thank You