是否可以将外部exe与ServiceInstall wix元素一起使用?

时间:2018-12-11 23:10:19

标签: .net-core wix

我的服务是.net核心DLL,因此我需要在SCM(服务控制管理器)中将其注册为“ C:\ Program Files \ dotnet \ dotnet.exe {我的dll的路径}”

是否可以将外部exe与ServiceInstall wix元素一起使用?

1 个答案:

答案 0 :(得分:0)

WiX服务安装示例 :在等待您更新有关更多详细信息的问题时,我只会向您提供一些链接,这些链接指向简单而有效的安装示例WiX服务:

  • Rainer Stropek's Windows Service WiX Sample
  • Helge Klein full installer sample for WiX(搜索 U __errno_location U _pr_CopyLowBits -------- d coOpenDevURandom -------- d fdDevURandom U gettimeofday U open U read uxshm_568a7427.o: U PR_Assert U PR_Calloc U PR_Close U PR_CreateFileMap U PR_Free U PR_GetCurrentThread U PR_GetOSError U PR_GetOpenFileInfo64 U PR_ImportFile U PR_LogPrint U PR_Malloc U PR_SetError U PR_smprintf U PR_smprintf_free U PR_snprintf U PR_sscanf -------- T _MD_AttachSharedMemory -------- T _MD_CloseSharedMemory -------- T _MD_DeleteSharedMemory -------- T _MD_DetachSharedMemory -------- T _MD_OpenSharedMemory U _MD_unix_map_close_error U _MD_unix_map_default_error U _MD_unix_map_open_error U _MD_unix_map_unlink_error U _PR_MakeNativeIPCName U __errno_location -------- T _md_ExportFileMapAsString -------- T _md_ImportFileMapFromString -------- T _md_OpenAnonFileMap U _pr_shm_lm U _pr_shma_lm U close U ftok U ftruncate U getpid U open U shmat U shmctl U shmdt U shmget U strcpy U strlen U unlink uxwrap_0bf9337c.o: linux_b243132c.o: -------- T _MD_CleanupBeforeExit -------- T _MD_EarlyInit -------- T _MD_HomeGCRegisters U _MD_unix_terminate_waitpid_daemon libnspr4.a(os_Linux_x86_f787044a.o): 0000000000000050 T _PR_x86_AtomicAdd 0000000000000020 T _PR_x86_AtomicDecrement 0000000000000000 T _PR_x86_AtomicIncrement 0000000000000040 T _PR_x86_AtomicSet
  • Chris Painter's IsWiX service installation sample