Wix 安装x64服务

Wix 安装x64服务,wix,windows-services,64-bit,.net-core-3.1,Wix,Windows Services,64 Bit,.net Core 3.1,我们正在尝试使用WiX安装x64、.net Core 3.1服务,通过阅读有关此主题的旧答案,看起来只有使用自定义操作和sc create命令才能实现这一点 这在WiX中仍然不可能吗? 有没有人有一个alternive框架来创建这样的安装程序 以下是我们针对x86服务的当前ServiceInstall: <Fragment> <ComponentGroup Id="ServiceComponents" Directory="INST

我们正在尝试使用WiX安装x64、.net Core 3.1服务,通过阅读有关此主题的旧答案,看起来只有使用自定义操作和sc create命令才能实现这一点

这在WiX中仍然不可能吗? 有没有人有一个alternive框架来创建这样的安装程序

以下是我们针对x86服务的当前ServiceInstall:

<Fragment>
        <ComponentGroup Id="ServiceComponents" Directory="INSTALLFOLDER">
            <Component Guid="{0FB499B6-BCA5-4640-B77E-F4D8ED95F9D0}">
                <File Id="ServiceEXE" KeyPath="yes" Source="worker-service.exe"/>
                <ServiceInstall Id="ServiceInstaller"
                                Type="ownProcess"
                                Name="Service"
                                DisplayName="Service"
                                Description="This is a x86 Windows-Service"
                                Start="auto"
                                Account="NT AUTHORITY\LocalService"
                                ErrorControl="normal"
                                Vital="yes"
                                />
                <ServiceControl Id="ServiceControl_Start"
                    Name="Service"
                    Start="install"
                    Wait="no"/>
                <ServiceControl Id="ServiceControl_Stop"
                    Name="Service"
                    Stop="both"
                    Remove="uninstall"
                    Wait="yes" />
            </Component>
        </ComponentGroup>
    </Fragment>