I am attempting to create a setup program(msi) for a vb.net program in VS2010. I am able to create the basic install package but I need to include a directory tree in the installation and I have been unable to do so.
I have tried 2 methods:
1) Drag and drop the directory structure into the project explorer and set the directory to "Include in project"
2) In the project setup area I right click on "File system on Target Machine" and click on "Add special folder" and select custom folder. I then set the folders defaultlocation property to "C:\bac1". I then add the various files and sub directories I also set the "Always Create" property to true.
In both cases it fails to create the directory C:\bac1 when the msi package is run.