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 7872677
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 3, 20262026-06-03T02:16:38+00:00 2026-06-03T02:16:38+00:00

Set objService = objWMIService.Get(Win32_BaseService) objService.Create(usb2, usb test, c:\usb2.exe, OWN_PROCESS, NORMAL_ERROR_CONTROL, Automatic, NOT_INTERACTIVE, null This

  • 0
Set objService = objWMIService.Get("Win32_BaseService") 

objService.Create("usb2",  "usb test",  "c:\usb2.exe", 
 OWN_PROCESS,  NORMAL_ERROR_CONTROL,  "Automatic",  NOT_INTERACTIVE,  null

This always creates Windows service installation pointing to

localsystem

user(due to the null), I want to point to something other than localsystem, different user account & password. How do I point to a different user account when I create installer for Windows services?

  • 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-03T02:16:41+00:00Added an answer on June 3, 2026 at 2:16 am

    I’m assuming you are authoring an MSI using InstallShield based on your tags. You shouldn’t have to write any code. You can define your service using the ServiceInstall table. Create a component with your EXE as the keyfile and then go down under advanced, services and right click to add a new service. Fill out all the attributes and you should be good to go.

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

Sidebar

Related Questions

Set up(MySQL): create table inRelation( party1 integer unsigned NOT NULL, party2 integer unsigned NOT
SET ANSI_NULLS ON SET QUOTED_IDENTIFIER ON GO CREATE PROCEDURE [Lending].[uspHMDAUpdateExport] (@BatchId int, @ModifiedById int)
Set oXMLHttp=Server.CreateObject(MSXML2.XMLHTTP) On Error Resume Next oXMLHttp.open GET, http://xxxxxx.com,False oXMLHttp.setRequestHeader Content-Type, application/x-www-form-urlencoded oXMLHttp.send() x
I´ve set up a project to test marshalling for another project. Marshalling is working.
SET ANSI_NULLS ON GO SET QUOTED_IDENTIFIER ON GO Create PROCEDURE [dbo].[SD_Sproc_Insurance_Insert] -- Add the
Just set up ActiveAdmin without any real issues, but when I get to any
Set<Type> union = new HashSet<Type>(s1); union.addAll(s2); AND Set <Type> union = new HashSet<Type>(); union.addAll(s1);
Set content of table ... ViewState[Table1] = Table1; // When remove this line, table
Set rs = conn.Execute(Statement) //rs has 6 fields I want to add the current
set dateformat dmy select isdate('31/1/2012') I thought by going into Change the format of

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.