setup-deployment

C# - windows service installer not registering service

Hi, I'm trying to use an installer for a Windows service, and would like to avoid using InstallUtil.exe. The installer appears to work correctly (the executable and dlls are in the correct directory), but the service doesn't appear under Computer Management. Here's what I've done so far: The service class name is the default - Servic...

Winforms: Write app.settings during Setup

Hi there, I've battled with modifying Configuration settings in the App.config file in the past, and gave up any hope of making it work. Now again, I find myself in the same shoes, but this time determined to sort it out! The application Im creating is a WindowsForms .NET 3.5 (SP1) app. It is to be used in a closed, networked environm...

Visual C# 2008 Express deployment

Hello, is there any way I can add some files in the deployment process so they get copied in the installation? I need an xml file that has some data that the application needs, I tried every option in the build action for the file but nothing works, the application always crashes after the installation. Also, I'd like the program to be i...

How do I Install Multiple Versions of MyProgram (same PC, VS2008)?

I have a big MDI Suite application that I've written for our company. It is installed on two Citrix servers, and is then accessed by hundreds of Windows terminals across the plant. Before installing updates, I (the sole developer) test my new routines until I am satisfied that it is going to perform how I expect it to. This generally wo...

Installing .Net Add-in for POS 2009

I'm working on writing a WiX project to install a .Net Addin that is built for Microsoft POS 2009. During the development of the project, you had to run the command: AddinUtil.exe -PipelineRoot: {directory to the Addins folder for POS 2009} so that POS 2009 would recognize your Addin. Now that I'm getting ready to do the depl...

Windows application self contains .Net framework?

Hi All, I have a windows application which contain a deployer Does the Deployer self contains a copy of the .Net framework ? or do we have to explicitily install it ? when i check in the solution explorer it shows under the deployer project under detected dependencies the .net framework ?? My windows application connects to the inter...

Is there an auto-upgrade library / framework available for windows that has similar features as the ones Sparkle for Mac OSX provides ?

Our app is built using Qt and I would like to use a framework similar to Sparkle in our Windows version, to replace our custom solution. Is there anything like this ? ...

How to affect configuration of IIS properties using Web Setup Project in Visual Studio 2005

I just built a setup.msi file using the Web Setup Project template within Visual Studio 2005 to deploy my web application to another web server. While it works OK, it results in a new virtual directory on the target webserver that requires a fair bit of custom (i.e. manual) configuration steps using INETMGR on the target webserver. I'...

Where are the files in publish?

Hello: If I use the publish feature in VS2008 (I think it's called ClickOnce install), and then install the published application in another computer, where are the files copied? In other words: If I need an auxiliary file (a .txt file) in the same path of the assembly, where do I have to create it? Thank you. ...

How to make setup exe file run on its own ?

Hi everyone, When i click a exe file it gets extracted well in a folder on specifying the folder path. i have another exe file which comes in the folder with other DLL files on extracting my 1st exe file. Now the problem is exe setup file given in a extracted folder does not start on its own i have to manually go inside the folder to s...

c# Windows Service not appearing in services list after install

I've created a windows service in c#, using Visual Studio 2008 I pretty much followed this: http://www.codeproject.com/KB/dotnet/simplewindowsservice.aspx I created a setup project, as instructed to in the article, and ran it... it installs my service to c:\program files\product etc.... however, it does not then appear in the services l...

Setup kits in VS.2008

Hi, I have run into this problem a lot in the past, but never really found an answer to it. When I create a Setup Kit in Visual Studio 2008 (my projexts are usually in VB if that changes something), it all seem to work fine. However, when I deploy a new version of the setup kit something weird happen: The installation goes just fine (i...

Setup Requires .NET Framework Version 3.5

Hello, I have a C# Winforms application I'm looking to deploy on an XP Laptop with the .NET Framework 1.1 installed. The solution contains three projects, all with a target framework of .NET Framework 2.0 The setup project has the preqrequisite of .NET Framework 2.0 checked. No other prerequisites are checked. Why, when I try to run ...

Create Setup package runtime in .NET

I want to create one application which created Setup file for Window Desktop application runtime with all resource file which application needed. Is this possible? If yes then how I can do this? ...

Vista Schedule Task From Setup

I'm deploying a C# application using the Setup Wizard project in Visual Studio 2008. What is the simplest way for me to have Windows schedule my application to run at regular intervals (e.g. every 8 hours)? I prefer if this scheduling would happen during the application's installation to simplify setup for the end-user. Thanks! ...

Pre-build event to include files in project

I run a pre-build event to copy files to my project's folder (ProjectX). I need to include these files as content files in ProjectX, so that when built, it is seen as part of ProjectX's output or content. ProjectX is then included in a setup project to be deployed, so the files copied to ProjectX must also be included in the setup proj...

Visual Studio Setup and Deployment - Installation Folder Selection

Hello, I have a VS2005 Setup & Deployment project and i've run into an issue that I would like assistance with....Here is my issue: The 'DefaultLocation' for my application is set to '[ProgramFilesFolder]\MyApp'. Now I would like the user to select what drive to install this application to. I know this is accomplished through the 'Ins...

Setup and Deployment of Visual Studio templates, locating devenv.exe to call in custom actions

I am working on a project that consists of installing some Visual Studio templates. Part of the requirement is that the VS executable must be called during Commit and Uninstall phases to make VS aware of the templates. I don't have much information or any proper examples to go on, and I'm pretty new to setup and deployment projects. S...

setup and installation issue

how to resume installation after restarting pc in c# in Setup and Deployment project? ...

Installing SQL Server and .NET Framework from a visual studio setup project

I have to do four things install .net framework 3.5 ,install SQL Server 2005 and run my sql script on the server and create the database and install my application how to do it in a single setup project using visual studio 2005/2008 ...