473,719 Members | 2,239 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Deployment Project changes

I am using Visual Studio 2005, and I have created a deployment project
to distribute the app I've built.

Now, I need to add a dialog (which I've done) to collect two prompts.
Based on those two prompts, I need to add a line to a config file.

Here's my catch: How do I modify the installer to write those two items
to a config file... or even better .. how do I execute an SQL command
without writing my own installer app? I'm so close that I'd hate to
back up ten feet and redo the installer if all I had to do was two or
three steps.

Any info would be appreciated!

--Sim

Dec 5 '06 #1
3 1285
Hi,

You need to create a custom installer action:

"Custom Actions Management in Deployment"
http://msdn2.microsoft.com/en-us/lib...k3(VS.80).aspx
--
Dave Sexton

"SimeonArgu s" <si*********@gm ail.comwrote in message
news:11******** *************@j 72g2000cwa.goog legroups.com...
>I am using Visual Studio 2005, and I have created a deployment project
to distribute the app I've built.

Now, I need to add a dialog (which I've done) to collect two prompts.
Based on those two prompts, I need to add a line to a config file.

Here's my catch: How do I modify the installer to write those two items
to a config file... or even better .. how do I execute an SQL command
without writing my own installer app? I'm so close that I'd hate to
back up ten feet and redo the installer if all I had to do was two or
three steps.

Any info would be appreciated!

--Sim

Dec 5 '06 #2
Thank you for such a quick reply. =)

This implies that I write another program anyway?? Interesting. That's
not what I expected, but if that's the only way to pull it off, it's
easier than writing my own installer top-to-bottom. Thanks again for
your input.

--Sim

Dave Sexton wrote:
Hi,

You need to create a custom installer action:

"Custom Actions Management in Deployment"
http://msdn2.microsoft.com/en-us/lib...k3(VS.80).aspx
--
Dave Sexton

"SimeonArgu s" <si*********@gm ail.comwrote in message
news:11******** *************@j 72g2000cwa.goog legroups.com...
I am using Visual Studio 2005, and I have created a deployment project
to distribute the app I've built.

Now, I need to add a dialog (which I've done) to collect two prompts.
Based on those two prompts, I need to add a line to a config file.

Here's my catch: How do I modify the installer to write those two items
to a config file... or even better .. how do I execute an SQL command
without writing my own installer app? I'm so close that I'd hate to
back up ten feet and redo the installer if all I had to do was two or
three steps.

Any info would be appreciated!

--Sim
Dec 5 '06 #3
Hi Sim,

FYI, you can add a new installer to the project that is being installed and
add that as your custom installer action. In VS right-mouse click the
Project in Solution Explorer and select: Add --New Item - choose
"Installer Class" ;)

--
Dave Sexton

"SimeonArgu s" <si*********@gm ail.comwrote in message
news:11******** **************@ 73g2000cwn.goog legroups.com...
Thank you for such a quick reply. =)

This implies that I write another program anyway?? Interesting. That's
not what I expected, but if that's the only way to pull it off, it's
easier than writing my own installer top-to-bottom. Thanks again for
your input.

--Sim

Dave Sexton wrote:
>Hi,

You need to create a custom installer action:

"Custom Actions Management in Deployment"
http://msdn2.microsoft.com/en-us/lib...k3(VS.80).aspx
--
Dave Sexton

"SimeonArgus " <si*********@gm ail.comwrote in message
news:11******* **************@ j72g2000cwa.goo glegroups.com.. .
>I am using Visual Studio 2005, and I have created a deployment project
to distribute the app I've built.

Now, I need to add a dialog (which I've done) to collect two prompts.
Based on those two prompts, I need to add a line to a config file.

Here's my catch: How do I modify the installer to write those two items
to a config file... or even better .. how do I execute an SQL command
without writing my own installer app? I'm so close that I'd hate to
back up ten feet and redo the installer if all I had to do was two or
three steps.

Any info would be appreciated!

--Sim

Dec 5 '06 #4

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

Similar topics

1
1783
by: Sean Kessinger | last post by:
Thanks, John. Here is the article: http://support.microsoft.com/default.aspx?scid=kb;;821546 I tried the suggestions from this article but still the same problem. No-touch deployment works on Win2K SP3 but keep getting page not found if the web server has Win2K Pro SP4. Sean K.
6
1227
by: abcd | last post by:
I am using simple ASP.NET page using C#.NET I have developed ABCD.aspx page and ABCD.aspx.cs when I compiled it has creatred ABCD.dll in my Bin directory. Now I want to deply this to customer site I guess I will need to distribute
3
1585
by: jw56578 | last post by:
what is the technique used to handle this situation: the method of deployment is to have the developer build the assembly on his local system, then copy the files to the development server, and then to the production server. Developer has been implementing many changes on his local version of the project. Developer needs to make small modification to project and push to
0
1058
by: Rich | last post by:
I have an ASP.NET app (all VB code) that is ready to deploy. I’ve created a Windows Installer package for it, which is working, but I'm wondering whether this is really the best approach. I'd appreciate any input from someone with more experience in deployment packages, etc. Some people don't seem to think that using an installer package is really necessary for a web app, since you don't typically have to repeat the installation many...
4
2360
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...
10
3018
by: =?Utf-8?B?Q2h1Y2sgUA==?= | last post by:
In a web deployment project I want to encrypt the connection strings. I use to do this with a batch file with something like this. aspnet_regiis.exe -pef "connectionStrings" ..\ -prov "HrCustomProvider" I know I need to use <Exec Command='aspnet_regiis.exe -pef "connectionStrings" ..\ -prov "HrCustomProvider"' /> but I cant get it to work.
1
1319
by: apondu | last post by:
Hi Friends... I have a simple query on building the Web Setup project. When i build my setup, i see that the code behind the .aspx pages (.cs code pages) are also included. And when i deploy the project i can see that even those code files are also deployed on the machine and the code with in those .cs files can be seen ( read-only format). But i want the code to be hidden, either those code files should not be deployed ot they should...
0
1034
by: Darren Sim | last post by:
Hi there, I am nearing completion of my first real project in .NET and I'm looking at the various deployment options. The clickonce alternative seems like the ideal option for us, but my solution contains sevreal projects which make up 2 .exe files and a few .dll s which must be included in the installation. It would appear that clickonce deployment only applies to a single solution file, is there any way to combine multiple exe files...
0
2070
by: dfrench | last post by:
I have a visual studio 2008 solution(win forms) I have a Deployment project with it to install the software I upgrade the version number on the deployment project and build it When I run this on the destination machines everything appears to work fine (no errors). However when the application is opened on the deployment machines it has not upgraded. We have to manually uninstall teh application first then run the deployment project. ...
0
8829
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
8726
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
9361
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
9125
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
9054
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
1
6661
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
5972
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
4482
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...
2
2565
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.