Creating Installer Package Visual Studio 2010

2019-02-25 14:09发布

I have a C# application that requires .net version 4 in order to run. I know how to create a basic installer using the Visual Stuido Installer Setup Project that comes with Visual Studio and that installs my application fine, however, I can't get it to check if .net version 4 is already installed in the client machine and if not install it. Does anyone have any suggestions? Should I use a different approach besides this method? Purchasing a license for InstallShield is not an option as that is too expensive. Thanks

1条回答
混吃等死
2楼-- · 2019-02-25 15:01

You should follow this guide on MSDN. It should tell you what you need to know about creating an installer to check for .NET 4.

The long and short of it is, if you set it as a prerequisite, the installer will check that it is installed.

查看更多
登录 后发表回答