Changeset 7581 for trunk/tools/install/odininst.cpp
- Timestamp:
- Dec 8, 2001, 4:36:30 PM (24 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tools/install/odininst.cpp
r6551 r7581 1 /* $Id: odininst.cpp,v 1.1 0 2001-08-16 21:34:21sandervl Exp $ */1 /* $Id: odininst.cpp,v 1.11 2001-12-08 15:36:30 sandervl Exp $ */ 2 2 /* 3 3 * Odin WarpIn installation app … … 470 470 RegCloseKey(hkey); 471 471 472 //# 473 //# Entries for quartz.dll 474 //# 475 472 476 //Quartz.dll keys 473 477 //[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\CLSID\{CDA42200-BD88-11d0-BD4E-00A0C911CE86}] … … 544 548 RegCloseKey(hkey1); 545 549 RegCloseKey(hkey); 550 551 552 #if 0 553 if(RegCreateKey(HKEY_LOCAL_MACHINE, "Software\\CLASSES\\CLSID\\E436EBB3-524F-11CE-9F53-0020AF0BA770" ,&hkey)!=ERROR_SUCCESS) { 554 goto initreg_error; 555 } 556 RegSetValueEx(hkey,"",0,REG_SZ, (LPBYTE)QUARTZ_FILTERGRAPHDIST_DEFAULT, sizeof(QUARTZ_FILTERGRAPHDIST_DEFAULT)); 557 if(RegCreateKey(hkey,COM_INPROCSERVER, &hkey1)!=ERROR_SUCCESS) { 558 RegCloseKey(hkey); 559 goto initreg_error; 560 } 561 RegSetValueEx(hkey1,"",0,REG_SZ, (LPBYTE)QUARTZ_DLL, sizeof(QUARTZ_DLL)); 562 RegSetValueEx(hkey1, COM_THREADMODEL, 0,REG_SZ, (LPBYTE)THREAD_BOTH, sizeof(THREAD_BOTH)); 563 RegCloseKey(hkey1); 564 RegCloseKey(hkey); 565 566 # CLSID_FilterGraph 567 [HKEY_CLASSES_ROOT\CLSID\{E436EBB3-524F-11CE-9F53-0020AF0BA770}\InprocServer32] 568 @="quartz.dll" 569 "ThreadingModel"="Both" 570 571 # CLSID_SystemClock 572 [HKEY_CLASSES_ROOT\CLSID\{E436EBB1-524F-11CE-9F53-0020AF0BA770}\InprocServer32] 573 @="quartz.dll" 574 "ThreadingModel"="Both" 575 576 # CLSID_MemoryAllocator 577 [HKEY_CLASSES_ROOT\CLSID\{1E651CC0-B199-11D0-8212-00C04FC32C45}\InprocServer32] 578 @="quartz.dll" 579 "ThreadingModel"="Both" 580 #endif 546 581 547 582 //[HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion] … … 746 781 PROFILE_SetOdinIniString(ODINFONTSECTION, "MS Sans Serif", "WarpSans"); 747 782 } 783 //Add MS Shell Dlg 2 (win2k and up) too 784 if(PROFILE_GetOdinIniString(ODINFONTSECTION, "MS Shell Dlg 2", "", &temp, 785 0) <= 1) 786 { 787 PROFILE_SetOdinIniString(ODINFONTSECTION, "MS Shell Dlg 2", "WarpSans"); 788 } 789 748 790 //Create system.ini with [mci] section 749 791 strcpy(shellpath, InternalGetWindowsDirectory());
Note:
See TracChangeset
for help on using the changeset viewer.