2013-07-22 7 views
2

64 모드에서 실행하는 Windows 서비스를 설치윅스 - 내가 윅스 3.5과 ServiceInstall 태그를 사용하여 Windows 서비스를 설치하고있어

<DirectoryRef Id="WindowsServiceContentDir"> 
     <Component Id="WindowsServiceExecutableComponent" Guid="*" Win64="yes"> 
      <File Source="$(var.WindowsServiceTargetDir)$(var.WindowsServiceTargetName).exe" KeyPath="yes" /> 

      <ServiceInstall Id="WindowsServiceInstall" Type="ownProcess" Start="auto" ErrorControl="normal" Vital="yes" 
          Name="[WIN_SERVICE_NAME]" DisplayName="Name" 
          Description="Name" 
          Account="[DENTITY_DOMAIN]\[IDENTITY_NAME]" 
          Password="[IDENTITY_PWD]"> 
      </ServiceInstall> 


      <ServiceControl Id="WindowsServiceStop" Name="[WIN_SERVICE_NAME]" Stop="both" Remove="uninstall" Wait="yes" /> 
     </Component> 
</DirectoryRef> 

는 64 비트 컴퓨터에 설치 한 후 서비스가 32 비트에서 실행되는 (86)를 모드, Win64 = "예"특성에도 불구하고. 설치 후 x64 모드로 서비스를 실행하기 위해 수행해야 할 다른 작업은 무엇입니까?

는 따라서 서비스가 32 비트 모드에서 실행되는 Win32 프로세스위한 설치 서비스 = "ownProcess"당신에게

답변

1

유형을 감사드립니다. 어쩌면 사용자 지정 작업을 사용하여 ServiceInstall 요소 대신 서비스를 설치할 수 있습니다.