난 3 개 파일 (응용 프로그램 파일과 EXE, VSTO 및 폴더)를 포함 윅스 설치에 VSTO의 VSTO 프로젝트를 넣어하려고윅스는 설치 프로그램에 구성 요소로 폴더를 추가는
문제는
다음"The Component/@Id attribute's value, 'Application Files', is not a legal identifier. Identifier's may contain ASCII characters A-Z, a-z, digits, underscores (_), or periods (.). Every identifier must begin with either a letter or an underscore. (CNDL0015)
이 product.wxs의 내 전체 코드입니다 : 다음, 내가 윅스 설치 모든 확인에 구성 요소로 .EXE 및 .vsto 파일을 넣어,하지만 난 폴더를 넣어하려고, 난 오류가 발생
<?xml version="1.0" encoding="UTF-8"?>
<Wix xmlns="http://schemas.microsoft.com/wix/2006/wi">
<Product Id="*" Name="SetupProject1" Language="1033" Version="1.0.0.0" Manufacturer="test" UpgradeCode="dddf18f9-28e4-445c-92a1-734e5e774125">
<Package InstallerVersion="200" Compressed="yes" InstallScope="perMachine" />
<MajorUpgrade DowngradeErrorMessage="A newer version of [ProductName] is already installed." />
<MediaTemplate />
<Feature Id="ProductFeature" Title="SetupProject1" Level="1">
<ComponentGroupRef Id="ProductComponents" />
</Feature>
</Product>
<Fragment>
<Directory Id="TARGETDIR" Name="SourceDir">
<Directory Id="ProgramFilesFolder">
<Directory Id="INSTALLFOLDER" Name="SetupProject1" />
</Directory>
</Directory>
</Fragment>
<Fragment>
<ComponentGroup Id="ProductComponents" Directory="INSTALLFOLDER">
<Component Id="setup.exe">
<File Id="setup.exe" KeyPath="yes"
Name="setup.exe" Source="$(var.AddinFiles)"></File>
</Component>
<Component Id="Com.VistaDraft.Distribution.Mvp.vsto">
<File Id="Com.VistaDraft.Distribution.Mvp.vsto" KeyPath="yes"
Name="Com.VistaDraft.Distribution.Mvp.vsto" Source="$(var.AddinFiles)"></File>
</Component>
<Component Id="Application Files">
<File Id="Application Files" KeyPath="yes"
Name="Application Files" Source="$(var.AddinFiles)"></File>
</Component>
</ComponentGroup>
</Fragment>
</Wix>
아마도 plz가 wix installer에 폴더를 추가하는 데 도움이 될까요?
직접 해결하기 위해 무엇을 시도 했습니까? 반환 된 오류 메시지는 나에게 명확하게 보입니다. Id 속성을 변경하여 문제를 해결하려고 시도 했습니까? 어떤 결과를 얻었습니까? – Phil