473,722 Members | 2,295 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Deployment and Setup woes

Oz
Hi

We in our company build asp.net and MS SQL Server apps for deployment on
clients' machines. We have created an Installer class (DBInstaller) which
runs several scripts to build a database, populate it will data, etc. I
would like to be able to create a setup file, which, if the application is
NOT installed on the client computer, installs from scratch. This already
works in the MSI file we create. However, if the application DOES exist on
the target computer, i would like to set some options in VS.NET Setup
Project, not ORCA, that in the same setup file, would allow me to :

- update only those files where the files included in MSI date is greater
than the files on the client disk.

- run a different installer class (DBUpgrader), which refreshed all the SPs
and views, and optionally adds extra data to look-up tables and may add
extra fields to tables.

If the user double clicks on the setup file, where the application already
exists on their machine and the setupfile is a newer version of the setup
file, it should by default assume an upgrade is going to take place and not
that the application is to be repaired or removed. Removing the
application, means dropping the database, which by this time most likely
includes some client data. Obviously, we do not want to do this.

Setting the RemovePreviousV ersions attribute within the Setup project will
remove all files and reinstall them. This is again unacceptable as we do not
want to remove the database, or most of the aspx files). We would only want
to update some aspx files, update the compiled assemblies (if applicable)
and run some update scripts on the database.

Can this be accomplished through VS.NET, or through Orca?

We are using VS.NET 2003 on Windows XP to deploye ASP.NET/VB.NET components
and SQL Server applications.We are also using the MSDE Bootstrap Loader
Configurator.

Thanks

Oz
Nov 18 '05 #1
0 1098

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

Similar topics

1
1556
by: source | last post by:
I have a setup project and I am adding registry entries in my setup. For one of my regitry entries I need to assing the value of the path. When I put the value of my registry as \mypage.htm when I install my app, the value is simply set as "\mypage.htm" without the path of the application folder. If I also need to run a batch file as one of the Custom Action, my main problem is ... within my batch file I need to register my dll, so I...
2
1686
by: Scanner2001 | last post by:
This may not be the best group to post to, so if there are any suggestions as to a different group, please let me know. Here is what we are doing, we have a couple of dlls that are shared (i.e. used by a number of other dlls and applications). These dlls have their own setup process, built with VS2003 setup and deployment package. They are strongly named and have keys. We specify to deploy to the GAC only on the target production server....
4
3532
by: James | last post by:
I have a VB windows forms application that accesses a Microsoft Access database that has been secured using user-level security. The application is being deployed using No-Touch deployment. The objective in utilizing this new deployment method is to reduce the maintenance overhead as well as making it easier for my users to setup and run the application initially. I have VS 2002, Windows XP, Access XP(2000 format). He is my problem....
0
921
by: Oz | last post by:
Hi We in our company build asp.net and MS SQL Server apps for deployment on clients' machines. We have created an Installer class (DBInstaller) which runs several scripts to build a database, populate it will data, etc. I would like to be able to create a setup file, which, if the application is NOT installed on the client computer, installs from scratch. This already works in the MSI file we create. However, if the application DOES...
7
2837
by: dhussong | last post by:
I have created a Setup and Deployment project in Visual Studio.NET 2003. After my installation has completed running I'd like to launch the EXE that I just installed. I've found how to launch the EXE in the Custom Actions area of the Setup and Deployment project. Unfortunately when the EXE is launched it causes the setup program to stay open until the EXE has been exited. Anyone have any ideas how to launch the EXE and get the setup...
0
5201
by: blkwebman | last post by:
I'm trying to create a "standalone" install package (without any of the dialog boxes that a standard setup package would have). I think I understand how to do it in VB6 (using PDCmdLn.exe); I have already researched this subject in the MSDN for VB6. Here is the problem: I'm trying to execute a batch file containing this command and I'm running into a couple of errors. Here is the contents of the batch file: ...
0
819
by: =?Utf-8?B?QXJuZSBCZXJ1bGRzZW4=?= | last post by:
I have an app created in vb.net 2005 and I've created the Setup app within. My problem is...I would like net framework...if not present...to auto install. This app will be downloaded from the web. My problem is...the setup.exe does a fine job installing the Net Framework piece but can't find the related .msi even though it is on the web too. The msi file installs the app...but won't install the net framework. How can I make this all...
6
4067
by: andrewbb | last post by:
I want to deploy a service with a windows app and the setup program must conform to the Vista certification requirements. Can that be done with the standard .net setup project? Assuming cost is an issue, what else is available?
2
373
by: Miro | last post by:
Reading the help file it says in step 2 to click on "other project types" and then click on "Setup and Deployment projects".( see below ) I am using vb2005 express. Im assuming this is not an express option? I do not have that option available. All I have is: -Windows Application -Class Library -Consol Applicaotin -My Movie Colleciton -Screen Saver Starter Kit
0
8739
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
9384
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...
0
9238
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
9157
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,...
1
6681
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5995
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
4762
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
3207
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
2602
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.