469,134 Members | 1,353 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,134 developers. It's quick & easy.

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 1142
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 discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

1 post views Thread by Sean Kessinger | last post: by
6 posts views Thread by abcd | last post: by
3 posts views Thread by jw56578 | last post: by
reply views Thread by Rich | last post: by
4 posts views Thread by Zany | last post: by
10 posts views Thread by =?Utf-8?B?Q2h1Y2sgUA==?= | last post: by
1 post views Thread by apondu | last post: by
reply views Thread by Darren Sim | last post: by
reply views Thread by zhoujie | last post: by
1 post views Thread by Mortomer39 | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.