Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8325931
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 9, 20262026-06-09T00:36:04+00:00 2026-06-09T00:36:04+00:00

I want to create a windows service using WIX and set some parameters (not

  • 0

I want to create a windows service using WIX and set some parameters (not arguments) to the service. I refer to the parameters which appears under the System->[X]ControlSet->[Service Name]->Parameters.
Anyone knows how can I do so?
Thanks.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-09T00:36:07+00:00Added an answer on June 9, 2026 at 12:36 am

    I did that by manually adding registry values I need, and it works ok:

    <Component Id="NSSM" Guid="[MYGUID]">
      <File Id="NSSM" Name="nssm.exe" Source="nssm.exe" />
      <ServiceInstall Id="RenderSvc" Name="Render" DisplayName="Render" Type="ownProcess" Start="auto" ErrorControl="normal" />
      <RegistryKey Root="HKLM" Key="SYSTEM\CurrentControlSet\Services\Render\Parameters">
         <RegistryValue Name="AppDirectory" Value="[F_ROOT]bin" Type="expandable" />
         <RegistryValue Name="Application" Value="[F_BIN]render.exe" Type="expandable" />
         <RegistryValue Name="AppParameters" Value="" Type="expandable" />
         <RegistryKey Key="AppExit">
            <RegistryValue Value="Restart" Type="string" />
         </RegistryKey>
      </RegistryKey>
      <ServiceControl Id="RenderSvc" Name="Render" Start="install" Stop="both" />
    </Component>
    

    After inspecting resulting msi file in Orca I think it’s creating registry values before creating a service. It would be better to do that just after creation, but it works for me, so i stopped here.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I want to create windows service which recieves via some queue tasks to run
I want to create a windows phone screen which will display the some users
I want to create a Windows Service using VB.Net, but in VS2008 Standard, you
I managed to create a WiX 3.x installer for Windows Service and added some
I want to create a Windows Service using the Windows API (no .NET, no
I want to create a Cluster Generic Service using script. We have Windows Server
I have a .Net Windows service. I want to create an installer to install
I have a windows service which is using a method from a class library
Okay. I'm having some conceptual issues with a WCF service i want to create.
I want to create a Windows Service that tracks if the A/C power adapter

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.