Wix 64bit System64Folder ProgramFiles64Folder

<?xml version="1.0" encoding="UTF-8"?>
<Wix xmlns="http://schemas.microsoft.com/wix/2006/wi">
<Product Id="60494ab4-c90a-4fe4-b6da-79d64b3efa21" Name="WixDokan" Language="1033" Version="1.0.0.0" Manufacturer="WixDokan" UpgradeCode="521d3350-c307-4cae-bd94-77217fd31bb1">
<Package InstallerVersion="200" Compressed="yes" />


<Media Id="1" Cabinet="media1.cab" EmbedCab="yes" />


<Directory Id="TARGETDIR" Name="SourceDir">
<Directory Id="ProgramFiles64Folder">
<Directory Id="INSTALLLOCATION" Name="WixDokan">
            <Component Id="MSI_1"  DiskId="1" Guid="521d3350-c307-4cae-bd94-77217fd31b01">
              <File  Id="mydwg" Name="12345.dwg"
     src="12345.dwg"  />
            </Component>
        </Directory>
</Directory>
      <Directory Id="System64Folder" Name="System">
        <Component Id="MSI_2"  DiskId="1" Guid="521d3350-c307-4cae-bd94-77217fd31b06">
          <File  Id="wilsonTest" Name="wilsonTest.txt"
 src="wilsonTest.txt"  />
        </Component>
      </Directory>
</Directory>


  


    <InstallExecuteSequence>
      <!--<Custom Action="ShowReadMe" After="InstallFinalize">Not Installed</Custom>-->
      <!--<Custom Action="BatchCmd" Before="InstallFiles">NOT INSTALLED</Custom>-->
    </InstallExecuteSequence>


<Feature Id="ProductFeature" Title="WixDokan" Level="1" AllowAdvertise="no"
        ConfigurableDirectory="TARGETDIR"  Description="Drivers"
        Display="collapse" >
      <ComponentRef  Id='MSI_1' />
      <ComponentRef  Id='MSI_2' />
      <ComponentGroupRef Id="Product.Generated" />
</Feature>
    <UI>
      <UIRef Id="WixUI_Mondo" />
      <UIRef Id="WixUI_ErrorProgressText" />
    </UI>
</Product>
</Wix>

下面是Wix定义的系统文件夹:

PersonalFolder       Full path to Documents folder for current user
PrintHoodFolder      Full path to PrintHood folder
ProgramFiles64Folder Full path to 64-bit Program Files folder
ProgramFilesFolder   Full path to 32-bit Program Files folder
ProgramMenuFolder    Full path to Program Menu folder
RecentFolder         Full path to Recent folder
SendToFolder         Full path to SendTo folder for current user
StartMenuFolder      Full path to Start Menu folder
StartupFolder        Full path to Startup folder
System16Folder       Full path to 16-bit system DLLs folder
System64Folder       Full path to System64 folder
SystemFolder         Full path to System folder for current user
TempFolder           Full path to Temp folder
TemplateFolder       Full path to Template folder for current user
WindowsFolder        Full path to Windows folder


 

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值