The scenario is, I want to add a folder which contains several Document files containing instructions. How can I select an entire folder and it's contents to be included when Setup is run.
Open your project in Visual Studio > click the Show All Files button > expand the bin , Debug > select and right-click the parent folder > choose Include in Project option.
Go to Extensions > Manage Extensions > Online > Search, find, download and install Microsoft Visual Studio Installer Projects extension. 2). Add a new Setup Project in your solution > right-click Application Folder > Add > Project Output… > choose the corresponding Project > select Primary output > OK.
You can change the default install location for the file folder in the File System view of your setup project. In the properties it's the "DefaultLocation" property. The 2704 error occurs mostly when DefaultDir was set wrong in the Directory table of a MSI file.
You can drag and drop the out side folder to Setup directory structure. Then it will add all files within it WITH FOLDER STRUCTURE.
But, be careful, once you add the folder with sub, folders, large folders added by mistake requires files by folder to folder delete.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With