我有这个片段来定义我的目录结构:
<Fragment>
<Directory Id="TARGETDIR" Name="SourceDir">
<Directory Id="ProgramFilesFolder">
<Directory Id="COMPANYFOLDER" Name="MyCompany">
<Directory Id="APPLICATIONFOLDER" Name="HDSS.Net">
<Directory Id="EN" Name="en"/>
</Directory>
</Directory>
</Directory>
<Directory Id="DesktopFolder" Name="Desktop"/>
</Directory>
</Fragment>
我的应用程序中有这个组件集:
<Fragment>
<ComponentGroup Id="ProductComponents" Directory="APPLICATIONFOLDER">
....
</ComponentGroup>
</Fragment>
在我的特性定义中,我提到了这个组:
<Feature Id="ProductFeature" Title="HDSS.Net" Level="1" ConfigurableDirectory="APPLICATIONFOLDER">
<ComponentGroupRef Id="ProductComponents" />
...
<\Feature>
我的问题是,在安装过程中,只创建了程序文件夹“HDSS.Net”,但未在“MyCompany”文件夹内创建应用程序文件夹。我希望能实现这一点,您有什么建议吗?
谢谢。