Create Installer For Web APP For Multiple Environments
Dec 18, 2010
I have created an ASP.NET website which accesses a DB. The DB can will be alrady installed at target machine. It can be anything from SQL server 2000 to SQL server 2008. Further more the target OS can be anything from Windows server 2000 to Windows 7. I have kept the target .Net framework version as .Net 2.0 to keep matters simple. Also, the target machine can be x86 or x64 or Itanium. Do I need to create separate builds for different target platforms? How do I create an Installer which will : Put this website on a Virtual Directory of IIS server(can be any IIS version) Detect the target platform and install the appropriate build. I need to do this either using the standard MSI installer of VS2008 or using WiX or any open source installer for that matter.
View 1 Replies
Similar Messages:
May 18, 2010
We are working in healthcare domain and intergating various medical equipments with the web application.Earlier i was window forms control libray and embedd it into my html page but as it is a .net component so to run it on d client machine i had to set the CAS(code access security ) settings on the client machine and for that 1stly client should have .net framework which comes very windy for the client to download closly 350MB data and then do all the CAS stuff. This time i want to get rid from this method and want to use some other way to do this activity.
The major thing that i have to do i need to excute the 1 exe file on click of Button and then once ECG start recording on the client machine its binary file get store on d static path on client machine and after that i browse this file and save it on my server. Now, simply wanted that i should create one installer which can automatically install .net framwwork and do required CAS settings automatically. second thing is how can i upload the file lying on machine to my server. How can i do that in asp.net 3.5?
View 1 Replies
Mar 10, 2011
My company has built a web application using ASP.NET MVC and SQL Server 2008 which also requires some other custom windows components that we built to be installed. What we would like to do is create an installer package that will automate as much as possible to make deployment easier at customer sites. Some of the tasks we are looking to do is: install .net 4, IIS, sql server, setup IIS, deploy web application, configure web.conifg, deploydatabse, and install custom windows services. We are using VS 2010 and the installer has to work on IIS 6 and up. Having never done something like this before, does anyone have any insight and/or where could I look to start finding answers on how to go about this process?
View 2 Replies
Nov 15, 2010
I am working in asp.net application and need to download an installer package from the webserver to the client machine.My installer would contain..
1.Drivers(i.e exe file) for one hardware machine.[IT shouuld automatically run and install in the program file]
2.I have to register MSCOMM32.ocx.Its entry would go into the registry.(like manually we do Regsvr32 path of OCX to register it)
And, I want that above both should done within a single installer package.
But,how to do these things within .Net applications.
View 1 Replies
Jun 15, 2010
I have a large Web Application ( ErPwith 11 subsystem) and I want tocreate a setup for itwith Microsoft WebPI. Currently We send our application for customers once a week (for weekly updates). We usefollowing tools in this application, So How to create a setup for out project toconfigure it in client IIS automatically
List item
.netFramework 3.5
SQL server 2008
Asp.net
C#
NHibernate
Log4net
castleProxy
SQL Server Reporting Services (RDL)
Visual Studio Client Reports (RDLC)
Javascript
JQuery
View 1 Replies
Mar 7, 2011
Can anyone guide me to a website where I can see the list of all the keywords available in a windows installer like [TargetDir] and [ProductVersion].
Can anyone also show me a very detailed tutorial of customizing the windows installer?
View 1 Replies
Jan 28, 2010
what MVC stands for,but if I'm already developing .NET websites without it,is there any reason I would need/want to use it?is it designed for people who already have experience with developing in an MVC environment and wanted a ".net"version of it?Is there some "head-to-head" comparison of MVC against other programming environments or techniques that have been written? It seems like what I might gain in development speed I might lose in flexibility.maybe I just don't understand what all the fuss is about.hence this post!
View 6 Replies
Jul 9, 2010
This question is for ASP.NET and SQL Server developers. What are your best practices with respect to setting up your development and test environment? I'm interesting in the following issues:
1. How many tiers do you recommend and what goes on on each tier? Just dev, test, and production or perhaps dev, test, staging, and production?
2. Which types of applications and/or servers should run on actual physical hardware and which can get away with a VM?
3. What are your strategies for loosely coupling users from web sites, web developers from their web/app/DB servers, and DB developers from their DB servers?
4. How do developers stay "DRY?"
5. What are the pros and cons to putting web, app, and DB servers on their own machines? Does putting servers on separate machines in order to minimize contention for a machine's resources trump any NIC and network latencies that might be introduced by putting them on different machines?
6. How do you configure your web apps to minimize contention for resources (e.g. virtual directories, separate application pools, etc.)
7. How and how often do you refresh your databases on each tier? Do you just refresh the data or both the data and objects?
View 1 Replies
Aug 5, 2010
We deployed our legacy ASP.NET application to production after successful test deployments to our staging environment. The application makes use of RequiredFieldValidators on one particular registration page. On our development and stage environments, the validators successfully detect empty fields when "Submit" is clicked, error messages are displayed, and form submission is prevented. But on production, the validators do not display error messages. Clicking submit will cause a postback, the code-behind checks for Page.IsValid and correctly detects the form has missing fields, but the registration form is redisplayed with no error messages (ie "Please enter an email") to the user.Sample: (note I dont explicitly declare EnableClientScript or SetFocusOnError)
<asp:requiredfieldvalidator id=Requiredfieldvalidator1 runat="server" CssClass="NormalRed" Display="Dynamic" ErrorMessage="Please enter an email." ControlToValidate="txtEmail"></asp:requiredfieldvalidator>
Both environments (stage and production) are identical: Win2K3 Server and IIS 7, SQL Server 2008, and ASP.NET 1.1 runtime (embarrassingly).
View 3 Replies
Aug 4, 2010
What is the best way to store/access connection strings and most importantly the URLs for different environments (dev, validation, production). I'm using ASP.NET 1.1.
View 2 Replies
Apr 15, 2010
I have seen the examples on how to switch between connections strings for development and production enviroments. My web.config also calls out a connection string for <roleManager and membership><providers>. Can this be setup to switch between the two connection strings?
View 1 Replies
Feb 24, 2010
I'm currently in the process of creating a library app to use inconjunction with websites. Note: NOT JUST ASP.NET SITES. I say this because i've made the dll available to COM and it works, I can reference it from VB6 and see the types/functions/enums etc...My question though is this: I like using List<type> in c# and I know if this dll was only to be used with .net sites then there would be no issue but how would a List<type> be returned to a different environment. Can they recognize this?
View 2 Replies
Mar 23, 2010
In my project i'm using the concept of impersonation to implement "File Upload functionality".i.e.
to save the file uploaded to a network share.This n/w share is accessible to an application id only.So i'm impersonating with that user id when uploading a file. I'm importing "advapi32.dll" and using the LOGONUSERA method of that dll to validate the user and get the token for that userid and then impersonate using the Token returned. THis approach is working fine in the development environment but LOGONUSERA always fails in TEST and PRODUCTION environments. It always return "0" which means user id is invalid and the token is zero hence i cannot impersonate. Is it something related to accessing the dll in other environments? Any suggestions to resolve this issue will be a great helpp for us. We are hung with this issue for the past 5 days.
View 1 Replies
Mar 7, 2011
I am trying to design my logic to do this but I want to create a dataSet which will have records from several databases, The records all have the same layout.
I am reagin the connection string paths from a table in a database.
I am asking for your help in trying figure out my logic.
Should I use the connectionString builder in conjunction with a loop to Connect, read a record into a dataset Until therer are no more records to be read from my databse table with the database name/paths tables ?
Here is my beginning code which deals with one database:
[Code]....
View 2 Replies
Oct 19, 2010
I have a form which inserts data in DB on Submit button click but the problem is when client click the button multiple times its sends multiple create requests means multiple button click events for the same time of same data, which must not be.
I tried to disable the button when client click the Submit button first time but after this it does not call server click event handler or not fire the server click event once it got disabled.
How to handle this multiple click problem..
I used the following code to disable the button
[code]....
View 3 Replies
Jan 21, 2010
I am creating a web site through command line. I am able to create a web site with single host address. But i want multiple host address for a website. this is the command I am using iisweb /create D:Test Test.com /d [URL]
View 6 Replies
Feb 18, 2011
I'm currently in the process of creating a webshop. This webshop supports theming, but I also want customers to choose a lay-out. I can create multiple masterpages and create a handler to dynamically set the correct master page. But some components, like the shopping cart, are controls which have to be present in the master page and are also used in the aspx pages. The shopping cart control for instance, has an Update method which is called whenever the user adds a product to their cart. So the question is: can I somehow create a default masterpage which has all the components on it, but still be able to create multiple lay-outs. And how should I reference that master page from the aspx pages? I also thought of creating an Interface class which defines the masterpage and it's public components, but I don't know if I can reference an interface from aspx pages.
View 8 Replies
Aug 21, 2010
Just trying to download it from [URL] for the first time. Web Platform Installer says regarding "Frameworks and Runtimes" (and also "Visual Studio Tools"), "All the recommended products from this group are already installed", even though they're not. Did have something called Visual Studio Runtime Redistributable installed which is just a handful of DLL's. I uninstalled it though - made no difference. Also removed entries from registry with "Visual Studio" in them, also made no difference.
View 1 Replies
Sep 27, 2010
I'm attempting to create an ASP.NET/C# page that runs a PowerShell script that will run an .exe installer. The ASP.NET page is currently running in IIS 6.0 on Windows Server 2003. The PowerShell script works correctly from the PS command line but when invoked from the ASP.NET page the page just hangs. No processes are created and it appears that the server just appears to hang forever. I have successfully gotten other PowerShell scripts that run simple Cmdlets or other scripts to work from the ASP.NET page.
I've verified that the Website has script and execute permissions and that the ASP.NET page can see the script on disk. When I run the script on the command line I am an Admin user, I've checked the user in the ASP.NET page and its running as the 'NT AUTHORITYNETWORK SERVICE' user. I gave that user full permissions to execute the script but there was no change. I feel like the issue is 1. User permissions which I am still a novice on in Windows. 2. Some prompt is being given to execute the script that I am not answering, however no Windows or prompts are displayed when this is run from the ASP.NET page, (the installer is shown when running the script from the command line).
View 1 Replies
Feb 7, 2011
I get the following error when i try to install asp.net mvc 3 using the Web Platform Installer 3.0: "This product did not install succesfully: Downloaded file failed signature verification and may have been tampered with" The other thing I've noticed is that inside the "Application DataMicrosoftWeb Platform InstallerinstallersMVC3..." folder, the Web Platform Installer creats a "AspNetMVC3Setup.exe" file that has a size an aprox file size of 200KB. Meanwhile, at the beginign of the instalation process the Web Platform Installer informs that it will download a 20MB file.
View 1 Replies
Jun 28, 2010
Seemed simple. I clicked on install now, downloaded and ran the Web Installer. First, ASP.Net MVC didn't install. I have uninstalled and reinstalled everything twice without luck. The Web Installer insists ASP.NET MVC is already installed. Second, given a nice menu of CMS dbs to try, I tried Atomz, N2CMS and Umbraco. Atom won't work with the net version downloaded via this download, so why is it even included here? I could not figure out what N2CMS or Umbraco wanted in terms of user names and passwords, so those CMS's didn't install. So, what all do I really need to create a website with ASP.Net MVC? Do I need Visual Studio Express (don't we have to pay for this?). I have Win 7 64 Home Premimum.
View 4 Replies
Oct 14, 2010
I have been reading the below article and I have got it to work.
[URL]
The problem is when I use my database script file it throws an error 1001 saying error next to keyword 'GO'. But if i take the exact same script and run it in SQL Management Studio it works fine.
Try this small script, this is what I am using and its giving me an error, An above is a lovely article to creating a database from microsoft.
[Code]....
View 6 Replies
Mar 25, 2010
How to set up the Windows installer to launch some DLL into GAC when it is needed?
View 1 Replies
Nov 12, 2010
I have an add-on for a commercial ASP.NET website. My add-on requires people to merge entries into their web.config, add/overwrite existing files, and add some DLL files to the bin folder. Is there a good and safe way to create an installer than can do this with a wizard type of installation?
View 2 Replies
Feb 3, 2010
I need to implement a web site installer for my asp.net application. The installer will be handling following features - Deploy the .net web application on to the IIS server Setting up the Sql database connection to run the DB scripts. Execute all the DB scripts. Run another exe for the license management. If some thing goes wrong, need to rollback everything. I have heard about wix and install shield and wondering what would be the best technology suitable for this particular case.
View 2 Replies