Questions tagged [serviceinstall]

18 questions
12
votes
1 answer

WiX ServiceInstall Service Dependency

How do I set a dependency for a service in the WiX ServiceInstall attribute to depend on, for example, LmHosts
John Oxley
  • 14,698
  • 18
  • 53
  • 78
11
votes
1 answer

WiX ServiceInstall - setting the service to run as the current windows user

I am installing a Windows service using WiX. How can I make the service run in the context of Windows User that runs the installer?
kjv
  • 11,047
  • 34
  • 101
  • 140
6
votes
2 answers

Parameterise Service start option in WiX installer

I have a ServiceInstall component in a WiX installer where I have a requirement to either start auto or demand depending on parameters passed into the MSI. So the Xml element in question is
Jamiec
  • 133,658
  • 13
  • 134
  • 193
4
votes
4 answers

WIX ServiceInstall - setting the service to run under the NetworkService account

I am trying to create a WIX installer to install my windows service to run under the NetworkService account and getting an Insufficient Priviledges error during the installation. I found this post where someone seems to be experiencing the same…
Martin Cook
  • 51
  • 1
  • 5
3
votes
1 answer

Installer OnCommitted question

I wrote an installer a bit back that installs a service that I wanted to start when the installer finished. I put the code to start the service in the OnCommitted method of the ServiceInstaller. I did this because a lot of searches I found on the…
Nicros
  • 5,031
  • 12
  • 57
  • 101
3
votes
1 answer

With a Service install msi, Is there a way to force the installer to re-prompt the user if credentials were entered incorrectly

During install of a windows service (using class MyServiceInstaller : Installer, and ServiceInstaller and ServiceProcessInstaller) is there a way to force the installer to re-prompt the user for their user account info if they enter it…
rediVider
  • 1,266
  • 2
  • 13
  • 30
1
vote
0 answers

WIX stop windows service before install

I´ve got the following code in my WIX-setup. Now I do want to stop the service, when I install it again.
Felix Arnold
  • 839
  • 7
  • 35
0
votes
0 answers

Orca ServiceInstall Argument

I want to change the argument in seviceInstall argument= runSessionRecordingAgent -ProductCode=[ProductCode] -Installer.Version=11.2.000002 -E2S.ConnectionString=[E2S.CONNECTIONSTRING] -E2S.UseSsl=[E2S.USESSL]…
0
votes
2 answers

Wix Service Install DLL

I have custom action in Wix to install one of the services for my application.
Randi Ratnayake
  • 674
  • 9
  • 23
0
votes
0 answers

WIX Service Installer

I am using WIX Installer to install my service. I have configured the installer to install and start the service post installation. Please find the configuration. ServiceInstall Id="ABCServiceInstall" Type="ownProcess" Vital="yes" …
0
votes
1 answer

Remove component with in next update in WiX

I have a service component installed twice in one of my previous releases.
user3664223
  • 305
  • 3
  • 19
0
votes
1 answer

Perf counters not installing with service using ServiceInstall

I have an NT service that has some perf counters. When I deploy the service using installutil, the perf counters and the service install fine. When I deploy using my msi, that uses ServiceInstall, the service shows up, but the perf counters don't…
user467384
  • 1,137
  • 4
  • 22
  • 38
0
votes
1 answer

Set service account condition in wix if username and password is given

I have a wix installer for windows service. According to requirement, if domain name,username and password all of these are given then the service should be installed with that user account else the service should run with local system after…
Microsoft Developer
  • 5,229
  • 22
  • 93
  • 142
0
votes
1 answer

How to toggle between two usernames in a Wix service installer?

I'm using Wix to install a windows service, but need the option for it to use the LocalSystem account or use an account provided by the user. How should I toggle between a hard coded value and the user value? For the service I have:
matt
  • 333
  • 2
  • 10
  • 23
0
votes
1 answer

How to wait for a file being installed to GAC before installing a service with wix

I'm using Wix to create my application installer and using it to install an assembly in the GAC and it works fine. My issue is when I'm setting the assembly property 'copy local=false' and I'm executing the installation, then my services is not…
chen
  • 131
  • 1
  • 1
  • 11
1
2