Source code of Windows XP (NT5)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

106 lines
3.8 KiB

  1. @Echo Off
  2. Rem #########################################################################
  3. Rem
  4. Rem ��ע�������л��� Lotus Wordpro 9 �İ�װλ��
  5. Rem
  6. ..\ACRegL "%Temp%\wordpro.Cmd" WP "HKLM\Software\Lotus\Wordpro\98.0" "Path" ""
  7. Call "%Temp%\wordpro.Cmd"
  8. Del "%Temp%\wordpro.Cmd" >Nul: 2>&1
  9. Rem #########################################################################
  10. Rem
  11. Rem ����֤ %RootDrive% �Ѿ������ã���Ϊ�����ű����øñ�����
  12. Rem
  13. Call "%SystemRoot%\Application Compatibility Scripts\ChkRoot.Cmd"
  14. If "%_CHKROOT%" == "FAIL" Goto Done
  15. Call "%SystemRoot%\Application Compatibility Scripts\SetPaths.Cmd"
  16. If "%_SETPATHS%" == "FAIL" Goto Done
  17. Rem #########################################################################
  18. If Exist ..\Logon\SS9Usr.Cmd Goto Skip1
  19. Echo.
  20. Echo �Ҳ��� SS9Usr.Cmd ��¼�ű�
  21. Echo %Systemroot%\Application Compatibility Scripts\Logon.
  22. Echo.
  23. Echo Lotus SmartSuite 9 ���û�Ӧ�ó�����������ֹ��
  24. Echo.
  25. Pause
  26. Goto Done
  27. :Skip1
  28. Rem #########################################################################
  29. FindStr /I SS9Usr %SystemRoot%\System32\UsrLogn2.Cmd >Nul: 2>&1
  30. If Not ErrorLevel 1 Goto Skip2
  31. Echo Call SS9Usr.Cmd >> %SystemRoot%\System32\UsrLogn2.Cmd
  32. :Skip2
  33. Rem #########################################################################
  34. Rem ����Ĭ��ע����Ȩ�ޣ��Ա������û����� Smart Suite
  35. regini ssuite9.key > Nul:
  36. Rem ����û�а�װ Lotus Wordpro��������һ����
  37. If "%WP%A" == "A" Goto Skip3
  38. Rem ����ij��ԭ�� wordpro û�����ö����������ļ���ע������������������ǡ�
  39. set List="%WP%\lwp.reg" "%WP%\lwpdcaft.reg" "%WP%\lwplabel.reg" "%WP%\lwptls.reg"
  40. regedit /s %List%
  41. :Skip3
  42. Rem �����û�ע�����ļ��Ա�����ÿ�û�ע������
  43. Echo Windows ע�����༭���汾 5.00 >..\Logon\ss9usr.reg
  44. Echo. >>..\Logon\ss9usr.reg
  45. Echo. >>..\Logon\ss9usr.reg
  46. Echo [HKEY_CURRENT_USER\Software\Lotus\123\98.0\Paths\Work]>>..\Logon\ss9usr.reg
  47. Echo "EN"="%RootDrive%\\Lotus\\Work\\123\\" >>..\Logon\ss9usr.reg
  48. Echo. >>..\Logon\ss9usr.reg
  49. Echo [HKEY_CURRENT_USER\Software\Lotus\123\98.0\Paths\AutoOpen]>>..\Logon\ss9usr.reg
  50. Echo @="%RootDrive%\\Lotus\\Work\\123\\Auto\\" >>..\Logon\ss9usr.reg
  51. Echo. >>..\Logon\ss9usr.reg
  52. Echo [HKEY_CURRENT_USER\Software\Lotus\Approach\97.0\Paths\Work]>>..\Logon\ss9usr.reg
  53. Echo "EN"="%RootDrive%\\Lotus\\work\\approach\\">>..\Logon\ss9usr.reg
  54. Echo. >>..\Logon\ss9usr.reg
  55. Echo [HKEY_CURRENT_USER\Software\Lotus\Freelance\98.0\Freelance Graphics]>>..\Logon\ss9usr.reg
  56. Echo "Working Directory"="%RootDrive%\\Lotus\\work\\flg\\">>..\Logon\ss9usr.reg
  57. Echo "Backup Directory"="%RootDrive%\\Lotus\\backup\\flg\\">>..\Logon\ss9usr.reg
  58. Echo. >>..\Logon\ss9usr.reg
  59. Echo [HKEY_CURRENT_USER\Software\Lotus\Organizer\98.0\Paths]>>..\Logon\ss9usr.reg
  60. Echo "OrganizerFiles"="%RootDrive%\\Lotus\\work\\organize">>..\Logon\ss9usr.reg
  61. Echo "Backup"="%RootDrive%\\Lotus\\backup\\organize">>..\Logon\ss9usr.reg
  62. Echo. >>..\Logon\ss9usr.reg
  63. Echo [HKEY_CURRENT_USER\Software\Lotus\WordPro\98.0\Paths\Backup]>>..\Logon\ss9usr.reg
  64. Echo "EN"="%RootDrive%\\Lotus\\backup\\wordpro\\">>..\Logon\ss9usr.reg
  65. Echo. >>..\Logon\ss9usr.reg
  66. Echo [HKEY_CURRENT_USER\Software\Lotus\WordPro\98.0\Paths\Work]>>..\Logon\ss9usr.reg
  67. Echo "EN"="%RootDrive%\\Lotus\\work\\wordpro\\">>..\Logon\ss9usr.reg
  68. Echo. >>..\Logon\ss9usr.reg
  69. Echo [HKEY_CURRENT_USER\Software\Lotus\Components\Spell\4.1]>> ..\Logon\ss9usr.reg
  70. Echo "Multi User Path"="%RootDrive%\\Lotus" >> ..\Logon\ss9usr.reg
  71. Echo. >> ..\Logon\ss9usr.reg
  72. Echo [HKEY_CURRENT_USER\Software\Lotus\SmartCenter\98.0]>>..\Logon\ss9usr.reg
  73. Echo "Configure"=dword:00000001>>..\Logon\ss9usr.reg
  74. Echo [HKEY_CURRENT_USER\Software\Lotus\SmartCenter\98.0\Paths\Work]>>..\Logon\ss9usr.reg
  75. Echo "EN"="%RootDrive%\\Lotus\\Work\\SmartCtr">>..\Logon\ss9usr.reg
  76. Echo. >>..\Logon\ss9usr.reg
  77. Rem #########################################################################
  78. Echo Lotus SmartSuite 9 ���û�Ӧ�ó��������ѽ���
  79. Pause
  80. :Done