Click here to Skip to main content
15,900,108 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I have created a msi pakage using visual studio installer projects 2015 to install my application in client machine. i have and deployed it and it is working successfully.
Now, i want to add prerequisites to be installed before the installation of application.

Those are
1. flash player
2. .net framework 4.5
3. crystal reports for .net framework 32 bit.

Is it possible to create an msi setup by the above files are being installed before the application installs

What I have tried:

I have used prerequisites option in the project properties to add .net framework 4.5 as prerequisite and selected the radio button as Download Prerequisite from the same location as my application.
But when i am building the project it gives an error. You must download the file to your local machine.
I have downloaded the file from Microsoft and placed in my application. But it is giving the same error.

can anyone suggest me how to add the prerequisites to the application using visual studio installer projects.
Posted
Updated 25-Feb-18 23:44pm

1 solution

you must use installshield application to create MSI package and include all your necessary binaries

[simple-steps-to-create-setup-file-using-install-shield]

Basic MSI Project Tutorial[^]

Simple InstallShield tutorial[^]
 
Share this answer
 
Comments
Member 13142345 26-Feb-18 5:46am    
i am not using install shield for creating the setup. i am using visual studio installer projects

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900