问题是我想用命令行启动MySetup.msi。
以下是Application journal
中的错误 Valeur inattendue ou absente (nom : ‘PackageCode’, valeur : ‘GUID’) dans la clé
‘HKLM\Software\Classes\Installer\Products\B476F94747628E7478C965620AB6A219’
英文翻译:
Unexpected or missing value (name: 'PackageCode', value: 'GUID') in the key
'HKLM \ Software \ Classes \ Installer \ Products \ B476F94747628E7478C965620AB6A219'
这是我的wix文件
<?xml version="1.0" encoding="UTF-8"?>
<Wix xmlns="http://schemas.microsoft.com/wix/2006/wi">
<Product Id="*" Name="MySetup" Language="1033" Version="1.0.0.0" Manufacturer="soso" UpgradeCode="c151e7ab-b83a-445f-93b2-2ab7122ea34b">
<Package InstallerVersion="200" Compressed="yes" InstallScope="perMachine" />
<CustomAction Id="OpenExe" Return="ignore" Directory="exeDir" ExeCommand="'@(secondMSI)'" Impersonate="yes" Execute="deferred"/>
<InstallExecuteSequence>
<Custom Action="OpenExe" Before='InstallFinalize'/>
</InstallExecuteSequence>
<Directory Id="TARGETDIR" Name="SourceDir">
<Directory Id="exeDir" FileSource="@(secondMSI)"/>
</Directory>
</Product>
</Wix>
请问任何建议?