What solution exists to run installation of applications that have an installation wizard in windows - windows

I am trying to automate the entire process of clicking next , next next .. etc which is needed to install a application on windows. Is this possible ? How can it be achieved ?
I need a software that installs other software on its own, once it is given the installation file.
In what scripting language is it possible to do this ?
If I were to develop such an application myself, where would I need to start ?

Some allow for silent switches, in which case google the software used to create the installer and run it with particular switches from the command line.
If no such switches are offered then the only solution is software that allows automation of windows. AutoIt is great for this as it allows you to click buttons directly, not by automating the mouse, allowing the automation to happen in the background.

Related

Use Script to Automatically Update Software on Windows

There are about 20 Windows machines in our office. Each employee log into his station as a regular user not an administrator. The issue is that users cannot update installed software, such as Flash and Java, because they don't have administrator access.
I hope to find a way to write some scripts to automatically update these software for all the machines.
I'm not a windows expert. I'll appreciate any advises and ideas.
Thank you
You can use pywinauto Python framework. It's very simple to understand. But you may have some problems with Flash and Java buttons recognition. So you can use ClickInput(coords) method for dialog wrapper, because install wizard pages and their sizes are often fixed. Feel free asking questions by tag pywinauto. I'm monitoring them.
When the scripts are ready, you need to automatically login to each of 20 remote machines with RDP or VNC software and run them. Just do not minimize and do not close each Remote Desktop or VNC window (focus can be safely lost) for keeping GUI context.

Automating Adobe Media Server install

everyone! I'm making an installer that is going to set a machine up for use of a piece of software. Adobe Media Server is one of the software requirements. I'm wondering if there's any way to automate the installation of it. I can, of course, open the wizard through a command line, but at that point, the user needs to be there to continue installation. I'm really looking for more of a "set it and forget it" type of solution. If anybody knows of any way this is possible, please tell me. I'm not finding anything online so far.
I'm assuming you are doing this on a Windows server, in which case you will have to do some heavy integration with the Adobe Media Server installer. A good open source tool for installer bundling would be Inno Setup. This is much easier to accomplish on a linux server, where you could execute a function within a script that downloads the installer, and extracts it with defined parameters. I believe the package name for a YUM install on linux is: AdobeMediaServer_5_LS1_linux64.tar.gz
You can search for any installers building tool which supports adding prerequisites and add the Adobe Media Server as a prerequisite to your installer. Also, you should configure your Adobe Media Server prerequisite to be installed with a silent/unattended command line.

Testing windows installers

I work at a software company,
And we have a product for Windows OS that is installed using a custom installer.
We want to have an automated system that will run the installer on a daily basis, make sure that everything is installed and functional (application installed, appears in Add/Remove, shortcut created, registry keys created, browser addons installed, etc)
I also want to test the functionality of the app by using a GUI macro of some sort.
Is there anything like what i'm looking for?
We ended up using TestComplete 9 from SmartBear: https://smartbear.com
Its doing exactly what we need, and it has many advanced features like connecting to remote virtual computers for parallel testing.

How to automatically run a VB6 compiled software as Administrator and in Compatibility mode

We have an ERP application which is built in VB6 and it was running just fine till a few of our customer upgraded all their systems to Win7.
This software is programmed in such a way that it registers a few plugins (found in plugin folder) which are COM based at runtime. Now when the software is run by user without setting Compatibility Mode and Run as Administrator setting it fails and crashes.
I know we can manually set both Compatibility Mode as well as Run a Administrator by right clicking on program executable and then going to its properties. But this looks very unprofessional.
I think there will be some way to tell Win 7 to automatically run a software in Compatibility Mode and Run as Administrator.
Please help me.
Compatibility is an administrative function, not a development or deployment function. It is better to fix the application where possible, especially to remove any requirement for elevation.
There are plenty of tools for investigating the issues so you can correct them. However globally registering "plug ins" at runtime is a nasty one. VB6 component self-registration is always global unless registry virtualization can redirect it. Why not create installers for the plug-ins that can run elevated once during installation?
There are ways to set compatibility less manually, even as part of installation - though Microsoft discourages this. Maybe take a look at:
Compatibility Fix Database Management Strategies and Deployment
However the effort required might be better spent on remediating the problem. Support costs will be less over time.
As the other answers have said, you shouldn't need to run all the time elevated.
If you want to register the plugins after its started (as a normal user), you can use ShellExecute() with the "runas" verb to run regsvr32.exe, or use COM elevation which has been discussed many times before.
You can indicate that an application must run as admin by specifying it in the Application Manifest, which in an xml file that you can either embed or deploy with your application.
Once your application is running with admin rights it should be able to register and load the plugins. You should not need to run in compatibility mode to access the COM plugins.

Need an auto update programme that will install the software without any manual interference

i want to create a programme to auto update the software on client machine my question is how to run auto-installer to update the software.Actually we can download the current version of the software and we need to start installation without any manual interference.Once user click on the install update software need to be installed automatically without any wizard. any help will be appreciated.Thanks & Regards Harry.
It depends on the installation technology you use.
With MSI, you can pass /passive switch to msiexec command to prevent any interaction; add /norestart to prevent automatic system reboot. In case of MSI, you can also use Windows Installer API functions to fully programmatically install the package.
UI level can also be controlled from within the MSI package: from no UI at all to fully fledged wizard-like GUI. For example, you can display wizard interface when user installs your application for the first time; when you're preforming upgrade, you can show user only the progress or you can completely hide the UI.
Like #AlexeyI says, it depends on the installer you're using.
For InstallShield-created 'setup.exe' installers, you pass the /s(ilent) switch. If you need to provide answers to dialogs you also supply a response file containing the responses you want to give.

Resources