473,498 Members | 1,930 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 1264
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*********@gmail.comwrote in message
news:11*********************@j72g2000cwa.googlegro ups.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

"SimeonArgus" <si*********@gmail.comwrote in message
news:11*********************@j72g2000cwa.googlegro ups.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

"SimeonArgus" <si*********@gmail.comwrote in message
news:11**********************@73g2000cwn.googlegro ups.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*********@gmail.comwrote in message
news:11*********************@j72g2000cwa.googlegr oups.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
1768
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...
6
1207
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...
3
1572
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...
0
1038
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...
4
2340
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...
10
2985
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...
1
1297
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...
0
1018
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...
0
2044
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...
0
7125
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,...
0
7002
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...
1
6885
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...
0
5462
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,...
1
4908
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...
0
4588
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...
0
3093
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...
0
3081
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
1417
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 ...

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.