/bundles/itninjaweb/img/Breadcrumb_cap_w.png
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   [ - ] Hide 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.
Answer this question or Comment on this question for clarity

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

Please log in to comment
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

Please log in to comment
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

Please log in to comment
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

Please log in to comment