What does the EXE do in the Visual Studio setup project output

前端 未结 3 989
轻奢々
轻奢々 2020-12-08 05:03

We are working on a winforms app in Visual Studio 2005 and the setup project we created output both an MSI and an EXE. We aren\'t sure what the EXE file is used for because

3条回答
  •  星月不相逢
    2020-12-08 05:24

    It's a bootstrapper that checks to make sure that the .NET Framework is installed, before launching the MSI. It's pretty handy.

    I suggest using something like SFX Compiler to package the two together into one self-extracting .exe and then launch the extracted setup.exe. This way you retain the benefits of the bootstrapper, but your users only download a single thing.

    Edit: also see

    • The official line: MSDN documentation
    • Some bootstrapper customization: some guy's blog post about what he did

提交回复
热议问题