For the installation of a C# desktop 2010 application, I am using the traditional setup and deployment template.
As part of this template, I want to make certain that a folder is created in a directory path that looks like
C:\log_files.
Thus can you tell me how to have the setup and deployment project create the directory path for me, if the directory path does not exist?
Loading
Hemant SrivastavaPosted Jul 3, 2013, 11:58 AM
(Unless you don't choose any such location which is protected by windows)
dcPosted Jul 3, 2013, 11:11 AM
Hemant SrivastavaPosted Jul 3, 2013, 10:35 AM
Right Click on Setup projetc -> View -> File System
Then Click Application Folder, open property tab
Firstly, Set 'AlwaysCreate' property to TRUE
Then Set 'DeafultLocation' property to your desired location (e.g. C:\Logfiles\)
Hope it should work.