Last post Jan 08, 2008 02:04 AM by alisonlu
Dec 28, 2007 01:53 AM|ravi.ambar|LINK
I have an ASP.Net Project which is going to use on INTRANET or single user can also use this application depends upon requirement.
Now what i want to know that How to create set up file which will be run on user 's computer.
when user use that setup file then what will be the prerequisite for that setup file.(eg: IIS Server,SQL services etc..)
Publish website and copy website will be not suitable because my ASP.NET application will be deployed at various places and i don't know that
which computer client is using.
I want to create such setup file which can be downloaded from internet.
i think ultimately i have to use websetup .
what will be the best way , and how can i create this setup file . Please help me..
Web Deployment Project
web deployment projects
Dec 28, 2007 11:25 PM|alisonlu|LINK
Dec 29, 2007 12:50 AM|ravi.ambar|LINK
But what will happen if client machine is a non-IIS.
Is there any solution for NON-IIS computer. Can we add IIS with the help of our SETUP file or any other solution for this.
Dec 29, 2007 09:21 AM|Jeev|LINK
Is there any solution for NON-IIS computer. Can we add IIS with the help of our SETUP file or any other solution for this--
By default there is nothing available to my knowledge...The set up project may prompt you. However there is an option to add custom actions to your set up project-This can be used to check and install IIS . You may want to investigate that option and see
if it works
Jan 08, 2008 02:04 AM|alisonlu|LINK
As I mentioned earlier, you can customize your setup project. In particular you can set conditions on how and/or when your setup project installs on the machine. Jeev is right in that you can check if IIS exists on your machine before your web project
gets installed. To do this, you add a Launch Condition (Rt Click Setup Project in Solution Explorer -> View -> Launch Conditions). You then see a tree view listing the requirements you want for the target machine. Next, go to the Action menu -> Add Internet
Information Services Launch Condition. Now you see that a Search for IIS will occur when you install this setup project. You can customize it further by editing those Condition properties and for example check for a specific version of IIS. I believe if
IIS isn't detected, an error message will pop up and the installation terminates.
I'm not sure if using your same web setup project to install IIS is possible, but I agree that another area to explore will be the Custom Actions window (Rt Click Setup Project in Solution Explorer -> View -> Custom Actions). There, you can specify an Install
action that your web setup project does not normally do by default. I'll try and see if I can find a more definitive answer to this part. Please let me know if you are still stuck or if you found a solution that worked.