开发者

Visual Studio: Creating Folders With Specified Name

开发者 https://www.devze.com 2022-12-12 23:12 出处:网络
I need to have some actions in the installer to create a folder and some subfolders. The folders aren\'t related to where the installation occurs or any standard folder but a specified name (e.g. c:\\

I need to have some actions in the installer to create a folder and some subfolders. The folders aren't related to where the installation occurs or any standard folder but a specified name (e.g. c:\mediace开发者_开发知识库ntre).

I guess one option is to use a custom action, but is there another way?


Right click "File System on Target Machine" — "add special folder" — "custom folder".

Rename the new custom folder, right click it — "properties".

In the properties editor window, set "always create" to true. Set "defaultlocation" to the desired folder path.

0

精彩评论

暂无评论...
验证码 换一张
取 消