Hi all,

I have an MSI which installs a service. During the installation it prompts for a Username and Password.
I am installing this msi remotely as part of a daily build for a project. The command im using is as follows:

msiexec.exe /i %PATHNAME% /qn SETUPTYPE='Service' ALLUSERS=1 LAUNCHPROGRAM=1 SERVICE_DOMAINUSERNAME='%ComputerName%\%UserName%' SERVICE_PASSWORD='%Password%' SERVICE_GRANTEXECUTIONRIGHT=1

The installation process starts but it seems to stall at the point where it asks for the credentials.

Does anyone know what I should be doing to fix this? Its driving me crazy! [:(]

Any help would be much appreciated!

Thanks in advance,
--paulo
0 Comments   [ + ] Show Comments

Comments

Please log in to comment

Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.

Answers

0
Hi,

Call this commandline in a vb script and compile it to an exe using adminscripteditor. With this software you can add runas command including username and password. All services started from this exe will be run with the provided account. I suggest using an admin account. I already created lots of scripts using this and it really helps me installing software on all my clients without giving users additional rights.

Hope this solves you problem.
BaldEagle
Answered 10/21/2005 by: baldeagle
Senior Yellow Belt

Please log in to comment
Answer this question or Comment on this question for clarity