Click here to Skip to main content
15,901,035 members
Please Sign up or sign in to vote.
4.00/5 (3 votes)
I have created web application in ASP.Net and backend Sqlserver 2000

I want to upload application on my company server and we will use this application
For internal purpose only.

They need setup file of this application like .exe or .msi file so that they can run this setup on any machine inside the company and connect to the server.

I have created setup file by following below link –

http://weblogs.asp.net/scottgu/archive/2007/06/15/tip-trick-creating-packaged-asp-net-setup-programs-with-vs-2005.aspx


I created Setup file and completed till step 3.. but when I am trying to install setup it goes on next page It will show WebSiteName and Virual directory name but after clicking next button Installation is started but after some time action is rollback and showing the message Installer was interrupted before setup1 could be installed. You need to restart the installer and try again.

My system details are – Visual Studio 2008, sql server 2000, Windows XP Professional SP3, IIS 5.1

Regards,

Reshma
Posted
Updated 26-Jun-18 1:57am
v2

 
Share this answer
 
Comments
rcgurav 9-Dec-11 3:38am    
i tried all above links also .. but the facing the same prblem.
Setup is created but when i try to install showing msg Installer was interrupted before setup1 could be installed. You need to restart the installer and try again.
Steps:
1.Open Visual studio New--> project.
2.Select Setup and deployment in left side and Web Setup Project in right side pane.Select the Location where to create the setup file and give Name to solution.
3.The application will have the bin file under Web Application Folder,here you have to rename bin into bin1.
4.Copy and Paste File that you have published.
5.After data pasted the folder have bin and bin1 ,delete bin1 folder you re-named .
6.Right click the Web Application Folder select the Properties Window.
7.Set Default Document as Application starting Login page ( Login.aspx ).
8.In Solution Explorer Select User interface Editor.
9.In User Interface Editor ,Select add Dialogue in Start.
10.Select Customer information in Add Dialogue Box and click OK.
11.. By default Customer Information will be at last so move above one step.
12.Select property for Customer Information
13.Serial number template are there , we can create number of possibilities of keyword template

Valid editable characters for the SerialNumberTemplate property are:
Char Meaning
# Requires a digit that will not be included in the validation algorithm.
% Requires a digit that will be included in the validation algorithm.
? Requires an alphanumeric character that will not be included in the validation algorithm.
^ Requires an uppercase or lowercase character. Numeric digits are not valid here.
< Any characters to the left of this character will not be visible in the dialog box.
> Any characters to the right of this character will not be visible in the dialog box. Required as a terminator if the < character is used.

Any other character is treated as a literal constant.

XML
For example, setting the SerialNumberTemplate property to "<### - %%%%>" creates two text boxes separated by a dash surrounded by spaces. Validation for the first box (###) simply verifies that the user has entered three digits. The second box (%%%%) is validated by an algorithm that adds the digits together and divides the sum by 7. If the remainder is 0, validation succeeds; otherwise, it fails.

Example
                  ????? - %%%%% - ????? - ????? - ?????
 You could still use a mix of numbers and letters in your keys, but the second box would always contain numbers - i.e. "BC45T - 340707 - 1XFFE - EFT22 - 1XYZ3



14.Set Show Serial Number properties to True.
15.Build the Process
16.Go to the Local folder where the project created and copy the .msi Extension file and install the application
 
Share this answer
 
v2
Comments
Prince Antony G 9-Dec-11 4:29am    
The Above Steps are done in Visual
Studio 2005.Let us try same as in 2008. I m not sure.
rcgurav 10-Dec-11 6:19am    
IIS issue is solved by running this command.
%windir%\Microsoft.NET\Framework\v2.0.50727\aspnet_regiis.exe –i

and now setup is installed.. but it creates virtual directory.
i dont want virtual directory, i want icon on desktop and after clicking on icon the 1st page has to be display like username and password..

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900