Browse Source

update smss options

master
pb 1 year ago
parent
commit
f398660ddb
1 changed files with 9 additions and 5 deletions
  1. 9
    5
      i.win.js

+ 9
- 5
i.win.js View File

var gitpath = "C:\\Program Files\\Git\\cmd" var gitpath = "C:\\Program Files\\Git\\cmd"
var nodepath = "C:\\Program Files\\nodejs\\" var nodepath = "C:\\Program Files\\nodejs\\"
var codepath = "C:\\Users\\Pradeep\\AppData\\Local\\Programs\\Microsoft VS Code\\bin" var codepath = "C:\\Users\\Pradeep\\AppData\\Local\\Programs\\Microsoft VS Code\\bin"
var python2path = "C:\\Python27" // Python installer doesnt write to PATH!!!
a.WriteLine("set PATH=%PATH%;" + gitpath ) a.WriteLine("set PATH=%PATH%;" + gitpath )
a.WriteLine("set PATH=%PATH%;" + nodepath ) a.WriteLine("set PATH=%PATH%;" + nodepath )
a.WriteLine("set PATH=%PATH%;" + codepath ) a.WriteLine("set PATH=%PATH%;" + codepath )
a.WriteLine("set PATH=%PATH%;" + python2path )
// a.WriteLine("set LAUNCHEDWITHENV=YES" ) // a.WriteLine("set LAUNCHEDWITHENV=YES" )
var __ALIAS__STAMP__ = '9e7bebe0-1f57-11ec-8f88-778ffeea9d1b' var __ALIAS__STAMP__ = '9e7bebe0-1f57-11ec-8f88-778ffeea9d1b'
, installer: 'SQL2019-SSEI-Expr.exe' , installer: 'SQL2019-SSEI-Expr.exe'
, installcmd: ['cmd', ['/c', 'start', , installcmd: ['cmd', ['/c', 'start',
'/WAIT', downloadsdir + '/' + 'SQL2019-SSEI-Expr.exe' '/WAIT', downloadsdir + '/' + 'SQL2019-SSEI-Expr.exe'
, '/Quiet'
, ''
//, 'SSMSInstallRoot=%systemdrive%\\Program Files (x86)\\Microsoft SQL Server\\140\\Tools\\Binn\\ManagementStudio' //, 'SSMSInstallRoot=%systemdrive%\\Program Files (x86)\\Microsoft SQL Server\\140\\Tools\\Binn\\ManagementStudio'
]] ]]
, install : install , install : install
} }
} }
, { , {
shellcmd: 'Ssms2019.exe',
// "C:\Program Files (x86)\Microsoft SQL Server Management Studio 18\Common7\IDE\Ssms.exe"
// SQL Management studio 2018
shellcmd: 'C:\\Program Files (x86)\\Microsoft SQL Server Management Studio 18\\Common7\\IDE\\Ssms.exe\\Ssms.exe',
url: 'https://aka.ms/ssmsfullsetup' url: 'https://aka.ms/ssmsfullsetup'
, installer: 'SSMS-Setup-ENU.exe' , installer: 'SSMS-Setup-ENU.exe'
, installcmd: ['cmd', ['/c', 'start', , installcmd: ['cmd', ['/c', 'start',
'/WAIT', downloadsdir + '/' + 'SSMS-Setup-ENU.exe' '/WAIT', downloadsdir + '/' + 'SSMS-Setup-ENU.exe'
, '/Quiet'
, '/IAcceptSQLServerLicenseTerms'
//, 'SSMSInstallRoot=%systemdrive%\\Program Files (x86)\\Microsoft SQL Server\\140\\Tools\\Binn\\ManagementStudio' //, 'SSMSInstallRoot=%systemdrive%\\Program Files (x86)\\Microsoft SQL Server\\140\\Tools\\Binn\\ManagementStudio'
]] ]]
, install : install , install : install
} }
} }
, { , {
shellcmd: 'Ssms.exe',
shellcmd: 'Ssms.exe', // SQL Mgmt Studo 2017
url: 'https://go.microsoft.com/fwlink/?linkid=2043154&clcid=0x409' url: 'https://go.microsoft.com/fwlink/?linkid=2043154&clcid=0x409'
, installer: 'SSMS-Setup-ENU.exe'
, installer: 'SSMS-Setup-ENU-2017.exe'
, installcmd: ['cmd', ['/c', 'start', , installcmd: ['cmd', ['/c', 'start',
'/WAIT', downloadsdir + '/' + 'SSMS-Setup-ENU.exe' '/WAIT', downloadsdir + '/' + 'SSMS-Setup-ENU.exe'
, '/Quiet' , '/Quiet'

Loading…
Cancel
Save