setup-deployment

Windows Service Setup issue removing the windows service

I'm doing a windows service setup project on VS2008, it has a custom action for setting app.config values. The setup work fine installing the service and setting the app.config values but when I try to uninstall the service, it removes the files but keep the service registered, so I can install it again using the setup, I need to use "sc...

Change userSettings during MSI installation

Hi, I am trying to modify the userSettings section (Properties.MyApp.Default) in the MyApp.exe.config file during the installatio of my WPF application using an MSI installer. I basically implemented it like in this excellent article: http://raquila.com/software/configure-app-config-application-settings-during-msi-install/ The differe...

deleting registry key, using Visual Studio 2008 setup and deployment project in windows 7

I have created a setup and deployment project in Visual Studio 2008 Professional. I'm using Visual C++, and in it I have two exe files which run under custom actions. One is running in commit and other in uninstall. Purpose is to add a registry key at install time and remove it at uninstall. It works perfectly on Windows XP but when I ch...

What are the industry standard ways of packaging and deploying WCF services

Hi Is there a industry standard way of packaging and deploying web services which can cater to following contraints/Complexities Web services are developed in different location and ultimately deployed on common site This should take care of versioning ( Side by side web service deployment) Client side versioning issues ...

EntityException: Access to the database file is not allowed

I am working on a Visual Sudio 2010 Setup Project to install an Entity Framework / SQL Compact app. The app needs to install an SDF file on the user's machine. As I understand the Microsoft guidance, I should install the SDF file to a company\application subfolder under C:\ProgramsData on the user's machine, which I have done in the setu...

Unable to read .rtf file in VS.NET 2008 Setup

Hello All I have created a simple windows application in .NET 2008. Im packaging the same into a setup file using .NET Setup and Deployment. Also i am customizing it to include a License Agreement UI. And i am pointing the License Agreement window to read the license.rtf file which is being included in the Application folder. After su...

Read specific language readme file based on locale in .NET Setup and Deployment

Hello How can i read a specific language file in VS.NET Setup and Deployment based on the locale. For instance, I have to read ReadMe_English.rtf when the regional settings on the installed pc is English. I have to read ReadMe_German.rtf when the regional settings on the installed pc is German. Any ideas how to configure for the lo...

Bootstrapper Package for SQL Server 2008 Native Client and SQL Server 2008 Management Objects

I'm using the Bootstrapper Manifest Generator to make bootstrapper packages for the following redistrbutables: Microsoft SQL Server 2008 Management Objects Microsoft Core XML Services (MSXML) 6.0 Microsoft SQL Server 2008 Native Client Microsoft SQL Server System CLR Types I have a MsiProductCheck install conditions to determine if t...

WPF Application Deployment Problem

i created a WPF application and i added a setup solution and i did everything to deploy the project and i got my setup.msi i installed it in my system, The problem is my application is running in task manager, but i cant see my application any where in desktop or start menu,but tast manager process show that my application is running. ...

Error while installing a .net setup executable locally

Hello I have created a setup for my windows application in .NET 2008 After building the same i have the .msi and setup.exe files in my release folder. The problem i am facing is : I can install the application using the msi installer files from the shared network folder. But when i copy the installer locally and tried to install it, ...

Deployment project in VisualStudio: Is the output in Debug or Releaase mode?

I have a solution in Visual studio containing a winform project(WinProj) and a deployment project for WinProj. I added to the deployment project the primary output from WinProj. Does it be compiled in Debug or Release mode? I am asking because in the WinProj code I have conditional precompiler statements #if DEBUG throw; #endif ...

Avoid existing files being overwritten when newer version is installed.

Hello I have a VS2008 windows application project (WinProject) which is deployed by the installation project (InstallationProject) which inturn has the property RemovePreviousVersions set to True. In my app for each configuration made by an user, the winapp writes the configurations into an xml file (stored in C:\Application Name\Fil...

Visual Studio Setup and Deployment - D Drive

I'm creating a VS2005 setup and deployment installer and I need to create some folders in the D: drive since the customer has a partitioned their hard-drive. I've created some folders in the filesystem view and hard-coded the 'DefaultLocation' parameter to point to the D: drive. Now my question is, is it possible to put a 'Condition'...

Retrieving the installation path from the installer

Hi, I have a Visual Studio 2008 setup which I created for a Visual C++ project. Is there any way that I can get the installation path that the user specifies at the installation folder prompt? Thank You! ...

Registration during Setup/Install packages

Is it possible to register a .NET component during the installation of a VB6 app? Is it also possible to grant security (eg. via CAPSOL) as part of an installation package? Will InnoSetup do this? ...

Visual Studio 2010 Installer Project - Text Input Validation

Hi Everyone, I'm doing with Visual Studio 2010 Installer Project. I want users to enter an text input the installer will check if it is valid. If the text is NOT valid (somethings like emails), installer lets the users know and suggests re-enter the text. I could not find how to check the validation, anyone knows how to do, please help...

setup.py install dependency too?

I have a python source distribution, and it depends on some other modules that I've also made. The directory tree looks like this. I've written a setup.py file for one of those modules (pydirac225, for those of you who are following along at home), and I want to have that setup.py called from the main setup.py? Another module dependenc...

How should a QA Environment be setup?

I am currently at a loss. We are moving from Dev-owned testing environment to a QA-owned one. I have worked in a QA-owned testing environment before. But I have never set one up from scratch. I understand that it should mirror Production as much as possible. But how? How have you setup your QA Environment? ...

How do I best implement my Windows desktop and service C# applications automatic updates?

My project contains WinForms, WPF, and Windows Service programs running on users' office desktop PCs. I want these applications to periodically check for new versions available at specific URL, automatically download new versions and replace themselves with new versions without attracting any user attention (keeping in mind that users ma...

Unregistering COM dll with a C# Setup Project

Hi All. I've been stuck on this one for a while. I'll try explain in the simplest terms and at the best of my knowledge. I will honour any help. I've got a C# project which uses a VB6 compiled ActiveX DLL that I'm constantly updating. I compile the setup project, send it to the client and they run the setup. When building the updated s...