[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 258
  • Last Modified:

Create a custom installer program

Hello,

This quite a high level question.  I've used programs in the past which ask for specific questions during the installation phase.

I'm creating a program where I will need to carry out some custom actions during the installation phase (or failing this run some code the first time the program starts)

Does anybody know what this type of action is called; any links to articles would also be appreciated.

I've done a bit of research and the only thing I can find is something called a 'Installer Class not sure if this is what I'm after.

Thanks.
0
andyw27
Asked:
andyw27
1 Solution
 
Richard LeeSoftware EnthusiastCommented:
You will be looking for something like WIX. This ships with Visual Studio now.

http://msdn.microsoft.com/en-us/library/aa302186.aspx

You will need to investigate custom actions. here is head start

http://wix.sourceforge.net/manual-wix2/standard_customactions.htm
0
 
Gautham JanardhanCommented:
u can use the installer calss during any of the phases in the install and then call a normal windows form inside this. where u can do all the actions.then if u want to cancel installation thorw an InstallException
0
 
mac-willCommented:
Installer class is very powerful.  You can pretty much do anything in an installer class you can do in any other windows .NET class.

You might also want to look into Nullsoft Scriptable Install System.  THis is a very powerful and easy to use install system.

http://nsis.sourceforge.net/Main_Page
0

Featured Post

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now