Possibility to automate installation of desktop application in Vagrant
I would like to ask for help.
What I have: Vagrant, desktop application which I need to install, folder which is shared in corporate network.
What I need to do:
- Install Vagrant (for now I do it manually) - completed;
- Install Windows 8.1 and Windows 10 boxes (for now I do it manually) - completed;
- Get the newest build of application (.exe file) from folder which is shared in corporate network (there are several files in that folder), put it in Vagrant machine (Win 8 for example) and silently install on in.
All steps should be automated as much as possible.
But I can't combine Vagrant and copy/install application to Vagrant machine. I dig in PowerShell - but no luck...
Maybe you can help. Thanks in advance.
I would do steps 1 and 2 and then try to save the state of the machine (for reuse).
For example use vagrant snapshots - https://www.vagrantup.com/docs/cli/snapshot.html
Then the only task is to copy in the latest code and run the install for it. Those steps can usually be automated too with a script.