Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

Need help creating an installation custom action

Posted on 2012-04-10
3
Medium Priority
?
198 Views
Last Modified: 2012-06-27
I am creating a deployment project for my windows application. What I want to accomplish is when i run the install, I want an entry created in the database, in addition to installing my application.


So i have added Install class to my windows application project that would add a necessary entry to a database. Now how do set up my setup and deployment project so that my custom action gets executed before installing the application?
0
Comment
Question by:YZlat
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
3 Comments
 
LVL 20

Expert Comment

by:BuggyCoder
ID: 37829904
Here, have a look at this step by step msdn tutorial:-

http://msdn.microsoft.com/en-us/library/d9k65z2d.aspx
0
 
LVL 35

Author Comment

by:YZlat
ID: 37832366
I don't think you understood the question. In the link you provided a Class library is created and added to the primary output of the setup project. I already have my Windows app added to the primary output of the setup class. Now i also need to add my Class library project
0
 
LVL 20

Accepted Solution

by:
BuggyCoder earned 1500 total points
ID: 37832413
no just add the your installer class to it...
In case of library, it will automatically search for class of Installer type. both approaches will work
0

Featured Post

Major Serverless Shift

Comparison of major players like AWS, Microsoft Azure, IBM Bluemix, and Google Cloud Platform

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Welcome my friends to the second instalment and follow-up to our Minify and Concatenate Your Scripts and Stylesheets (http://www.experts-exchange.com/Programming/Languages/.NET/ASP.NET/A_4334-Minify-and-Concatenate-Your-Scripts-and-Stylesheets.html)…
More often than not, we developers are confronted with a need: a need to make some kind of magic happen via code. Whether it is for a client, for the boss, or for our own personal projects, the need must be satisfied. Most of the time, the Framework…
This is my first video review of Microsoft Bookings, I will be doing a part two with a bit more information, but wanted to get this out to you folks.
Add bar graphs to Access queries using Unicode block characters. Graphs appear on every record in the color you want. Give life to numbers. Hopes this gives you ideas on visualizing your data in new ways ~ Create a calculated field in a query: …

715 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question