Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Need help creating an installation custom action

Posted on 2012-04-10
3
Medium Priority
?
200 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
  • 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

NFR key for Veeam Backup for Microsoft Office 365

Veeam is happy to provide a free NFR license (for 1 year, up to 10 users). This license allows for the non‑production use of Veeam Backup for Microsoft Office 365 in your home lab without any feature limitations.

Question has a verified solution.

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

In real business world data are crucial and sometimes data are shared among different information systems. Hence, an agreeable file transfer protocol need to be established.
Hello there! As a developer I have modified and refactored the unit tests which was written by fellow developers in the past. On the course, I have gone through various misconceptions and technical challenges when it comes to implementation. I would…
Want to learn how to record your desktop screen without having to use an outside camera. Click on this video and learn how to use the cool google extension called "Screencastify"! Step 1: Open a new google tab Step 2: Go to the left hand upper corn…
Screencast - Getting to Know the Pipeline

916 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