Visual Studio Setup Project with all files from a folder

前端 未结 10 581
陌清茗
陌清茗 2021-01-13 17:27

We have a setup project that currently adds Project Output\'s from different visual studio projects. We want to change the packaging system and use a folder with a bunch of

10条回答
  •  攒了一身酷
    2021-01-13 17:28

    I have the same issue. Although not the ideal solution, one idea I've had is to have a batch file that zips the files up and then my setup project just distributes that zip. After that, you'd have to unzip them after installation.

    Alternatively, you could write a small app to compress them into a single file and decompress them when the app runs the first time. Basically the same solution, except you write it yourself so no need to use a third party unzip tool and the installation process is a little cleaner.

    I think I'm actually going to do the latter solution for my project soon because I'm not looking at paying the big bucks for a better install app just yet either.

提交回复
热议问题