0

I have a windows service deployment project that could start the service automatically once i installed the setup file. I have passed the argument as -i in Custom Actions - Install.

And then in in Custom Actions - Commit, I have put argument as -s.

But how to stop and uninstall service in Custom ACtions - Uninstall ?

I tried doing -k, -u as sequence, but it doesn't help

Can anyone help me

user1465461
  • 397
  • 2
  • 6
  • 17

1 Answers1

0

What I do is to create a WIX merge module with the ServiceInstall Element then embed in the setup project.

Sheng Jiang 蒋晟
  • 15,125
  • 2
  • 28
  • 46