Last active
August 29, 2015 14:02
-
-
Save saschanaz/ee2072c291a8718ccd3d to your computer and use it in GitHub Desktop.
Install Firefox
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
set directory=%USERPROFILE% | |
reg query "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\App Paths\firefox.exe" | |
if errorlevel 1 ( | |
bitsadmin /transfer "DownloadFirefox" "https://download.mozilla.org/?product=firefox-stub&os=win&lang=ko" "%directory%\firefoxInstaller.exe" | |
echo Installing Firefox... | |
start /wait /D "%directory%" firefoxInstaller.exe | |
del "%directory%\firefoxInstaller.exe" | |
) | |
start firefox.exe http://jsfiddle.net/saschanaz/Rxv46/embedded/result/ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment