Skip to content

Instantly share code, notes, and snippets.

@evandroamparo
Last active August 29, 2015 14:01
Show Gist options
  • Save evandroamparo/6950a44de9b1449e8e87 to your computer and use it in GitHub Desktop.
Save evandroamparo/6950a44de9b1449e8e87 to your computer and use it in GitHub Desktop.
# START iexplore.exe http://boxstarter.org/package/nr/url?https://gist.githubusercontent.com/evandroamparo/6950a44de9b1449e8e87/raw
# Para iniciar a instalação a partir da web, execute o PowerShell como administrador e execute este comando:
# Set-ExecutionPolicy RemoteSigned -force; iex ((new-object net.webclient).DownloadString('https://gist.githubusercontent.com/evandroamparo/6950a44de9b1449e8e87/raw'))
# Set-ExecutionPolicy RemoteSigned -Force
# iex ((new-object net.webclient).DownloadString('https://chocolatey.org/install.ps1'))
cinst googlechrome
cinst git
cinst sourcetree
cinst filezilla
# cinst sublimetext3
# cinst googleearth
# cinst pidgin
# cinst dotnet4.5.1
# cinst mysql
# cinst java.jdk
# cinst tomcat
$fbInstall32 = "http://ufpr.dl.sourceforge.net/project/firebird/firebird-win32/2.1.5-Release/Firebird-2.1.5.18497_0_Win32.exe"
$fbInstall64 = "http://ufpr.dl.sourceforge.net/project/firebird/firebird-win64/2.1.5-Release/Firebird-2.1.5.18497_0_x64.exe"
$fbInstallArgs = '/SILENT /SP- /NORESTART /COMPONENTS="ServerComponent\SuperServerComponent,ServerComponent,DevAdminComponent,ClientComponent" /NOGDS32 /COPYFBCLIENT /LOG="fbinstall.log"'
Stop-Service FirebirdGuardianDefaultInstance
Stop-Service FirebirdServerDefaultInstance
Install-ChocolateyPackage 'Firebird' 'exe' $fbInstallArgs $fbInstall32 $fbInstall64
# http://www.ibexpert.org/downloadcenter/dl.php?download=502919657544960
# TODO: Delphi
#Alterar caminho do instalador do Delphi 2007
# $delphiInstall = "C:\dev\Borland Delphi 2007 for Win32\Instalador\"
# $delphiInstallArgs = '/s REBOOTNOW=FALSE LANGUAGE=English EN=TRUE DE=FALSE USERNAME="Administrador" USERCOMPANY="" PERSON_DW32=TRUE PERSON_CPPB=FALSE INSTALL_AQTIME=FALSE INSTALL_CODESITE=FALSE INSTALL_FINALBUILDER=FALSE INSTALL_HELP=TRUE INSTALL_RAVE_REPORTS=FALSE INSTALL_SVNCLIENT=FALSE INSTALL_FEATURE_DatabaseDesktop=FALSE INSTALL_FEATURE_IntraWeb=FALSE INSTALL_FEATURE_SampleDataFiles=FALSE INSTALL_FEATURE_SamplePrograms=FALSE INSTALL_FEATURE_BDE=FALSE INSTALL_FEATURE_IBX=FALSE INSTALL_FEATURE_SHAREDFILES=FALSE/l="$pwd\DelphiSetup.log"'
# cd $delphiInstall
# Start-ChocolateyProcessAsAdmin $delphiInstallArgs "Setup.exe"
# $Boxstarter.RebootOk = $true
# Invoke-Reboot
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment