Photo Gallery Member List Search Calendars FAQ Ticket List Log Out


.msi logon script

 
Logged in as: Guest
arrSession:exec spGetSession 2,2,49314
 Active Users: There are 0 members and 0 guests.
 Users viewing this topic: none
 

 

 
  
  Printable Version
All Forums >> [Scripting] >> WSH & Client Side VBScript >> .msi logon script
  Do you like VisualBasicScript.com? Link to us and help spread the word about our forum. Thanks!
Page: [1]
Login
Message << Older Topic   Newer Topic >>
 .msi logon script - 7/11/2007 1:43:54 AM   
  duki

 

Posts: 14
Score: 0
Joined: 7/11/2007
Status: offline
Hey everyone

I'm completely new to scripting.  I would like to apply a script to a GPO that will automatically install software on logon.  Could someone show me a tutorial or something for this?
 
 
Post #: 1
 
 RE: .msi logon script - 7/11/2007 2:20:15 AM   
  LANlazy

 

Posts: 82
Score: 0
Joined: 4/11/2007
Status: offline
Do you use Active Directory and have a login script?

(in reply to duki)
 
 
Post #: 2
 
 RE: .msi logon script - 7/11/2007 2:23:11 AM   
  duki

 

Posts: 14
Score: 0
Joined: 7/11/2007
Status: offline
Yes, we use Active Directory.  I do not have any scripting experience though.
I have tested a logon script that maps network drives, which worked but this is as far as I've gotten.

(in reply to duki)
 
 
Post #: 3
 
 RE: .msi logon script - 7/11/2007 2:26:06 AM   
  LANlazy

 

Posts: 82
Score: 0
Joined: 4/11/2007
Status: offline
Do a search for CreateObject("Wscript.shell") msiexec.exe.  That should get you started.  If you run into something you cant figure out just post it.

(in reply to duki)
 
 
Post #: 4
 
 RE: .msi logon script - 7/11/2007 2:29:25 AM   
  duki

 

Posts: 14
Score: 0
Joined: 7/11/2007
Status: offline
awesome thanks!

(in reply to LANlazy)
 
 
Post #: 5
 
 RE: .msi logon script - 7/11/2007 2:29:57 AM   
  duki

 

Posts: 14
Score: 0
Joined: 7/11/2007
Status: offline
Also, could you recommend a beginners book?

I was looking at the microsoft press step by step one...

(in reply to duki)
 
 
Post #: 6
 
 RE: .msi logon script - 7/11/2007 2:42:45 AM   
  LANlazy

 

Posts: 82
Score: 0
Joined: 4/11/2007
Status: offline
Good start

http://www.developerdotstar.com/mag/vbscriptprogrammersref.html

(in reply to duki)
 
 
Post #: 7
 
 RE: .msi logon script - 7/11/2007 3:08:32 AM   
  duki

 

Posts: 14
Score: 0
Joined: 7/11/2007
Status: offline
I had a book by that company and hated it.  It was Visual Basic Express 2005. 
I'm thinking I just got a dud with the author though, because you're the 2nd or 3rd person to recommend a book by that company.

Which should I get from those two?  The microsoft press or the one you just suggested?  I really need something that is going ot help me in network administration, such as installing software and using answer files etc.  I want something begginer, but that covers advanced topics towards the end as well.

(in reply to LANlazy)
 
 
Post #: 8
 
 RE: .msi logon script - 7/11/2007 3:43:26 AM   
  LANlazy

 

Posts: 82
Score: 0
Joined: 4/11/2007
Status: offline
I have never used anything from Microsoft Press so I cant say anything about them.

(in reply to duki)
 
 
Post #: 9
 
 RE: .msi logon script - 7/11/2007 3:47:29 AM   
  LANlazy

 

Posts: 82
Score: 0
Joined: 4/11/2007
Status: offline
Mostly I learn online.

Check this link or just search for Books on this website

http://www.visualbasicscript.com/m_41908/mpage_1/key_Books/tm.htm#41973

(in reply to LANlazy)
 
 
Post #: 10
 
 RE: .msi logon script - 7/11/2007 4:31:43 AM   
  Parabellum


Posts: 222
Score: 0
Joined: 11/12/2006
From: UK
Status: offline
I quite look learning from books... but I think its very much a matter of personal preference..
It's true.. I'm sure there's nothing in any scripting books that you cant find online, with examples...
but sometimes its nice to take your eyes of the screen. Plus some people don't always have access to an internet connection.

I've bought a few books on VBScript..
my first was a wrox VBScript reference book
http://www.wrox.com/WileyCDA/WroxTitle/productCd-0764559931.html

More recently I've bought...
Advanced VBScript for Microsoft Windows Administrators
http://www.microsoft.com/mspress/books/9085.aspx

Have to say this is an excellent book to give you ideas of what scripting can do.
Takes you past the basics of variables functions and loops, and uses real world example of system admin tasks

The final book I bought was..
Microsoft Windows Scripting with WMI
http://www.microsoft.com/mspress/books/8853.aspx

Another intersting book.. but not a good place to start learning..

Hope that helps a little
just my humble opinions..!

(in reply to LANlazy)
 
 
Post #: 11
 
 RE: .msi logon script - 7/11/2007 6:20:56 AM   
  mcds99


Posts: 434
Score: 4
Joined: 2/28/2006
Status: online
Book ROCK!


quote:

ORIGINAL: Parabellum

I quite look learning from books... but I think its very much a matter of personal preference..
It's true.. I'm sure there's nothing in any scripting books that you cant find online, with examples...
but sometimes its nice to take your eyes of the screen. Plus some people don't always have access to an internet connection.

I've bought a few books on VBScript..
my first was a wrox VBScript reference book
http://www.wrox.com/WileyCDA/WroxTitle/productCd-0764559931.html

More recently I've bought...
Advanced VBScript for Microsoft Windows Administrators
http://www.microsoft.com/mspress/books/9085.aspx

Have to say this is an excellent book to give you ideas of what scripting can do.
Takes you past the basics of variables functions and loops, and uses real world example of system admin tasks

The final book I bought was..
Microsoft Windows Scripting with WMI
http://www.microsoft.com/mspress/books/8853.aspx

Another intersting book.. but not a good place to start learning..

Hope that helps a little
just my humble opinions..!


_____________________________

Sam

Keep it Simple Make it Fun KiSMiF

(in reply to Parabellum)
 
 
Post #: 12
 
 RE: .msi logon script - 7/11/2007 2:27:57 PM   
  duki

 

Posts: 14
Score: 0
Joined: 7/11/2007
Status: offline
awesome advice!

So question... would I be able to follow the administrative book by Microsoft Press?  Or should I get the step by step one first

(in reply to mcds99)
 
 
Post #: 13
 
 RE: .msi logon script - 7/12/2007 3:59:40 AM   
  duki

 

Posts: 14
Score: 0
Joined: 7/11/2007
Status: offline
How hard is it to write scripts to install software on remote computers automatically upon logon, if the user doesn't have local administrative rights?

(in reply to duki)
 
 
Post #: 14
 
 RE: .msi logon script - 7/12/2007 8:36:27 PM   
  gdewrance


Posts: 587
Score: 3
Joined: 3/16/2006
Status: offline
Here is one that dm_4ever helped me with, I added comments


      

(in reply to duki)
 
 
Post #: 15
 
 
 
  

If you found our site useful please link to us <a href="http://www.visualbasicscript.com">VisualBasicScript.com</a>.
All Forums >> [Scripting] >> WSH & Client Side VBScript >> .msi logon script Page: [1]
Jump to:





New Messages No New Messages
Hot Topic w/ New Messages Hot Topic w/o New Messages
Locked w/ New Messages Locked w/o New Messages
 Post New Thread
 Reply to Message
 Post New Poll
 Submit Vote
 Delete My Own Post
 Delete My Own Thread
 Rate Posts