/build/static/layout/Breadcrumb_cap_w.png

install msi via remote sms

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

Answers (4)

Posted by: jonasm 17 years ago
Blue Belt
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
Posted by: cygan 17 years ago
Fifth Degree Brown 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
Posted by: Flakes 17 years ago
Senior Yellow 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
Posted by: cygan 17 years ago
Fifth Degree Brown Belt
0
thanks a lot flakes

that is exactly want I wanted to know

finding the current user logged on
Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.
 
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