0

我需要创建一个打包的安装程序来检查某些要求,并在需要时安装所需的 exe,但应用程序本身可能会安装多次。所以我需要它像一个没有系统占用的便携式应用程序

4

1 回答 1

0

Yes, this is possible. You can create a setup.exe bootstrapper to install thinks like the .NET Framework of C++ redistributables and then launch your MSI. In your MSI you can use the Setup Files (SUPPORTDIR) pattern to have a temp directory with a bunch of resources and invoke an EXE in there. When the EXE closes the installer resumes, cleans up the temp directory and exits without ever technically installing.

Crazy idea? Perhaps. But Team Viewer optionally uses this approach and it works very well. Some people get a meeting invite and really don't want to have to install yet another screen sharing program.

于 2013-10-30T14:27:16.460 回答