Create a auto installer


  1. Posts : 42
    Windows 7 64bit
       #1

    Create a auto installer


    Hi,

    How would I go about created a script or so that would install a set list of software? I have tried this before and managed to create one that would install Adobe Flash etc. But some of the software requires some input for example setting a file path etc. How would I go about doing this? Is there any software that does this?
    I have seen Ninite and that looks cool but it doesn't support other software.
    Also are there any drawbacks of installing like this?

    Thanks! :)
      My Computer


  2. Posts : 10,485
    W7 Pro SP1 64bit
       #2

    AutoIt or AutoHotKey (AHK)
    Autohotkey vs AutoIt v3 - WikiVS

    There are other scripting languages, but those are the two that I would suggest looking into.

    The drawback to automation is dealing with the unexpected. If your script is going to click on a window or send keystrokes to a window, then you need to be prepared for windows from other apps popping up unexpectedly. AutoIt (and AHK) can send keystrokes to windows that are not in focus (not in front of all other windows).
    [ControlSend]
    https://www.autoitscript.com/autoit3...ontrolSend.htm
    ControlSend / ControlSendRaw

    edit: it would help us to know if you plan on visiting each computer to make these installations or if you want to push them out from one central computer. Silent installations work well when pushed. But for those stubborn installs that require attention, you can try and automate that attention via scripting tools.
    Last edited by UsernameIssues; 02 Nov 2014 at 00:40.
      My Computer


  3. Posts : 4,776
    Microsoft Windows 7 Home Premium 64-bit 7601 Multiprocessor Free Service Pack 1
       #3

    Possible solution


    You could consider GEGeek Toolkit although it's a huge download. Once downloaded you can extract to USB and run it from there. It's possible to add your own apps and then install them from the USB.

    It's not at all straightforward though. I'm familiar with the basics.

    The link to the website is in my signature - Geeks Toolbox

    Run GEGeek.exe and right click on the system tray icon. Run Ketarin to update everything or to add your own apps.

    Adding apps and configuring existing apps to be installed requires command line knowledge and that's something that I'm not fully up to speed on.

    However here's an example:

    With Ketarin running choose "add new application" then add download URL and file save location.

    Create a auto installer-ketarin.jpg

    Create a auto installer-edit-system-analyzer.jpg

    Add the required setup information.

    Create a auto installer-edit-system-analyzer-2.jpg

    When done - close the window and choose "install" then choose the required apps.

    Create a auto installer-choose-applications-install.jpg
      My Computer


  4. Posts : 42
    Windows 7 64bit
    Thread Starter
       #4

    UsernameIssues said:
    AutoIt or AutoHotKey (AHK)
    Autohotkey vs AutoIt v3 - WikiVS

    There are other scripting languages, but those are the two that I would suggest looking into.

    The drawback to automation is dealing with the unexpected. If your script is going to click on a window or send keystrokes to a window, then you need to be prepared for windows from other apps popping up unexpectedly. AutoIt (and AHK) can send keystrokes to windows that are not in focus (not in front of all other windows).
    [ControlSend]
    https://www.autoitscript.com/autoit3...ontrolSend.htm
    ControlSend / ControlSendRaw

    edit: it would help us to know if you plan on visiting each computer to make these installations or if you want to push them out from one central computer. Silent installations work well when pushed. But for those stubborn installs that require attention, you can try and automate that attention via scripting tools.
    Thanks your reply! I am only going to run it from the computer itself. I will give AutoHotKey a try :)
      My Computer


  5. Posts : 92
    Windows 8
       #5

    You might have heard about it already but Windows 10 will ship with OneGet, a Linux-like package manager : Windows 10 Includes a Linux-Style Package Manager Named ?OneGet?

    If you're not familiar with Linux, then just know that with this system you can with one command line, upload and install a software and all its associated dependencies (DLLs, .NET framework, Redistributables, etc..). This might be what you're looking for.

    And since OneGet is actually based on technology already existing, you can have its equivalent for Windows 7/8 too !
    More info :
    Chocolatey brings Linux-style package management to Windows - TechRepublic
    How to use Chocolatey: A delicious Windows package manager
      My Computer


  6. Posts : 10,485
    W7 Pro SP1 64bit
       #6

    I reloaded the XP OS onto a laptop once. I noticed that Toshiba used AutoIt v2 to script the installation of 3rd party apps that did not have a silent installer. It was odd seeing that old scripting language being used in a commercial setting.

    oneeyed,
    That sound good, but MS has barfed so many patch Tuesdays lately, they will have to earn some trust back.
      My Computer


  7. Posts : 42
    Windows 7 64bit
    Thread Starter
       #7

    UsernameIssues said:
    I reloaded the XP OS onto a laptop once. I noticed that Toshiba used AutoIt v2 to script the installation of 3rd party apps that did not have a silent installer. It was odd seeing that old scripting language being used in a commercial setting.

    oneeyed,
    That sound good, but MS has barfed so many patch Tuesdays lately, they will have to earn some trust back.
    Thanks for the input! The PCs I do are usually Dell :)
      My Computer


 

  Related Discussions
Our Sites
Site Links
About Us
Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

© Designer Media Ltd
All times are GMT -5. The time now is 07:36.
Find Us