Forums » .NET » Visual Studio »

Install the third party prerequisites along with msi setup created .Net


Posted Date: 28 Aug 2012      Posted By:: abhijeet gupta     Member Level: Silver    Member Rank: 2880     Points: 1   Responses: 2



How to install the third party prerequisites along with msi setup created using setup and deployment in vb.net.

thanks in advance.




Responses

#686275    Author: RayalaHariKishore      Member Level: Gold      Member Rank: 52     Date: 28/Aug/2012   Rating: 2 out of 52 out of 5     Points: 0

hi,
refer these msdn
http://social.msdn.microsoft.com/search/en-US/default.aspx?query=custom%20install%20prerequisites
http://msdn.microsoft.com/en-us/library/ms165429(v=vs.80).aspx

Rayala HariKishore

try..try..try...you achieved it.
http://rayalaharikishore.wordpress.com/



 
#686303    Author: Rajapandian      Member Level: Gold      Member Rank: 244     Date: 28/Aug/2012   Rating: 2 out of 52 out of 5     Points: 4

Hi,

You can add custom actions with the setup project.

1) Add new project and write your custom code to install other prerequisites. Code will be like below:

namespace CustomInstall
{
[RunInstaller(true)]
public class CustomInstaller : Installer
{
public override void Install(System.Collections.IDictionary stateSaver)
{
base.Install(stateSaver);
//Code to install third party prerequisites goes here.
}
}
}

2) Add custom project's primary output to setup project.
(Right click the setup project, Add\Project Output..., Select the custom installer project and primary output, click OK.)
3) Add primary output of custom project to "Install" custom action.
(Right click the setup project, View\Custom Actions. Right click Install, select "Add Custom Action", double click Application folder, select primary output of custom project, click OK.)

Regards,
Rajapandian
.Net & SharePoint



 
Post Reply
You must Sign In to post a response.

Next : This code gives an error
Previous : Gridview not updating
Return to Discussion Forum
Post New Message
Category:

Related Messages
Active Members
TodayLast 7 Daysmore...

Awards & Gifts
Copyright © SpiderWorks Technologies Pvt Ltd., Kochi, India
2005 - 2012 All Rights Reserved.
.NET and other trademarks mentioned in this site belong to Microsoft and other respective trademark owners.
Articles, tutorials and all other content offered here is for educational purpose only.
We are not associated with Microsoft or its partners.