home *** CD-ROM | disk | FTP | other *** search
/ DOKAN 17 / DOKAN17.iso / IE5 / MOBILENT.CAB / mobsync.dll / REGINST / REGINST
Text File  |  1999-03-05  |  5KB  |  132 lines

  1. ; Localized    02/25/1999 06:06  (GMT)    7:4.1.219     infD7.tmp
  2. [Version]
  3. Signature="$CHICAGO$"
  4.  
  5. ; Section called to setup when being installed on the machine
  6. ; note: DllRegisterServer calls the proxy to init the interfaces
  7. [Reg]
  8. AddReg=mobsync.Reg
  9. DelReg=mobsync.DeleteKeys
  10.  
  11. ; Section called to setup when being uninstalled on the machine
  12. ; note : DllUnregisterServer calls proxy to remove the interfaces.
  13. [UnReg]
  14. DelReg=mobsync.DeleteKeys
  15.  
  16. ; Section Sets up information for being run once for each time a new user
  17. ; logs on
  18. [SetupPerUserInstall]
  19. PerUserInstall=PUI
  20.  
  21. ; Section Removes PerUserInstall information so no longer run each time
  22. ; a new user logs on.
  23. [RemovePerUserInstall]
  24. DelReg=RemovePerUserInstallKey
  25. PerUserInstall=PUU
  26.  
  27.  
  28. ; Section is Called when a New User or existing user logs on for first
  29. ; time after mobsync is installed on the machine; Currently
  30. ; only called on NT 4.0 to setup shortcut
  31. [PerUserInstall]
  32. UpdateInis     = mobsyncInis
  33.  
  34.  
  35. ; Section called to add mobsync shortcut from start menu
  36. [RegShortcut]
  37. UpdateInis     = mobsyncInis
  38.  
  39. ; Section called to remove mobsync shortcut from start menu
  40. [UnRegShortcut]
  41. UpdateInis     = mobsyncInis.remove
  42.  
  43. ; in future should unreg some keys.
  44. ; header file for flags is in setupapi.h
  45.  
  46. [mobsync.Reg] ;*************************************************
  47. ; don't localize any strings in this section.
  48. ; MODULEPATH is a variable passed in when we are invoked.
  49.  
  50. ; register syncmgr proper information. (hivecls.inx) minus proxy registration
  51. HKCR,"CLSID\{6295DF27-35EE-11d1-8707-00C04FD93327}","",0x00000000,"MobSync Dll"
  52. HKCR,"CLSID\{6295DF27-35EE-11d1-8707-00C04FD93327}\InProcServer32","",0x00000000,%MODULEPATH%%mobsyncDLL%
  53. HKCR,"CLSID\{6295DF27-35EE-11d1-8707-00C04FD93327}\InProcServer32","ThreadingModel",0x00000000,"Apartment"
  54.  
  55. HKCR,"CLSID\{6295DF2D-35EE-11d1-8707-00C04FD93327}","",0x00000000,"MobSync"
  56. HKCR,"CLSID\{6295DF2D-35EE-11d1-8707-00C04FD93327}","AppID",0x00000000,"{6295DF2D-35EE-11d1-8707-00C04FD93327}"
  57. HKCR,"CLSID\{6295DF2D-35EE-11d1-8707-00C04FD93327}\LocalServer32","",0x00000000,%MODULEPATH%%mobsyncEXE%
  58. HKCR,"CLSID\{6295DF2D-35EE-11d1-8707-00C04FD93327}\LocalServer32","ThreadingModel",0x00000000,"Apartment"
  59.  
  60. ;dcom interactive user registration
  61. HKCR,"Appid\{6295DF2D-35EE-11d1-8707-00C04FD93327}","",0x00000000,"MobSync"
  62. HKCR,"Appid\{6295DF2D-35EE-11d1-8707-00C04FD93327}","RunAs",0x00000000,"Interactive User"
  63.  
  64. ; register local machine key (hivesft.inx)
  65. ; installed key is DWORD of binary data sinc win95 .inf can't support dword
  66. HKLM,"SOFTWARE\Microsoft\Windows\CurrentVersion\Syncmgr",,0x00000012
  67. HKLM,"SOFTWARE\Microsoft\Windows\CurrentVersion\Syncmgr","Installed",0x00000003,1,0,0,0
  68. HKLM,"SOFTWARE\Microsoft\Windows\CurrentVersion\Syncmgr\Handlers",,0x00000012
  69.  
  70. ; register current user key (hivedef.inx)
  71. HKCU,"Software\Microsoft\Windows\CurrentVersion\Syncmgr",,0x00000012
  72. HKCU,"Software\Microsoft\Windows\CurrentVersion\Syncmgr\Handlers",,0x00000012
  73.  
  74. [mobsync.DeleteKeys]
  75. ; we don't delete currentversion\syncmgr\handlers since don't want to remove existing registrations.
  76. HKCR,"CLSID\{6295DF27-35EE-11d1-8707-00C04FD93327}"
  77. HKCR,"CLSID\{6295DF2D-35EE-11d1-8707-00C04FD93327}"
  78. HKCR,"Appid\{6295DF2D-35EE-11d1-8707-00C04FD93327}"
  79. ; delete installed key
  80. HKLM,"SOFTWARE\Microsoft\Windows\CurrentVersion\Syncmgr","Installed"
  81. ; delete the HKCU KEY
  82. HKCU,"SOFTWARE\Microsoft\Windows\CurrentVersion\Syncmgr"
  83.  
  84.  
  85. ;Setup PerUser Install Information
  86. [PUI]
  87. DisplayName=%SYNCHRONIZE_PERUSERDISPLAYNAME%
  88. Version=1,0,0
  89. IsInstalled=1
  90. ComponentID=Synchronization_Manager
  91. GUID={6295DF27-35EE-11d1-8707-00C04FD93327}
  92. StubPath=rundll32.exe %MODULEPATH%%mobsyncDLL%,RunDllRegister /p
  93.  
  94. ; update the perUser install information
  95. [PUU]
  96. DisplayName=%SYNCHRONIZE_PERUSERDISPLAYNAME%
  97. Version=1,0,0
  98. IsInstalled=0
  99. ComponentID=Synchronization_Manager
  100. GUID={6295DF27-35EE-11d1-8707-00C04FD93327}
  101.  
  102. ; remove the StubPath Key for our component from ActiveSetup
  103. [RemovePerUserInstallKey]
  104. HKLM,"SOFTWARE\Microsoft\Active Setup\Installed Components\{6295DF27-35EE-11d1-8707-00C04FD93327}",StubPath
  105.  
  106.  
  107.  
  108. [mobsync.Garbage] ;*************************************************
  109.  
  110.  
  111. [mobsyncInis]
  112. ; Adds Icon to Current Users group on NT
  113. ; ACCESSORIES_GROUP is defined by the caller.
  114. setup.ini, progman.groups,, "group4=%ACESSORIES_GROUP%"  ;creates Accessories folder (if not already there
  115. setup.ini,group4,, """%SYNCHRONIZE_LINKNAME%"", ""%MODULEPATH%%mobsyncEXE%"""   ;creates link in Accessories folder
  116.  
  117. [mobsyncInis.remove]
  118. setup.ini, progman.groups,, "group4=%ACESSORIES_GROUP%"     ;creates Accessories folder (if not already there
  119. setup.ini, group4,, """%SYNCHRONIZE_LINKNAME%"""      ;deletes link
  120.  
  121.  
  122. [Strings] ;*************************************************
  123. ;Non-Localizable strings:
  124. KEY_mobsync = "SOFTWARE\Microsoft\Windows\syncmgr\handlers"
  125. mobsyncDLL = "mobsync.dll"
  126. mobsyncEXE = "mobsync.exe"
  127.  
  128. ;Localize Strings
  129. LANGID = EN
  130.  
  131. [End]
  132.