Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我需要在安装程序中执行一些操作来创建文件夹和一些子文件夹。这些文件夹与安装发生的位置或任何标准文件夹无关,而是与指定的名称(例如 c:\mediacentre)相关。
我想一个选择是使用自定义操作,但还有另一种方法吗?
右键单击“目标机器上的文件系统”—“添加特殊文件夹”—“自定义文件夹”。
重命名新的自定义文件夹,右键单击它-“属性”。
在属性编辑器窗口中,将“始终创建”设置为 true。将“defaultlocation”设置为所需的文件夹路径。