Coding Thread, MSI installation overview in AutoIT in Coding and Web Development; I currently have a program I created that will remotely install MSI files to a PC. At the moment it ...
21st September 2010, 02:37 PM #1
MSI installation overview in AutoIT
I currently have a program I created that will remotely install MSI files to a PC. At the moment it only accepts one machine name per install, but what I'd like would be an overview pulled in from AD computers where you can select multiple machines.
Would anyone be able to help me research and work on this part? I wouldn't know where to start with that.
Basically something that will pull in all computer objects in AD, list them alphabetically and give a box next to each to select. you select the ones you want and when you click install it carries on with the script I have to remotely install them
future plans would be to have a database of all machines which it writes to when successfully installed so it can later reference that and show previously installed products.
PM me if you want any greater detail on the vision for this
IDG Tech News
21st September 2010, 02:58 PM #2
Now, im not critiscing in the slightest. Fair play for even be able to get that far! lol
But just wondering..isnt this what GPO does? Why is it any better? I imagine there is a situation im unaware of.
Again just wondering....
21st September 2010, 03:11 PM #3
no you're right,sorry, forgot to add that it installs using BITS, so is able to send out on the fly and using only available bandwidth without having to have a machine restarted
21st September 2010, 03:14 PM #4
21st September 2010, 03:27 PM #5
it works for one pc at the moment. so you enter the msi and the remote pc and it will pack it, send it, unpack it and install it silently, but now i want to expand it so you can select multiple pc's from a GUI (if anyone has ever used RM CC4 you'll get the idea of what i mean)
22nd September 2010, 10:27 PM #6
as an update (to anyone interested) i have added a few things to it which should see it nearly ready to be available to anyone who wants to test.
- authentication on running - if not correct username and password and not in domain admins security group it quits
- scans AD for all computers and allows you to select multiple computers to send to
- automatically zips up the folder with the msi and sends via BITS to whichever PC's were chosen, before unzipping and remotely running the msi silently (testing with 5MB MSI to 4 machines took 1:30secs to zip/send/unzip/install to all)
- doesn't require restart of machine to start the install as AD GPO does
- cleans up remote folder of zip file and temp files, cleans up host machine of zip file and temp files
- add some proper error handling
- add better progress dialogs (rather than just SENDING MSI while it sends to x amount of pc's, etc)
- look into creating database of machines and MSIs sent so that MSIs aren't sent multiple times to same PC
- using database to give a graphical overview of what machines have what installed
- ability to remotely uninstall packages too
anyone interested in giving it a try, please PM me.
this has been tested on our live network and worked fine, though i accept no responsibility if anything were to happen if used on your live network.
22nd September 2010, 10:55 PM #7
Would like to try, I have written something similar but at the moment it uses text files so would love to look at yours.
23rd September 2010, 11:14 AM #8
strawberry: pm me your email and ill send a copy over, its only 1mb
23rd September 2010, 01:45 PM #9
- MST transform files can be used now, providing the mst is in the same folder as the msi file (which it generally is)
By lafleur1977 in forum Windows Server 2008
Last Post: 20th October 2009, 04:03 PM
By jackyrobinson in forum Windows
Last Post: 29th July 2009, 11:22 AM
By steveo2000 in forum Windows
Last Post: 20th February 2009, 09:43 PM
By Simcfc73 in forum Virtual Learning Platforms
Last Post: 26th November 2008, 12:33 PM
By TheFopp in forum Windows
Last Post: 19th November 2008, 11:05 AM
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)