@@ -2030,7 +2030,7 @@ void CVersionUpdater::_DialogUpdateResult(void)
2030
2030
{
2031
2031
// 'files'/'silent' - Self extracting archive
2032
2032
SetOnQuitCommand ( " restart" );
2033
- SetOnRestartCommand ( " files" , m_JobInfo.strSaveLocation );
2033
+ SetOnRestartCommand ( " files" , m_JobInfo.strSaveLocation , m_JobInfo. strParameters );
2034
2034
_PollAnyButton ();
2035
2035
SetPostUpdateConnect ( m_strServerSaysHost );
2036
2036
_ExitGame ();
@@ -3177,6 +3177,14 @@ int CVersionUpdater::DoSendDownloadRequestToNextServer ( void )
3177
3177
}
3178
3178
}
3179
3179
3180
+ // Get version of installed VS2015 runtime
3181
+ SString strVS2015Version = " 0" ;
3182
+ SString strVS2015Install = GetSystemRegistryValue ( (uint)HKEY_LOCAL_MACHINE, " SOFTWARE\\ Microsoft\\ DevDiv\\ vc\\ Servicing\\ 14.0\\ RuntimeMinimum" , " Install" );
3183
+ if ( strVS2015Install == " \x01 " )
3184
+ {
3185
+ strVS2015Version = GetSystemRegistryValue ( (uint)HKEY_LOCAL_MACHINE, " SOFTWARE\\ Microsoft\\ DevDiv\\ vc\\ Servicing\\ 14.0\\ RuntimeMinimum" , " Version" );
3186
+ }
3187
+
3180
3188
// Compile some system stats
3181
3189
SDxStatus dxStatus;
3182
3190
g_pGraphics->GetRenderItemManager ()->GetDxStatus ( dxStatus );
@@ -3232,6 +3240,7 @@ int CVersionUpdater::DoSendDownloadRequestToNextServer ( void )
3232
3240
, *GetApplicationSetting ( " real-os-build" )
3233
3241
, *GetApplicationSetting ( " locale" ).Replace ( " _" , " -" )
3234
3242
, (uint)FileSize ( PathJoin ( GetSystemSystemPath (), " normaliz.dll" ) )
3243
+ , *strVS2015Version
3235
3244
);
3236
3245
3237
3246
SString strConnectUsage = SString (" %i_%i" , GetApplicationSettingInt ( " times-connected-editor" ), GetApplicationSettingInt ( " times-connected" ) );
0 commit comments