Use Visual Studio Setup project. Setup project can automatically include .NET framework setup in your installation package:
Here is my step-by-step for windows forms application:
- Create setup project. You can use Setup Wizard.
- Select project type.
- Select output.
- Hit Finish.
- Open setup project properties.
- Chose to include .NET framework.
- Build setup project
- Check output
沒有留言:
張貼留言