C_sharp
C_sharp

Reputation: 428

How to make an installer package where you have multiple projects and different outputs?

I have three applications, App1, App2, and App3. App3 is the main application that needs to be finally installed on the user's computer. It should go like this:

When the setup starts, it should run App1, which does some authentications, like checking the Username and computer name of the client's computer. If it fails then stop the installation and delete the whole installation file. If it passes the authentication then jump to the App2, which is security check 2, and that window will ask for a timeline, which we have provided to our users via email. If it passes that then install the main application.

Right now, I have made the setup project for the Main App [App3], whereas I have separate projects of App1 and App2. I want to incorporate all these files into one solution and form only one MSI file. I added App1 and App2 as existing projects, but when I setup the project startup to App1 then that's the only application that executes. Why?

Upvotes: 3

Views: 2551

Answers (3)

C_sharp
C_sharp

Reputation: 428

I went out and found so many different options, but the most reasonable and easy approach with lots of capabilities is Advanced Installer. I accomplished the task using the Advanced Installer. I would definitely recommend it.

Upvotes: 0

Cosmin
Cosmin

Reputation: 21426

Any setup authoring tool supports this. You can find a list here: http://en.wikipedia.org/wiki/List_of_installation_software

For MSI-based installers you can execute your applications using custom actions.

Upvotes: 2

MaxDataSol
MaxDataSol

Reputation: 356

You can write a batch file that runs the three separate EXEs one by one. The thing to keep in mind is that it won't be one MSI packaging 3 separate EXEs but 1 batch file and 3 EXEs.

Upvotes: -1

Related Questions