Comments (5)
i'm currently working on this issue :D
from ole--vagrant-community.
from ole--vagrant-community.
@ctl74100 better to read ;)
:: preinstall.bat
:: install bonjour and putty
::
@ECHO OFF
:: create a temporarily folder
if not exist "C:\tempfolder" mkdir C:\tempfolder
:: download bonjour to the temp folder and download putty to the user desktop
powershell -command "& { (New-Object Net.WebClient).DownloadFile('http://support.apple.com/downloads/DL999/en_US/BonjourPSSetup.exe', 'C:\tempfolder\BonjourPSSetup.exe') }"
powershell -command "& { (New-Object Net.WebClient).DownloadFile('https://the.earth.li/~sgtatham/putty/latest/x86/putty.exe', '%USERPROFILE%\Desktop\putty.exe') }"
:: Switch to the temporarily folder
cd C:\tempfolder
:: Check whether bonjour is already installed
reg export HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall temp1.txt
find /i /n "Bonjour" temp1.txt
if %errorlevel% == 0 (
echo Bonjour is already installed!!!!
del temp1.txt BonjourPSSetup.exe
cd C:/
RMDIR tempfolder
exit /b
)
:: Start the installation
start /w C:\tempfolder\BonjourPSSetup.exe
:: Check whether bonjour is installed correctly
reg export HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall temp2.txt
find /i /n "Bonjour" temp2.txt
if %errorlevel% == 0 (
echo program is installed correctly
)
del temp1.txt temp2.txt BonjourPSSetup.exe
cd C:/
RMDIR tempfolder
think you should work on the windows version of #16
from ole--vagrant-community.
@dogi
:D maybe next time.
should i make a pull request?
from ole--vagrant-community.
yes
from ole--vagrant-community.
Related Issues (17)
- add Bios tweaks to README.md HOT 15
- set other then standard password HOT 16
- windows: improve start vagrant on boot HOT 2
- create a section about network and firewall HOT 22
- macosx: start vagrant on boot HOT 11
- ubuntu: start vagrant on boot
- shortcut icon on desktop HOT 8
- simple install by single script HOT 1
- Create redirect at port 80 to the right port and subdirectory HOT 1
- scripts for downloading all the necessary software HOT 20
- Uninstall script to help with testing HOT 16
- research into how do installation process with a one liner HOT 5
- test
- Proof of Concept to install and uninstall the required software with Chocolatey HOT 4
- Should we download also Firefox with choco? HOT 3
- macOS vagrant start on boot (suggestion)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ole--vagrant-community.