Click here to Skip to main content
14,326,118 members
Rate this:
Please Sign up or sign in to vote.
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

Rate this:
Please Sign up or sign in to vote.

Solution 1

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[^]
   
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, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100