/build/static/layout/Breadcrumb_cap_w.png

Systems Management Question


install msi via remote sms

01/08/2007 2363 views
hi need some help on a vb script please

I need to write a vB script that checks if a user is logged on then the msi should be installed via sms remotely

any ideas please
0 Comments   [ + ] Show comments

Comments


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

All Answers

0
In SMS 2005 can you set the application to "Install when a user is logged on", "Install when no user is logged on" or "Install whether or not a user is logged on".

Is that what you are looking for?

/Jonas
Answered 01/08/2007 by: jonasm
Blue Belt

0
thanks for the reply

I am using sms 2003 and I am new to scripting

I am trying to write the vbscript and run it as part of my msi because I am trying to implement user finalization
Answered 01/08/2007 by: cygan
Fifth Degree Brown Belt

0
To find the user logged on :

Set objNet = CreateObject("WScript.NetWork")
strInfo = "User Name is " & objNet.UserName & vbCRLF & _
"Computer Name is " & objNet.ComputerName & vbCRLF & _
"Domain Name is " & objNet.UserDomain
MsgBox strInfo
set objNet = Nothing
Answered 01/08/2007 by: Flakes
Senior Yellow Belt

0
thanks a lot flakes

that is exactly want I wanted to know

finding the current user logged on
Answered 01/09/2007 by: cygan
Fifth Degree Brown Belt

 
This website uses cookies. By continuing to use this site and/or clicking the "Accept" button you are providing consent Quest Software and its affiliates do NOT sell the Personal Data you provide to us either when you register on our websites or when you do business with us. For more information about our Privacy Policy and our data protection efforts, please visit GDPR-HQ