【发布时间】:2014-07-06 10:57:14
【问题描述】:
<?xml version="1.0" encoding="UTF-8"?>
<Wix xmlns="http://schemas.microsoft.com/wix/2006/wi">
<Product Id="*" Name="AppInstaller" Language="1033" Version="0.0.0.1"
Manufacturer="my Corporation" UpgradeCode="PUT-GUID-HERE">
<Package InstallerVersion="200" Compressed="yes" InstallScope="perMachine" />
<MajorUpgrade DowngradeErrorMessage="Newer version already installed." />
<MediaTemplate EmbedCab="yes" />
<!--icon for Add/Remove Programs-->
<Icon Id="app.ico" SourceFile="..\Import\app.ico" />
<Property Id="ARPPRODUCTICON" Value="app.ico" />
<Feature Id="ProductFeature" Title="AppInstaller" Level="1"
Description="The complete installation" Display="expand"
ConfigurableDirectory="INSTALLFOLDER">
<ComponentRef Id="ProgramMenuDir" />
<ComponentGroupRef Id="ExportReleaseComponentGroup" />
<ComponentRef Id="SimulatorConfig" />
</Feature>
<UIRef Id="WixUI_Mondo" />
<UIRef Id="WixUI_ErrorProgressText" />
<WixVariable Id="WixUIInfoIco" Value="..\Import\app.ico" />
<WixVariable Id="WixUIExclamationIco" Value="..\Import\app.ico" />
</Product>
<Fragment>
<Directory Id="TARGETDIR" Name="SourceDir">
<Directory Id="ProgramFiles64Folder">
<Directory Id="IntelDir" Name="Intel">
<Directory Id="INSTALLFOLDER" Name="app v0.0.0.1">
<Directory Id="BIN" Name="bin"/>
</Directory>
</Directory>
</Directory>
<Directory Id="ProgramMenuFolder" Name="Programs">
<Directory Id="ProgramMenuDir" Name="app v0.0.0.1">
<Component Id="ProgramMenuDir" Guid="*">
<RemoveFolder Id="ProgramMenuDir" On="uninstall" />
<RegistryValue Root="HKCU" Key="Software\[Manufacturer]\[ProductName]"
Type="string" Value="app" KeyPath="yes" />
</Component>
</Directory>
</Directory>
<Directory Id="DesktopFolder" Name="Desktop" />
<Directory Id="LocalAppDataFolder">
<Directory Id="app" Name="appV">
</Directory>
</Directory>
</Directory>
</Fragment>
<Fragment>
<DirectoryRef Id="INSTALLFOLDER">
<Directory Id="bin" Name="bin">
<Directory Id="Release" Name="Release" />
</Directory>
</DirectoryRef>
</Fragment>
<Fragment>
<DirectoryRef Id="app">
<Directory Id="SimulatorConfig" Name="Config">
<Component Id="SimulatorConfig" Guid="*">
<RemoveFolder Id="SimulatorConfig" On="uninstall" />
<RegistryValue Root="HKCU" Key="Software\[Manufacturer]\[ProductName]"
Type="string" Value="Simulator" KeyPath="yes" />
<File Source="Gili.txt"/>
</Component>
</Directory>
</DirectoryRef>
</Fragment>
</Wix>
这是问题和错误
错误 93 ICE64:目录应用程序在用户配置文件中,但未在
删除文件表。 C:\Tools\Tools\appv\Main\appInstaller\Product.wxs 45 1 appInstaller
我阅读了一些答案,我知道问题出在注册表项或删除文件夹选项中,您能帮忙吗?
我正在开发 wix 3.8
【问题讨论】:
标签: wix windows-installer wix3.7