Photo Gallery Member List Search Calendars FAQ Ticket List Log Out


Application Installs

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

 

 
  
  Printable Version
All Forums >> [Scripting] >> WSH & Client Side VBScript >> Application Installs
  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 >>
 Application Installs - 5/8/2008 2:20:21 AM   
  Dicko1976

 

Posts: 22
Score: 0
Joined: 3/5/2008
Status: online
Hi all

I am now trying to create a menu box using vbs if possible or do I need Visual Basic software?

I would like to have a menu where our IT Engineers out in the field only have to select the software that they need to install by ticking a multichoice box or radio button. For Example, if the Engineer needs to install Office 2000 Standard and Winzip but not Adobe Acrobat, then all he would tick is the Office and Winzip box and when you click the OK button. It would run the batch files in turn

Any new if this is possible would be great
 
 
Post #: 1
 
 RE: Application Installs - 5/8/2008 2:36:25 AM   
  ebgreen


Posts: 4408
Score: 29
Joined: 7/12/2005
Status: online
You can do it as an HTA using vbscript or you could use any of the programming languages that support a native user interface (VB, VB.Net, c#, etc.).

_____________________________

"... when you are good and crazy, oooh, oooh, oooh, the sky is the limit!" - The Tick
Goog places to start:http://www.visualbasicscript.com/m_24727/tm.htm
http://www.visualbasicscript.com/m_47117/tm.htm

(in reply to Dicko1976)
 
 
Post #: 2
 
 RE: Application Installs - 5/8/2008 10:36:19 PM   
  Dicko1976

 

Posts: 22
Score: 0
Joined: 3/5/2008
Status: online
Thats great, I never knew this HTA existed. It opens up so many more avenues.

I have managed to play around with a script I have found and made it simple to my needs for know but there are a couple of things that I cant do.

I have some check boxes with the software name next to them ie Winzip, Office 2000, Adobe Acrobat, etc. I would like to check boxes if slected to run either a vbs or bat file when the button is clicked on and install the software one after another.

Also When the check box is ticked, I would like it to show in the text area below and not overwrite what was previously in the textarea but to add the software name on the line below. It can clear the teaxt area when all the software is installed. It would be great if I could also say when each application has been installed in the text area.

Below is the code that I am currently playing with.

Thanks in advance

Martyn

<head>
<title>Software Install Screen</title>
</head>
<script language="VBScript">

</script>

<body>

</Script>
<br>
<input type="checkbox" name="Software Install" value="Winzip">Winzip<br>
<input type="checkbox" name="Software Install" value="Office 2000 Standard">Office 2000 Standard<br>
<input type="checkbox" name="Software Install" value="Lotus Notes">Lotus Notes<br>
<input type="checkbox" name="Software Install" value="Adobe Acrobat Reader">Adobe Acrobat Reader<br>
<br>
<input type="button" value="Install Selected Software" name="Button" onClick="callSub"><p>
<script>
Set objShell = CreateObject("WScript.Shell")
Sub CallSub
objShell.run("C:\Program Files\Windows NT\simnumber.txt")
End Sub
</script>
<TextArea Style="overflow:auto" rows="7" name="TextArea" Cols="70"></TextArea>
<Script>
TextArea.InnerText="Test Area"
</Script>
</body>

(in reply to ebgreen)
 
 
Post #: 3
 
 
 
  

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 >> Application Installs 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