Deployment Project changes

  • Thread starter Thread starter SimeonArgus
  • Start date Start date
S

SimeonArgus

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
 
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
 
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" ;)
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top