Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to add an Entire folder to Setup Project in Visual Studio 2008

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.

like image 609
Shamim Hafiz - MSFT Avatar asked Feb 10 '12 11:02

Shamim Hafiz - MSFT


People also ask

How do I add an entire folder to Visual Studio project?

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.

How do I add a setup File in Visual Studio?

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.

How do I change the installation path in setup project?

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.


1 Answers

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.

like image 146
Chand Priyankara Avatar answered Sep 21 '22 15:09

Chand Priyankara