IIS - iis is supported in windows application - Asked By devendar reddy on 05-Apr-12 05:58 AM

I have a windows application developed in .net c#. I want to put it in IIS similar to web application. Is it possible??
Danasegarane Arunachalam replied to devendar reddy on 05-Apr-12 07:39 AM
The answer is NO. it is not possible.

You cannot host a windows application in web site.

What you could do is create a web application and from there you could call the winforms application.

But before that you have to deploy the windows executes in the client machine
Somesh Yadav replied to devendar reddy on 05-Apr-12 07:41 AM
you cannot deploy a stand alone application on iis. However there is a way around to achieve this. pack your application in an msi, create a batch file that execute the msi silently and execute the exe. create a web app that downloads the batch and msi on clients computer and the execute the batch from the wb app. the bath will do the rest
dipa ahuja replied to devendar reddy on 05-Apr-12 11:07 AM
NO. IIS is used as a web server. 

We call the windows app because its used for particular machine. Windows app are used as a software and can be installed on particular machine. To create the setup file :

To create a setup file follow this ►Create new setup project.  You will find 3 folders:
 
1.Application Folder
2.User's desktop
3.User's program menu
 
► Add the exe, database, images, dll files of you project in the "Application Folder"
 
► Add the exe file in the "User's Desktop" and "User's program Menu" folder if you want a exe 's short cut in the desktop and in start menu
 
Now all files are added now build the project, and you will get the exe setup file of your in the bin directory of your setup project