setup-deployment

Reusing InstallShield prerequisites

I'm looking to have a release layout with multiple installers but with a single source for prerequisites, in the following structure: \Product1\setup.exe \Product2\setup.exe \Product3\setup.exe \Redist The goal is to launch each prerequisite from the master location instead of duplicating each prerequisite to the its product folder. I...

Visual Studio 2008 + Windows 7: Setup Projects hanging

We have Visual Studio 2008 Team System (SP1) installed on Windows 7 on a 64-bit desktop machine. Our solutions contain setup and deployment projects (vdproj). When Visual Studio loads, it hangs trying to load the setup projects. This also happens to newly created solutions entirely in this environment so it is not something lagging f...

How to deploy a windows form application including database to another PC?

All I have built a windows form application using VS 2005 Standard edition which uses SQL Express as the database. I'd now like to deploy my application to another PC that has .NET framework and SQL Server already installed. The bit I am unclear about is what do I need to do to ensure that my database is also deployed with my applicat...

how to protect application files from being modified ?

hi i have an windows application that i have made by visual studio 2008.this application uses some graphical files such as jpeg.i make a setup for this appreciation but i worry about such files being modified by client.would you please help me how to protect those files ? ...

Setup and Deployment does not work

Hi, I am working on VS 2008 and 3.5 framework. I had three windows services. I placed all three in a single solution, created installer individually for each of them. Then created a setup project. When I build it says build failed . But I checked on the errorlist, (i enabled the diagnostics in options menu), but there was no error at all...

How to add an exe file to the setup?

In my windows application, I need to install SQLLiteAdmin database while the desktop application is getting installed. How to do this? I'm using release mode. In the installer class, I used: process.start(AppDomain.CurrentDomain.BaseDirectory + @"\sqliteadmin.exe"); in after_install event. But, it is taking from the path C:/windows/sy...

Install program that has to be run as administrator

Hello! Background: I am by no means a windows security / user permissions expert. I have an application (written in C#), that has to be able to write / delete files & folders in its root directory, write / delete files elsewhere on the disk, write/modify values in System Registry (Local Machine) and start & stop other applications and s...

.Net: Adding files and folders to SETUP Project programmatically

So, here is the scenario: I want to create a installer which would just dump few files and folders at a location specified by user. But the problem is these files are required to be picked up from a fixed source folder and then the installer is build. Also, these files may change any time and then again a new version of t...

while deploying a GAE app getting a sever Error

Another transaction by user suja.pagar14 is already in progress for this app and major version. That user can undo the transaction with appcfg.py's "rollback" command. ...

How do I read the registry in 32-bit c# app such that registry redirection works on 64-bit Windows 7

My boss just got Windows 7 and he tried running one of our installers which runs perfectly fine under XP. On Windows 7, the installer runs without giving any errors. However, it does not create registry keys under HKEY_LOCAL_MACHINE\SOFTWARE{Company}{product}. These keys get created correctly under XP. Has anyone encountered this iss...

SVN and deployment workflow

Trying to keep it simple, but with almost no experience in version control, here is what I came up with for version and deployment workflow for a facebook application that is already live: Development: branch from trunk checkout and setup dev enviroment (automatically create database, netbeans project, facebook app, config file); St...

How to deploy classic asp website?

I would like to know how to deploy or what are the steps that are involved to deploy a classic asp website in IIS 6/7 Can we create an installer for the existing project? ...

Distribute images with C# Setup project

I have a C# project that uses images for logo, and other purposes. The files are on my local system and when I create a set up project and run on a client machine, I get an errr that says "System.ArgumentException: Parameter is not valid. at System.Drawing.Bitmap..ctor(String filename)" If I have to distribute the image along with the p...

COM deployment dependencies

I have been running in to an issue where a COM dll that I am distributing with my application fails to register because the atl.dll is not registered on the machine. The quick fix is to have the run regsvr32 on the dll, but I want something a little cleaner then that. I don't have much experience with deployment and I was wondering if...

Programmatically access All Users Start Menu

Does anyone know how to programmatically access the "All Users" Startup Menu? In XP, located here: C:\Documents and Settings\All Users\Start Menu\Programs\Startup And in Windows 7, located here: C:\ProgramData\Microsoft\Windows\Start Menu\Programs\Startup Specifically, I've got a Setup and Deployment project, and I'd like to put a...

creating setup for installing activex control

Hi I need to create a setup for an ActiveX conrol we have developed. can any body let me knwo, the possible ways of packing the activeX and other depended dll's as a setup. Thanking you. ...

Visual Studio Custom Actions - Commit

I added a second exe file in the Commit folder of a setup and deployment project, which has another exe in the Application Folder. I plan to run the first exe after the latter. First when I tried to run the main exe which is in the Application Folder, an error message came that it cannot run the second one since .msi file is missing. Aft...

Getting the registry key value at runtime in visual studio Registry

Hi, I want to read a registry key value (key entry for the Microsoft Excel installation path) at runtime using visual studio 2008 registry, under project setup and deployment. I want to get the key value (path) to a variable so that I can copy a file to that folder. I can not hard code it. How can I do that?? Thanks & Regards, Isuru ...

Adding Custom dialogs in Visual Studio Setup projects

Hello All I need to develop a Visual Studio Setup Project for my application. As far as i see, i can use only a handful of preconfigured dialogs which i can use. Is there any way possible to use any custom dialogs in Visual Studio SetUp Project ? For ex: Whenever i start my setup, a dialog should be shown to the user prompting him to ...

Launch Condition to Detect Office 2010 Applications

Hi , I was trying to create a setup project using VS2008. Is there anyway to detect if a particular Office 2010 application is installed or not? (as a prerequisite) .eg: i want to detect if Powerpoint 2010 is installed on client machine. I was trying to use windows installer search option in lauch condition but unable to find wha...