Many hyperlinks are disabled.
Use anonymous login
to enable hyperlinks.
Overview
Comment: | Modify the design-time components installation tool to produce an error message for Visual Studio 2017 (i.e. since it is not compatible). |
---|---|
Downloads: | Tarball | ZIP archive |
Timelines: | family | ancestors | descendants | both | vs2017 |
Files: | files | file ages | folders |
SHA1: |
2f8bbb43dd454e8e46cd72654edc245b |
User & Date: | mistachkin 2017-08-02 22:10:07.385 |
Context
2017-08-07
| ||
19:42 | Merge updates from trunk. check-in: 3460b9641f user: mistachkin tags: vs2017 | |
2017-08-02
| ||
22:10 | Modify the design-time components installation tool to produce an error message for Visual Studio 2017 (i.e. since it is not compatible). check-in: 2f8bbb43dd user: mistachkin tags: vs2017 | |
21:23 | Exclude the 'System.Threading.Tasks.Dataflow' assembly from the binary release archives. check-in: 5deb6aa3c5 user: mistachkin tags: vs2017 | |
Changes
Changes to Setup/data/SQLite.iss.
︙ | ︙ | |||
124 125 126 127 128 129 130 | #if Year != "2005" && Year != "2008" Components: Application\EF6; Tasks: ngen; Filename: {code:GetNetFx4InstallRoot|Ngen.exe}; Parameters: "install ""{app}\bin\System.Data.SQLite.EF6.dll"" /nologo"; Flags: skipifdoesntexist; Check: CheckIsNetFx4Setup() #endif #if Pos("NativeOnly", AppConfiguration) == 0 && AppProcessor == "x86" #if Year == "2005" | | | | | | | | | | | | | | | | 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 | #if Year != "2005" && Year != "2008" Components: Application\EF6; Tasks: ngen; Filename: {code:GetNetFx4InstallRoot|Ngen.exe}; Parameters: "install ""{app}\bin\System.Data.SQLite.EF6.dll"" /nologo"; Flags: skipifdoesntexist; Check: CheckIsNetFx4Setup() #endif #if Pos("NativeOnly", AppConfiguration) == 0 && AppProcessor == "x86" #if Year == "2005" Components: {#InstallerCondition}; Tasks: gac\vs2005; Filename: {app}\bin\Installer.exe; Parameters: "-install true -wow64 true -installFlags AllExceptGlobalAssemblyCache -tracePriority Lowest -verbose true -noCompact true -noNetFx35 true -noNetFx40 true -noNetFx45 true -noNetFx451 true -noNetFx452 true -noNetFx46 true -noNetFx461 true -noNetFx462 true -noNetFx47 true -noVs2008 true -noVs2010 true -noVs2012 true -noVs2013 true -noVs2015 true -noVs2017 true -whatIf false -confirm true"; Flags: skipifdoesntexist; Check: CheckIsNetFx2Setup() #endif #if Year == "2008" Components: {#InstallerCondition}; Tasks: gac\vs2008; Filename: {app}\bin\Installer.exe; Parameters: "-install true -wow64 true -installFlags AllExceptGlobalAssemblyCache -tracePriority Lowest -verbose true -noCompact true -noNetFx40 true -noNetFx45 true -noNetFx451 true -noNetFx452 true -noNetFx46 true -noNetFx461 true -noNetFx462 true -noNetFx47 true -noVs2005 true -noVs2010 true -noVs2012 true -noVs2013 true -noVs2015 true -noVs2017 true -whatIf false -confirm true"; Flags: skipifdoesntexist; Check: CheckIsNetFx2Setup() #endif #if Year == "2010" Components: {#InstallerCondition}; Tasks: gac\vs2010; Filename: {app}\bin\Installer.exe; Parameters: "-install true -wow64 true -installFlags AllExceptGlobalAssemblyCache -tracePriority Lowest -verbose true -noCompact true -noNetFx20 true -noNetFx35 true -noNetFx45 true -noNetFx451 true -noNetFx452 true -noNetFx46 true -noNetFx461 true -noNetFx462 true -noNetFx47 true -noVs2005 true -noVs2008 true -noVs2012 true -noVs2013 true -noVs2015 true -noVs2017 true -whatIf false -confirm true"; Flags: skipifdoesntexist; Check: CheckIsNetFx4Setup() #endif #if Year == "2012" Components: {#InstallerCondition}; Tasks: gac\vs2012; Filename: {app}\bin\Installer.exe; Parameters: "-install true -wow64 true -installFlags AllExceptGlobalAssemblyCache -tracePriority Lowest -verbose true -noCompact true -noNetFx20 true -noNetFx35 true -noNetFx40 true -noNetFx451 true -noNetFx452 true -noNetFx46 true -noNetFx461 true -noNetFx462 true -noNetFx47 true -noVs2005 true -noVs2008 true -noVs2010 true -noVs2013 true -noVs2015 true -noVs2017 true -configVersion 4.0.30319 -whatIf false -confirm true"; Flags: skipifdoesntexist; Check: CheckIsNetFx4Setup() Components: {#InstallerCondition}; Tasks: gac\vs2012; Filename: {app}\bin\Installer.exe; Parameters: "-perUser true -install true -wow64 true -installFlags AllExceptGlobalAssemblyCache -tracePriority Lowest -verbose true -noCompact true -noNetFx20 true -noNetFx35 true -noNetFx40 true -noNetFx451 true -noNetFx452 true -noNetFx46 true -noNetFx461 true -noNetFx462 true -noNetFx47 true -noVs2005 true -noVs2008 true -noVs2010 true -noVs2013 true -noVs2015 true -noVs2017 true -configVersion 4.0.30319 -vsVersionSuffix _Config -whatIf false -confirm true"; Flags: skipifdoesntexist; Check: CheckIsNetFx4Setup() #endif #if Year == "2013" Components: {#InstallerCondition}; Tasks: gac\vs2013; Filename: {app}\bin\Installer.exe; Parameters: "-install true -wow64 true -installFlags AllExceptGlobalAssemblyCache -tracePriority Lowest -verbose true -noCompact true -noNetFx20 true -noNetFx35 true -noNetFx40 true -noNetFx45 true -noNetFx452 true -noNetFx46 true -noNetFx461 true -noNetFx462 true -noNetFx47 true -noVs2005 true -noVs2008 true -noVs2010 true -noVs2012 true -noVs2015 true -noVs2017 true -configVersion 4.0.30319 -whatIf false -confirm true"; Flags: skipifdoesntexist; Check: CheckIsNetFx4Setup() #endif #if Year == "2015" Components: {#InstallerCondition}; Tasks: gac\vs2015; Filename: {app}\bin\Installer.exe; Parameters: "-install true -wow64 true -installFlags AllExceptGlobalAssemblyCache -tracePriority Lowest -verbose true -noCompact true -noNetFx20 true -noNetFx35 true -noNetFx40 true -noNetFx45 true -noNetFx451 true -noNetFx452 true -noNetFx461 true -noNetFx462 true -noNetFx47 true -noVs2005 true -noVs2008 true -noVs2010 true -noVs2012 true -noVs2013 true -noVs2017 true -configVersion 4.0.30319 -whatIf false -confirm true"; Flags: skipifdoesntexist; Check: CheckIsNetFx4Setup() #endif #endif [UninstallRun] #if Pos("NativeOnly", AppConfiguration) == 0 && AppProcessor == "x86" #if Year == "2015" Components: {#InstallerCondition}; Tasks: gac\vs2015; Filename: {app}\bin\Installer.exe; Parameters: "-install false -wow64 true -installFlags AllExceptGlobalAssemblyCache -tracePriority Lowest -verbose true -noCompact true -noNetFx20 true -noNetFx35 true -noNetFx40 true -noNetFx45 true -noNetFx451 true -noNetFx452 true -noNetFx461 true -noNetFx462 true -noNetFx47 true -noVs2005 true -noVs2008 true -noVs2010 true -noVs2012 true -noVs2013 true -noVs2017 true -configVersion 4.0.30319 -whatIf false -confirm true"; Flags: skipifdoesntexist; Check: CheckIsNetFx4Setup() #endif #if Year == "2013" Components: {#InstallerCondition}; Tasks: gac\vs2013; Filename: {app}\bin\Installer.exe; Parameters: "-install false -wow64 true -installFlags AllExceptGlobalAssemblyCache -tracePriority Lowest -verbose true -noCompact true -noNetFx20 true -noNetFx35 true -noNetFx40 true -noNetFx45 true -noNetFx452 true -noNetFx46 true -noNetFx461 true -noNetFx462 true -noNetFx47 true -noVs2005 true -noVs2008 true -noVs2010 true -noVs2012 true -noVs2015 true -noVs2017 true -configVersion 4.0.30319 -whatIf false -confirm true"; Flags: skipifdoesntexist; Check: CheckIsNetFx4Setup() #endif #if Year == "2012" Components: {#InstallerCondition}; Tasks: gac\vs2012; Filename: {app}\bin\Installer.exe; Parameters: "-perUser true -install false -wow64 true -installFlags AllExceptGlobalAssemblyCache -tracePriority Lowest -verbose true -noCompact true -noNetFx20 true -noNetFx35 true -noNetFx40 true -noNetFx451 true -noNetFx452 true -noNetFx46 true -noNetFx461 true -noNetFx462 true -noNetFx47 true -noVs2005 true -noVs2008 true -noVs2010 true -noVs2013 true -noVs2015 true -noVs2017 true -configVersion 4.0.30319 -vsVersionSuffix _Config -whatIf false -confirm true"; Flags: skipifdoesntexist; Check: CheckIsNetFx4Setup() Components: {#InstallerCondition}; Tasks: gac\vs2012; Filename: {app}\bin\Installer.exe; Parameters: "-install false -wow64 true -installFlags AllExceptGlobalAssemblyCache -tracePriority Lowest -verbose true -noCompact true -noNetFx20 true -noNetFx35 true -noNetFx40 true -noNetFx451 true -noNetFx452 true -noNetFx46 true -noNetFx461 true -noNetFx462 true -noNetFx47 true -noVs2005 true -noVs2008 true -noVs2010 true -noVs2013 true -noVs2015 true -noVs2017 true -configVersion 4.0.30319 -whatIf false -confirm true"; Flags: skipifdoesntexist; Check: CheckIsNetFx4Setup() #endif #if Year == "2010" Components: {#InstallerCondition}; Tasks: gac\vs2010; Filename: {app}\bin\Installer.exe; Parameters: "-install false -wow64 true -installFlags AllExceptGlobalAssemblyCache -tracePriority Lowest -verbose true -noCompact true -noNetFx20 true -noNetFx35 true -noNetFx45 true -noNetFx451 true -noNetFx452 true -noNetFx46 true -noNetFx461 true -noNetFx462 true -noNetFx47 true -noVs2005 true -noVs2008 true -noVs2012 true -noVs2013 true -noVs2015 true -noVs2017 true -whatIf false -confirm true"; Flags: skipifdoesntexist; Check: CheckIsNetFx4Setup() #endif #if Year == "2008" Components: {#InstallerCondition}; Tasks: gac\vs2008; Filename: {app}\bin\Installer.exe; Parameters: "-install false -wow64 true -installFlags AllExceptGlobalAssemblyCache -tracePriority Lowest -verbose true -noCompact true -noNetFx40 true -noNetFx45 true -noNetFx451 true -noNetFx452 true -noNetFx46 true -noNetFx461 true -noNetFx462 true -noNetFx47 true -noVs2005 true -noVs2010 true -noVs2012 true -noVs2013 true -noVs2015 true -noVs2017 true -whatIf false -confirm true"; Flags: skipifdoesntexist; Check: CheckIsNetFx2Setup() #endif #if Year == "2005" Components: {#InstallerCondition}; Tasks: gac\vs2005; Filename: {app}\bin\Installer.exe; Parameters: "-install false -wow64 true -installFlags AllExceptGlobalAssemblyCache -tracePriority Lowest -verbose true -noCompact true -noNetFx35 true -noNetFx40 true -noNetFx45 true -noNetFx451 true -noNetFx452 true -noNetFx46 true -noNetFx461 true -noNetFx462 true -noNetFx47 true -noVs2008 true -noVs2010 true -noVs2012 true -noVs2013 true -noVs2015 true -noVs2017 true -whatIf false -confirm true"; Flags: skipifdoesntexist; Check: CheckIsNetFx2Setup() #endif #endif #if Year != "2005" && Year != "2008" Components: Application\EF6; Tasks: ngen; Filename: {code:GetNetFx4InstallRoot|Ngen.exe}; Parameters: "uninstall ""{app}\bin\System.Data.SQLite.EF6.dll"" /nologo"; Flags: skipifdoesntexist; Check: CheckIsNetFx4Setup() #endif |
︙ | ︙ |
Changes to Tests/installer.eagle.
︙ | ︙ | |||
38 39 40 41 42 43 44 | set code [catch { testClrExec $installerExeFile [list -eventflags Wait -stdout output \ -success 0] -debugPriority Lowest -tracePriority MediumHigh \ -noRuntimeVersion true -noCompact true -noNetFx35 true \ -noNetFx40 true -noNetFx45 true -noNetFx451 true -noNetFx452 true \ -noNetFx46 true -noNetFx461 true -noNetFx462 true -noNetFx47 true \ -noVs2008 true -noVs2010 true -noVs2012 true -noVs2013 true \ | | | 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 | set code [catch { testClrExec $installerExeFile [list -eventflags Wait -stdout output \ -success 0] -debugPriority Lowest -tracePriority MediumHigh \ -noRuntimeVersion true -noCompact true -noNetFx35 true \ -noNetFx40 true -noNetFx45 true -noNetFx451 true -noNetFx452 true \ -noNetFx46 true -noNetFx461 true -noNetFx462 true -noNetFx47 true \ -noVs2008 true -noVs2010 true -noVs2012 true -noVs2013 true \ -noVs2015 true -noVs2017 true \ -whatIf true -verbose true -confirm true -install true -debug true \ -wow64 true -directory [file nativename [getBuildDirectory false]] \ -logFileName [appendArgs \" [file nativename $fileName] \"] \ -traceFormat [appendArgs \" "#{0}: {2}" \"] } error] tlog "---- BEGIN STDOUT OUTPUT\n" |
︙ | ︙ | |||
81 82 83 84 85 86 87 | set code [catch { testClrExec $installerExeFile [list -eventflags Wait -stdout output \ -success 0] -debugPriority Lowest -tracePriority MediumHigh \ -noRuntimeVersion true -noCompact true -noNetFx35 true \ -noNetFx40 true -noNetFx45 true -noNetFx451 true -noNetFx452 true \ -noNetFx46 true -noNetFx461 true -noNetFx462 true -noNetFx47 true \ -noVs2008 true -noVs2010 true -noVs2012 true -noVs2013 true \ | | | 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 | set code [catch { testClrExec $installerExeFile [list -eventflags Wait -stdout output \ -success 0] -debugPriority Lowest -tracePriority MediumHigh \ -noRuntimeVersion true -noCompact true -noNetFx35 true \ -noNetFx40 true -noNetFx45 true -noNetFx451 true -noNetFx452 true \ -noNetFx46 true -noNetFx461 true -noNetFx462 true -noNetFx47 true \ -noVs2008 true -noVs2010 true -noVs2012 true -noVs2013 true \ -noVs2015 true -noVs2017 true \ -whatIf true -verbose true -confirm true -install false -debug true \ -wow64 true -directory [file nativename [getBuildDirectory false]] \ -logFileName [appendArgs \" [file nativename $fileName] \"] \ -traceFormat [appendArgs \" "#{0}: {2}" \"] } error] tlog "---- BEGIN STDOUT OUTPUT\n" |
︙ | ︙ | |||
124 125 126 127 128 129 130 | set code [catch { testClrExec $installerExeFile [list -eventflags Wait -stdout output \ -success 0] -debugPriority Lowest -tracePriority MediumHigh \ -noRuntimeVersion true -noCompact true -noNetFx40 true \ -noNetFx45 true -noNetFx451 true -noNetFx452 true -noNetFx46 true \ -noNetFx461 true -noNetFx462 true -noNetFx47 true -noVs2005 true \ -noVs2010 true -noVs2012 true -noVs2013 true -noVs2015 true \ | | | 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 | set code [catch { testClrExec $installerExeFile [list -eventflags Wait -stdout output \ -success 0] -debugPriority Lowest -tracePriority MediumHigh \ -noRuntimeVersion true -noCompact true -noNetFx40 true \ -noNetFx45 true -noNetFx451 true -noNetFx452 true -noNetFx46 true \ -noNetFx461 true -noNetFx462 true -noNetFx47 true -noVs2005 true \ -noVs2010 true -noVs2012 true -noVs2013 true -noVs2015 true \ -noVs2017 true -whatIf true \ -verbose true -confirm true -install true -debug true -wow64 true \ -directory [file nativename [getBuildDirectory false]] \ -logFileName [appendArgs \" [file nativename $fileName] \"] \ -traceFormat [appendArgs \" "#{0}: {2}" \"] } error] tlog "---- BEGIN STDOUT OUTPUT\n" |
︙ | ︙ | |||
167 168 169 170 171 172 173 | set code [catch { testClrExec $installerExeFile [list -eventflags Wait -stdout output \ -success 0] -debugPriority Lowest -tracePriority MediumHigh \ -noRuntimeVersion true -noCompact true -noNetFx40 true \ -noNetFx45 true -noNetFx451 true -noNetFx452 true -noNetFx46 true \ -noNetFx461 true -noNetFx462 true -noNetFx47 true -noVs2005 true \ -noVs2010 true -noVs2012 true -noVs2013 true -noVs2015 true \ | | | 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 | set code [catch { testClrExec $installerExeFile [list -eventflags Wait -stdout output \ -success 0] -debugPriority Lowest -tracePriority MediumHigh \ -noRuntimeVersion true -noCompact true -noNetFx40 true \ -noNetFx45 true -noNetFx451 true -noNetFx452 true -noNetFx46 true \ -noNetFx461 true -noNetFx462 true -noNetFx47 true -noVs2005 true \ -noVs2010 true -noVs2012 true -noVs2013 true -noVs2015 true \ -noVs2017 true -whatIf true \ -verbose true -confirm true -install false -debug true -wow64 true \ -directory [file nativename [getBuildDirectory false]] \ -logFileName [appendArgs \" [file nativename $fileName] \"] \ -traceFormat [appendArgs \" "#{0}: {2}" \"] } error] tlog "---- BEGIN STDOUT OUTPUT\n" |
︙ | ︙ | |||
210 211 212 213 214 215 216 | set code [catch { testClrExec $installerExeFile [list -eventflags Wait -stdout output \ -success 0] -debugPriority Lowest -tracePriority MediumHigh \ -noRuntimeVersion true -noCompact true -noNetFx20 true \ -noNetFx35 true -noNetFx45 true -noNetFx451 true -noNetFx452 true \ -noNetFx46 true -noNetFx461 true -noNetFx462 true -noNetFx47 true \ -noVs2005 true -noVs2008 true -noVs2012 true -noVs2013 true \ | | | 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 | set code [catch { testClrExec $installerExeFile [list -eventflags Wait -stdout output \ -success 0] -debugPriority Lowest -tracePriority MediumHigh \ -noRuntimeVersion true -noCompact true -noNetFx20 true \ -noNetFx35 true -noNetFx45 true -noNetFx451 true -noNetFx452 true \ -noNetFx46 true -noNetFx461 true -noNetFx462 true -noNetFx47 true \ -noVs2005 true -noVs2008 true -noVs2012 true -noVs2013 true \ -noVs2015 true -noVs2017 true \ -whatIf true -verbose true -confirm true -install true -debug true \ -wow64 true -directory [file nativename [getBuildDirectory false]] \ -logFileName [appendArgs \" [file nativename $fileName] \"] \ -traceFormat [appendArgs \" "#{0}: {2}" \"] } error] tlog "---- BEGIN STDOUT OUTPUT\n" |
︙ | ︙ | |||
254 255 256 257 258 259 260 | set code [catch { testClrExec $installerExeFile [list -eventflags Wait -stdout output \ -success 0] -debugPriority Lowest -tracePriority MediumHigh \ -noRuntimeVersion true -noCompact true -noNetFx20 true \ -noNetFx35 true -noNetFx45 true -noNetFx451 true -noNetFx452 true \ -noNetFx46 true -noNetFx461 true -noNetFx462 true -noNetFx47 true \ -noVs2005 true -noVs2008 true -noVs2012 true -noVs2013 true \ | | | 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 | set code [catch { testClrExec $installerExeFile [list -eventflags Wait -stdout output \ -success 0] -debugPriority Lowest -tracePriority MediumHigh \ -noRuntimeVersion true -noCompact true -noNetFx20 true \ -noNetFx35 true -noNetFx45 true -noNetFx451 true -noNetFx452 true \ -noNetFx46 true -noNetFx461 true -noNetFx462 true -noNetFx47 true \ -noVs2005 true -noVs2008 true -noVs2012 true -noVs2013 true \ -noVs2015 true -noVs2017 true \ -whatIf true -verbose true -confirm true -install false -debug true \ -wow64 true -directory [file nativename [getBuildDirectory false]] \ -logFileName [appendArgs \" [file nativename $fileName] \"] \ -traceFormat [appendArgs \" "#{0}: {2}" \"] } error] tlog "---- BEGIN STDOUT OUTPUT\n" |
︙ | ︙ | |||
298 299 300 301 302 303 304 | set code [catch { testClrExec $installerExeFile [list -eventflags Wait -stdout output \ -success 0] -debugPriority Lowest -tracePriority MediumHigh \ -noRuntimeVersion true -noCompact true -noNetFx20 true \ -noNetFx35 true -noNetFx40 true -noNetFx451 true -noNetFx452 true \ -noNetFx46 true -noNetFx461 true -noNetFx462 true -noNetFx47 true \ -noVs2005 true -noVs2008 true -noVs2010 true -noVs2013 true \ | | | 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 | set code [catch { testClrExec $installerExeFile [list -eventflags Wait -stdout output \ -success 0] -debugPriority Lowest -tracePriority MediumHigh \ -noRuntimeVersion true -noCompact true -noNetFx20 true \ -noNetFx35 true -noNetFx40 true -noNetFx451 true -noNetFx452 true \ -noNetFx46 true -noNetFx461 true -noNetFx462 true -noNetFx47 true \ -noVs2005 true -noVs2008 true -noVs2010 true -noVs2013 true \ -noVs2015 true -noVs2017 true \ -whatIf true -verbose true -confirm true -install true -debug true \ -wow64 true -configVersion 4.0.30319 \ -directory [file nativename [getBuildDirectory false]] \ -logFileName [appendArgs \" [file nativename $fileName] \"] \ -traceFormat [appendArgs \" "#{0}: {2}" \"] } error] |
︙ | ︙ | |||
343 344 345 346 347 348 349 | set code [catch { testClrExec $installerExeFile [list -eventflags Wait -stdout output \ -success 0] -debugPriority Lowest -tracePriority MediumHigh \ -noRuntimeVersion true -noCompact true -noNetFx20 true \ -noNetFx35 true -noNetFx40 true -noNetFx451 true -noNetFx452 true \ -noNetFx46 true -noNetFx461 true -noNetFx462 true -noNetFx47 true \ -noVs2005 true -noVs2008 true -noVs2010 true -noVs2013 true \ | | | 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 | set code [catch { testClrExec $installerExeFile [list -eventflags Wait -stdout output \ -success 0] -debugPriority Lowest -tracePriority MediumHigh \ -noRuntimeVersion true -noCompact true -noNetFx20 true \ -noNetFx35 true -noNetFx40 true -noNetFx451 true -noNetFx452 true \ -noNetFx46 true -noNetFx461 true -noNetFx462 true -noNetFx47 true \ -noVs2005 true -noVs2008 true -noVs2010 true -noVs2013 true \ -noVs2015 true -noVs2017 true \ -whatIf true -verbose true -confirm true -install false -debug true \ -wow64 true -configVersion 4.0.30319 \ -directory [file nativename [getBuildDirectory false]] \ -logFileName [appendArgs \" [file nativename $fileName] \"] \ -traceFormat [appendArgs \" "#{0}: {2}" \"] } error] |
︙ | ︙ | |||
388 389 390 391 392 393 394 | set code [catch { testClrExec $installerExeFile [list -eventflags Wait -stdout output \ -success 0] -debugPriority Lowest -tracePriority MediumHigh \ -noRuntimeVersion true -noCompact true -noNetFx20 true \ -noNetFx35 true -noNetFx40 true -noNetFx45 true -noNetFx452 true \ -noNetFx46 true -noNetFx461 true -noNetFx462 true -noNetFx47 true \ -noVs2005 true -noVs2008 true -noVs2010 true -noVs2012 true \ | | | 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 | set code [catch { testClrExec $installerExeFile [list -eventflags Wait -stdout output \ -success 0] -debugPriority Lowest -tracePriority MediumHigh \ -noRuntimeVersion true -noCompact true -noNetFx20 true \ -noNetFx35 true -noNetFx40 true -noNetFx45 true -noNetFx452 true \ -noNetFx46 true -noNetFx461 true -noNetFx462 true -noNetFx47 true \ -noVs2005 true -noVs2008 true -noVs2010 true -noVs2012 true \ -noVs2015 true -noVs2017 true \ -whatIf true -verbose true -confirm true -install true -debug true \ -wow64 true -configVersion 4.0.30319 \ -directory [file nativename [getBuildDirectory false]] \ -logFileName [appendArgs \" [file nativename $fileName] \"] \ -traceFormat [appendArgs \" "#{0}: {2}" \"] } error] |
︙ | ︙ | |||
433 434 435 436 437 438 439 | set code [catch { testClrExec $installerExeFile [list -eventflags Wait -stdout output \ -success 0] -debugPriority Lowest -tracePriority MediumHigh \ -noRuntimeVersion true -noCompact true -noNetFx20 true \ -noNetFx35 true -noNetFx40 true -noNetFx45 true -noNetFx452 true \ -noNetFx46 true -noNetFx461 true -noNetFx462 true -noNetFx47 true \ -noVs2005 true -noVs2008 true -noVs2010 true -noVs2012 true \ | | | 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 | set code [catch { testClrExec $installerExeFile [list -eventflags Wait -stdout output \ -success 0] -debugPriority Lowest -tracePriority MediumHigh \ -noRuntimeVersion true -noCompact true -noNetFx20 true \ -noNetFx35 true -noNetFx40 true -noNetFx45 true -noNetFx452 true \ -noNetFx46 true -noNetFx461 true -noNetFx462 true -noNetFx47 true \ -noVs2005 true -noVs2008 true -noVs2010 true -noVs2012 true \ -noVs2015 true -noVs2017 true \ -whatIf true -verbose true -confirm true -install false -debug true \ -wow64 true -configVersion 4.0.30319 \ -directory [file nativename [getBuildDirectory false]] \ -logFileName [appendArgs \" [file nativename $fileName] \"] \ -traceFormat [appendArgs \" "#{0}: {2}" \"] } error] |
︙ | ︙ | |||
478 479 480 481 482 483 484 | set code [catch { testClrExec $installerExeFile [list -eventflags Wait -stdout output \ -success 0] -debugPriority Lowest -tracePriority MediumHigh \ -noRuntimeVersion true -noCompact true -noNetFx20 true \ -noNetFx35 true -noNetFx40 true -noNetFx45 true -noNetFx451 true \ -noNetFx452 true -noNetFx461 true -noNetFx462 true -noNetFx47 true \ -noVs2005 true -noVs2008 true -noVs2010 true -noVs2012 true \ | | | 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 | set code [catch { testClrExec $installerExeFile [list -eventflags Wait -stdout output \ -success 0] -debugPriority Lowest -tracePriority MediumHigh \ -noRuntimeVersion true -noCompact true -noNetFx20 true \ -noNetFx35 true -noNetFx40 true -noNetFx45 true -noNetFx451 true \ -noNetFx452 true -noNetFx461 true -noNetFx462 true -noNetFx47 true \ -noVs2005 true -noVs2008 true -noVs2010 true -noVs2012 true \ -noVs2013 true -noVs2017 true \ -whatIf true -verbose true -confirm true -install true -debug true \ -wow64 true -configVersion 4.0.30319 \ -directory [file nativename [getBuildDirectory false]] \ -logFileName [appendArgs \" [file nativename $fileName] \"] \ -traceFormat [appendArgs \" "#{0}: {2}" \"] } error] |
︙ | ︙ | |||
523 524 525 526 527 528 529 | set code [catch { testClrExec $installerExeFile [list -eventflags Wait -stdout output \ -success 0] -debugPriority Lowest -tracePriority MediumHigh \ -noRuntimeVersion true -noCompact true -noNetFx20 true \ -noNetFx35 true -noNetFx40 true -noNetFx45 true -noNetFx451 true \ -noNetFx452 true -noNetFx461 true -noNetFx462 true -noNetFx47 true \ -noVs2005 true -noVs2008 true -noVs2010 true -noVs2012 true \ | | | 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 | set code [catch { testClrExec $installerExeFile [list -eventflags Wait -stdout output \ -success 0] -debugPriority Lowest -tracePriority MediumHigh \ -noRuntimeVersion true -noCompact true -noNetFx20 true \ -noNetFx35 true -noNetFx40 true -noNetFx45 true -noNetFx451 true \ -noNetFx452 true -noNetFx461 true -noNetFx462 true -noNetFx47 true \ -noVs2005 true -noVs2008 true -noVs2010 true -noVs2012 true \ -noVs2013 true -noVs2017 true \ -whatIf true -verbose true -confirm true -install false -debug true \ -wow64 true -configVersion 4.0.30319 \ -directory [file nativename [getBuildDirectory false]] \ -logFileName [appendArgs \" [file nativename $fileName] \"] \ -traceFormat [appendArgs \" "#{0}: {2}" \"] } error] |
︙ | ︙ |
Changes to tools/install/Installer.cs.
︙ | ︙ | |||
2058 2059 2060 2061 2062 2063 2064 2065 2066 2067 2068 2069 2070 2071 | bool noNetFx47, bool noVs2005, bool noVs2008, bool noVs2010, bool noVs2012, bool noVs2013, bool noVs2015, bool noTrace, bool noConsole, bool noLog, bool throwOnMissing, bool whatIf, bool debug, bool verbose, | > | 2058 2059 2060 2061 2062 2063 2064 2065 2066 2067 2068 2069 2070 2071 2072 | bool noNetFx47, bool noVs2005, bool noVs2008, bool noVs2010, bool noVs2012, bool noVs2013, bool noVs2015, bool noVs2017, bool noTrace, bool noConsole, bool noLog, bool throwOnMissing, bool whatIf, bool debug, bool verbose, |
︙ | ︙ | |||
2106 2107 2108 2109 2110 2111 2112 2113 2114 2115 2116 2117 2118 2119 | this.noNetFx47 = noNetFx47; this.noVs2005 = noVs2005; this.noVs2008 = noVs2008; this.noVs2010 = noVs2010; this.noVs2012 = noVs2012; this.noVs2013 = noVs2013; this.noVs2015 = noVs2015; this.noTrace = noTrace; this.noConsole = noConsole; this.noLog = noLog; this.throwOnMissing = throwOnMissing; this.whatIf = whatIf; this.debug = debug; this.verbose = verbose; | > | 2107 2108 2109 2110 2111 2112 2113 2114 2115 2116 2117 2118 2119 2120 2121 | this.noNetFx47 = noNetFx47; this.noVs2005 = noVs2005; this.noVs2008 = noVs2008; this.noVs2010 = noVs2010; this.noVs2012 = noVs2012; this.noVs2013 = noVs2013; this.noVs2015 = noVs2015; this.noVs2017 = noVs2017; this.noTrace = noTrace; this.noConsole = noConsole; this.noLog = noLog; this.throwOnMissing = throwOnMissing; this.whatIf = whatIf; this.debug = debug; this.verbose = verbose; |
︙ | ︙ | |||
2302 2303 2304 2305 2306 2307 2308 | thisAssembly, null, directory, coreFileName, linqFileName, ef6FileName, designerFileName, null, null, null, TraceOps.DebugFormat, TraceOps.TraceFormat, InstallFlags.Default, ProviderFlags.Default, TracePriority.Default, TracePriority.Default, false, true, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, | | | | 2304 2305 2306 2307 2308 2309 2310 2311 2312 2313 2314 2315 2316 2317 2318 2319 | thisAssembly, null, directory, coreFileName, linqFileName, ef6FileName, designerFileName, null, null, null, TraceOps.DebugFormat, TraceOps.TraceFormat, InstallFlags.Default, ProviderFlags.Default, TracePriority.Default, TracePriority.Default, false, true, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, true, true, false, false, false); } /////////////////////////////////////////////////////////////////// [MethodImpl(MethodImplOptions.NoInlining)] public static bool FromArgs( string[] args, |
︙ | ︙ | |||
3074 3075 3076 3077 3078 3079 3080 3081 3082 3083 3084 3085 3086 3087 | return false; continue; } configuration.noVs2015 = (bool)value; } else if (MatchOption(newArg, "perUser")) { bool? value = ParseBoolean(text); if (value == null) { error = TraceOps.DebugAndTrace( | > > > > > > > > > > > > > > > > > > > > > | 3076 3077 3078 3079 3080 3081 3082 3083 3084 3085 3086 3087 3088 3089 3090 3091 3092 3093 3094 3095 3096 3097 3098 3099 3100 3101 3102 3103 3104 3105 3106 3107 3108 3109 3110 | return false; continue; } configuration.noVs2015 = (bool)value; } else if (MatchOption(newArg, "noVs2017")) { bool? value = ParseBoolean(text); if (value == null) { error = TraceOps.DebugAndTrace( TracePriority.Lowest, debugCallback, traceCallback, String.Format( "Invalid {0} boolean value: {1}", ForDisplay(arg), ForDisplay(text)), traceCategory); if (strict) return false; continue; } configuration.noVs2017 = (bool)value; } else if (MatchOption(newArg, "perUser")) { bool? value = ParseBoolean(text); if (value == null) { error = TraceOps.DebugAndTrace( |
︙ | ︙ | |||
3537 3538 3539 3540 3541 3542 3543 3544 3545 3546 3547 3548 3549 3550 | configuration.noNetFx461 = true; configuration.noNetFx462 = true; configuration.noNetFx47 = true; configuration.noVs2010 = true; configuration.noVs2012 = true; configuration.noVs2013 = true; configuration.noVs2015 = true; TraceOps.DebugAndTrace(TracePriority.Medium, debugCallback, traceCallback, String.Format( "Assembly is compiled for the .NET Framework {0}, " + "support for the .NET Framework {1} is now disabled.", CLRv2ImageRuntimeVersion, CLRv4ImageRuntimeVersion), traceCategory); | > | 3560 3561 3562 3563 3564 3565 3566 3567 3568 3569 3570 3571 3572 3573 3574 | configuration.noNetFx461 = true; configuration.noNetFx462 = true; configuration.noNetFx47 = true; configuration.noVs2010 = true; configuration.noVs2012 = true; configuration.noVs2013 = true; configuration.noVs2015 = true; configuration.noVs2017 = true; TraceOps.DebugAndTrace(TracePriority.Medium, debugCallback, traceCallback, String.Format( "Assembly is compiled for the .NET Framework {0}, " + "support for the .NET Framework {1} is now disabled.", CLRv2ImageRuntimeVersion, CLRv4ImageRuntimeVersion), traceCategory); |
︙ | ︙ | |||
4103 4104 4105 4106 4107 4108 4109 4110 4111 4112 4113 4114 4115 4116 | traceCallback(String.Format(NameAndValueFormat, "NoVs2013", ForDisplay(noVs2013)), traceCategory); traceCallback(String.Format(NameAndValueFormat, "NoVs2015", ForDisplay(noVs2015)), traceCategory); traceCallback(String.Format(NameAndValueFormat, "NoTrace", ForDisplay(noTrace)), traceCategory); traceCallback(String.Format(NameAndValueFormat, "NoConsole", ForDisplay(noConsole)), | > > > > | 4127 4128 4129 4130 4131 4132 4133 4134 4135 4136 4137 4138 4139 4140 4141 4142 4143 4144 | traceCallback(String.Format(NameAndValueFormat, "NoVs2013", ForDisplay(noVs2013)), traceCategory); traceCallback(String.Format(NameAndValueFormat, "NoVs2015", ForDisplay(noVs2015)), traceCategory); traceCallback(String.Format(NameAndValueFormat, "NoVs2017", ForDisplay(noVs2017)), traceCategory); traceCallback(String.Format(NameAndValueFormat, "NoTrace", ForDisplay(noTrace)), traceCategory); traceCallback(String.Format(NameAndValueFormat, "NoConsole", ForDisplay(noConsole)), |
︙ | ︙ | |||
4620 4621 4622 4623 4624 4625 4626 4627 4628 4629 4630 4631 4632 4633 | private bool noVs2015; public bool NoVs2015 { get { return noVs2015; } set { noVs2015 = value; } } /////////////////////////////////////////////////////////////////// private bool noTrace; public bool NoTrace { get { return noTrace; } | > > > > > > > > > | 4648 4649 4650 4651 4652 4653 4654 4655 4656 4657 4658 4659 4660 4661 4662 4663 4664 4665 4666 4667 4668 4669 4670 | private bool noVs2015; public bool NoVs2015 { get { return noVs2015; } set { noVs2015 = value; } } /////////////////////////////////////////////////////////////////// private bool noVs2017; public bool NoVs2017 { get { return noVs2017; } set { noVs2017 = value; } } /////////////////////////////////////////////////////////////////// private bool noTrace; public bool NoTrace { get { return noTrace; } |
︙ | ︙ | |||
5856 5857 5858 5859 5860 5861 5862 5863 5864 5865 5866 5867 5868 5869 | vsList.Versions.Add(new Version(11, 0));// 2012 if ((configuration == null) || !configuration.NoVs2013) vsList.Versions.Add(new Version(12, 0));// 2013 if ((configuration == null) || !configuration.NoVs2015) vsList.Versions.Add(new Version(14, 0));// 2015 } } /////////////////////////////////////////////////////////////////////// private static bool HaveVsVersionDirectory( MockRegistryKey rootKey, | > > > | 5893 5894 5895 5896 5897 5898 5899 5900 5901 5902 5903 5904 5905 5906 5907 5908 5909 | vsList.Versions.Add(new Version(11, 0));// 2012 if ((configuration == null) || !configuration.NoVs2013) vsList.Versions.Add(new Version(12, 0));// 2013 if ((configuration == null) || !configuration.NoVs2015) vsList.Versions.Add(new Version(14, 0));// 2015 if ((configuration == null) || !configuration.NoVs2017) vsList.Versions.Add(new Version(15, 0));// 2017 } } /////////////////////////////////////////////////////////////////////// private static bool HaveVsVersionDirectory( MockRegistryKey rootKey, |
︙ | ︙ | |||
7418 7419 7420 7421 7422 7423 7424 7425 7426 7427 7428 7429 7430 7431 | if (!Configuration.FromArgs( args, true, ref configuration, ref error) || !Configuration.Process( args, configuration, true, ref error) || !Configuration.CheckRuntimeVersion( configuration, true, ref error)) { TraceOps.ShowMessage(TracePriority.Highest, debugCallback, traceCallback, thisAssembly, error, traceCategory, MessageBoxButtons.OK, MessageBoxIcon.Error); TraceOps.DebugAndTrace(TracePriority.MediumHigh, debugCallback, traceCallback, "Failure.", | > > > > > > > > > > > > > > > > > > > > > > | 7458 7459 7460 7461 7462 7463 7464 7465 7466 7467 7468 7469 7470 7471 7472 7473 7474 7475 7476 7477 7478 7479 7480 7481 7482 7483 7484 7485 7486 7487 7488 7489 7490 7491 7492 7493 | if (!Configuration.FromArgs( args, true, ref configuration, ref error) || !Configuration.Process( args, configuration, true, ref error) || !Configuration.CheckRuntimeVersion( configuration, true, ref error)) { TraceOps.ShowMessage(TracePriority.Highest, debugCallback, traceCallback, thisAssembly, error, traceCategory, MessageBoxButtons.OK, MessageBoxIcon.Error); TraceOps.DebugAndTrace(TracePriority.MediumHigh, debugCallback, traceCallback, "Failure.", traceCategory); return 1; /* FAILURE */ } #endregion /////////////////////////////////////////////////////////////// #region Error Message for Visual Studio 2017 if (!configuration.NoVs2017) { error = "Visual Studio 2017 is not supported, " + "please see \"https://urn.to/r/vs2017_ddex\" " + "for more information."; TraceOps.ShowMessage(TracePriority.Highest, debugCallback, traceCallback, thisAssembly, error, traceCategory, MessageBoxButtons.OK, MessageBoxIcon.Error); TraceOps.DebugAndTrace(TracePriority.MediumHigh, debugCallback, traceCallback, "Failure.", |
︙ | ︙ |