Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Dynamically include files in MSI setup

I am trying to deploy a bunch of files in a directory in my MSI setup. As the files will change frequently I don't want to add the files directly but rather have a way of automatically including all files from within a directory and deploy them to a certain location.

I am using a Visual Studio Setup Project.

Anybody know how/if this is possible?

like image 367
Patrick Klug Avatar asked Dec 04 '25 13:12

Patrick Klug


1 Answers

I solved the problem by a workaround:

  • Add a build action of packaging entire directory (could be filtered) to a ZIP file.
  • Add a reference to an empty ZIP file to deployment project.
  • Add a custom action to deployment project to extract the ZIP to destination folder.

It's simple and stable.

like image 94
achirlin Avatar answered Dec 09 '25 16:12

achirlin



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!