deployment

Install a .NET windows service without InstallUtil.exe

I have a standard .NET windows service written in C#. Can it install itself without using InstallUtil? Should I use the service installer class? How should I use it? I want to be able to call the following: MyService.exe -install and it will have the same effect as calling: InstallUtil MyService.exe ...

How to get the installation directory?

The MSI stores the installation directory for the future uninstall tasks. Using the INSTALLPROPERTY_INSTALLLOCATION property (that is "InstallLocation") works only the installer has set the ARPINSTALLLOCATION property during the installation. But this property is optional and almost nobody uses it. How could I retrieve the installation...

Managing the migration of breaking database changes to a database shared by old version of the same application

One of my goals is to be able to deploy a new version of a web application that runs side by side the old version. The catch is that everything shares a database. A database that in the new version tends to include significant refactoring to database tables. I would like to be rollout the new version of the application to users over ti...

Best packing strategy for js during continuous integration?

I need to pack all my js, but need to edit it going into source control. is there a nice easy plugin for ccnet, or nant, that will allow me to pack my js, and store them in the same files on the way out to production. Not really looking for file combining, just minifying each file. ...

Deploying an application to Windows Mobile Pocket PC

Iv been encountering problems with disk space when deploying my app to a pocket pc emulator. So what Iv done is set up a shared directory on my pc to simulate a SD card, Iv copied the program there manually and then run it from the emulator, with this approach I still need to do the visual studio deployment as well so that so that the ....

Best way to make sure correct version of file is deployed?

The company I work for writes a lot smallish Perl and Bash scripts to massage data into something usable for our software. These scripts, like any code, can change. I provided them CVS because of the file versioning rather than repository versioning. Anyway, I am thinking out a deploy tool to get the scripts from development to produc...

How do you update an ASP.NET web application?

Simple question. If you have a compiled and published ASP.NET web application running on a server and you need to update, say, a line in one of the codebehind files. Do you shut down the entire site, republish, then load the site back up? Or do you publish straight to your live site with users still using it? ...

Can't upload changes to ASP.NET - publish function doesn't upload changes

Hi, I have developed an asp.net application and when using the publish tool in Visual Studio 2008, my changes don't get uploaded to the server (ie new css files). I made a thread about this on asp.net and was told to clear my local settings folder in my documents/application data, but because I am on a networked pc at work, I don't have...

ClickOnce - Overwriting content files

Hi, I have a solution that is deployed using ClickOnce. It consists of an application, serveral referenced assemblies and a SQL Server Compact database. There is also an assembly which is not referenced by the main application, but simply loaded at runtime. This assembly needs to be deployed along with the application, in the same dir...

Tomcat - Multiple webapps folders

Is it possible to have multiple folders where I can place applications to be deployed? How are these defined? And is it possible to restrict one folder to just be applications for "domain.com" and no other domain. Thanks ...

Application has failed to start ... application configuration is incorrect - VC++ 2005 Runtime Problem

Hello, We moved our Visual C++ 2003 solution to Visual 2005 and now we have problems deploying to clean XP machines. Our solution has a DLL project and a command line executable which uses this DLL. Both projects create and embed manifest files. Our installer also copies the VC8 CRT runtimes from the C:\Programme\Microsoft Visual Stud...

Management and deployment of an n-Tier architecture

How do you manage development and deployment of a n-tier system that's made up of multiple websites, desktop applications, web services and databases that have a mix of dependencies? Assume that you have a continuous integration environment with source control and automated builds. ...

How to generate WiX XML from a .reg file?

Is there a tool to generate WiX XML given a .reg file? In 2.0, you were supposed to be able to run tallow to generate registry XML: tallow -r my.reg For what it's worth, the version of tallow I have is producing empty XML. In 3.0, tallow has been replaced with heat, but I can't figure out how to get it to produce output from a .re...

vb6 xcopy deployment

Can any one tell me how to convert an legacy application which is vb6 ( COM dll's ocx and exes) to use Regfree COM . I tried opening the dlls in visual studio and created manifest file, but some of the dlls it is giving error. Is there any tools out there which will help me to do this process? I tried a tool from codeproject which is...

Can Visual Studio 2008 Standard create a single EXE that does not require .NET framework?

This is truly a beginner question, so I apologize in advance. I have Visual Studio 2008 Standard installed and would like to create a small Windows application that does NOT require any .NET framework when run on computers. Does VS 2008 Standard support such a feature? Any pointers on how to accomplish this would be fantastic. Thanks i...

ASP.NET application breaks when deploying to IIS

Hello everybody, I am developing a small ASP.NET website for online shopping, when testing it out in Visual Studio, everything works fine, however that is no longer the case when I deploy it to IIS. The problem seems to be in a DLL file that I reference, this DLL file contains the Classes I need to initialize and send query requests to ...

MSBuild ReadLinesFromFile all text on one line.

When I do a ReadLinesFromFile on a file in MSBUILD and go to output that file again, I get all the text on one line. All the Carriage returns and LineFeeds are stripped out. <Project DefaultTargets = "Deploy" xmlns="http://schemas.microsoft.com/developer/msbuild/2003" > <Import Project="$(MSBuildExtensionsPath)\MSBuildCommunityTasks\MS...

.NET COM DLL Deployment

What is the best way to do a .NET COM DLL Deployment, I'm having problems using it in the client machine. The COM is being used in a VB6 app.I can add a reference, but when I try to use create objects it gives me an Automation Error. Thanks in advance. ...

What's an effective and somewhat easy to build system to allow customer to submit bug reports after deployment?

I'll be deploying a C++/DirectX/Windows game at the end of January to my customer and I'd like to setup an easy way for them to submit bug reports. Should I setup a website for this? Should I build it into the user interface of the game? Should I just have them send me an email? At a very high level, what are some ideas for an effect...

lsass.exe starts maxing CPU after ASP.NET web app deployment

After deploying a new build (mostly changed DLL's) of an ASP.NET web app the CPU on the server is now jumping to 100% every few seconds and the culprit is lsass.exe. Do you think that the deployment of the asp.net web app to the server and this problem are related? (or a coincidence that it happened at the same time?) More info: This i...