473,804 Members | 3,324 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Deployment Project Questions

I'm not very knowledgeable using Visual Studio deployment projects, but I
have 2 questions.

1. Can you perform SQL server database functions (i.e. Add views, stored
procedures)? I overcame this obstical by writing an application to perform
the SQL commands to create the views and stored procedures. I then added
this as a step in the install custom actions, and this works fine.

2. Can you have it update just the files that change when you install it?
I want to deploy the project with an app.config file specific to the machine
is on, then as I make future modifications to the application, only deploy
the application. That is have it re-install the new app, and leave all the
app.config and other files intact. I haven't had much luck in getting this
to work. If I set it to RemovePreviousV ersions as false, it doesn't seem to
replace the program with the new version.

Any Ideas? Thanks for your time!

-Andy

Sep 13 '06 #1
0 1031

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
1604
by: Dave Wendleton | last post by:
We are developing ASP.Net apps. We would like to use the Deployment project to create MSI files that would be installed on to the production servers. This will allow us to have our operations department do installs at night easily. The problem I have encountered is there seems to be no way of targeting a specific site on the server. When I try to install it will always go to the first site in the list. Each site has a seperate IP and URL...
2
600
by: ksskumar | last post by:
Hi Friends, My software's target is to creating a add-in for Outlook. I am struckup of creating deployment of my software. My software flow is as follows, 1. Complete functionality is done in C# Class library project In this .dll I am used the following COM components,
0
1550
by: Jony Joe | last post by:
Dear All; I am now making a deployment package using the .net deployment setup project. It is a desktop application that its solution contains 7 projects that generate DLLs and EXEs (executables). The solution generates 2 EXEs that use the other generated Dlls. I used the custom actions method to make the actions after taking some
5
4930
by: Arun Bhalla | last post by:
I'm working with VS.NET 2003 and .NET 1.1 (not SP1) on Windows XP SP1. My application is using the Windows Installer Bootstrap. (I may have also installed a module which detects requirements (.NET 1.1 -> MsiNetAssembly Support.) I have a few issues and questions regarding the MSI and its properties. * This may be my biggest annoyance at the moment. When the installer creates the target directory, it's setting them as read-only. When the...
1
1231
by: Pete Griffint | last post by:
Howdy, I'm finding the Windows Installer documentation a bit baffling, so here are a couple of questions. (1) I want to have a "Path" key in my app's settings in the registry which is set at install time with the path to which my app is installed. I reckon I should be able to do this by the ordinary registry editor in a deployment project in VS, by creating a string value and setting it to some Windows Installer variable - anyone know...
1
1502
by: webfitz | last post by:
I just wanted to hear some ideas and what some have done on this. I'm having a problem deciding how to build or setup our application. This will be an application for our entire company of 700 employees and we have several different departments and groups. After talking with one developer we thought it would be a bad move to develop the whole application as one project since everytime you had to make a change to something you would have to...
1
1156
by: dave | last post by:
I have two questions regarding a VB.NET deployment project. 1) During an install, I would like any previous versions of the application to be uninstalled automatically. Currently, I have to goto Control Panel - Add/Remove Programs and manually uninstall previous versions. In the Properties of the deployment project I have RemovePreviousVersions set to True. This doesn't seem to do the trick. 2) During an install, I would like the...
0
960
by: Andrew E Chapman | last post by:
I've just started using VB.NET, so the following two questions are probably going to seem ludicrous, but... 1). When some items are added to a project, how exactly are they used? For example, if a folder is added (or a text file), and then a deployment project created for that project, the folder (or file) does not appear to be included in the installation. It just seems to get left behind. I assume that these items have to be added...
11
1625
by: Thom Little | last post by:
Create two ASP.NET applications. Run them on the development machine to make sure they are error free. Publish the fist application to the root of a remote webspace. Call a page and see that it operates correctly. Publish the second application to the root of the same remote webspace. Permit it to overwrite existing files. Call a page and notice that it waits forever.
4
2367
by: Zany | last post by:
I added a Web Deployment Project so I can create a debug, staging, and release version. Each set is compiled and saved in a separate folder under the csproj_deploy folder. All works fine. Here's the problem - I'm looking for an *easy* way to upload (ftp) changed files. I don't want to upload them all (huge upload), and don't want to have to it manually by remembering what files have changed. I thought I had the solution when I found a...
0
9705
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9576
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10567
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
1
10310
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
9138
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
6847
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5515
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
5647
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
2
3809
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.