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.

59 lines
1.5 KiB

  1. Rem
  2. Rem �����û���δ���нڵ㰲װ������
  3. Rem ����������
  4. Rem
  5. If Exist "%RootDrive%\Corel" Goto Skip1
  6. Rem ����ʽ��װ
  7. Rem �� Corel �����ļ�λ�ڵ��������滻
  8. Rem #WPSINST#��
  9. If Not Exist "#WPSINST#\Suite8\Corel WordPerfect Suite 8 Setup.lnk" Goto cont2
  10. #WPSINST#\Suite8\#WPSINSTCMD#
  11. Goto skip0
  12. :cont2
  13. ..\End.cmd
  14. :Skip0
  15. Cls
  16. Echo Corel ��װ�������������밴����������...
  17. Pause > NUL:
  18. :Skip1
  19. Rem
  20. Rem ÿ���˶������Լ���һ�� DOD�����ˣ�All Users' һ���֣��ͽ���ɾ��
  21. Rem
  22. If Not Exist "%COMMON_START_MENU%\Corel WordPerfect Suite 8" Goto Skip2
  23. If Exist "%USER_START_MENU%\Corel WordPerfect Suite 8" Goto Cont1
  24. Move "%COMMON_START_MENU%\Corel WordPerfect Suite 8" "%USER_START_MENU%\Corel WordPerfect Suite 8" > NUL: 2>&1
  25. Goto Skip2
  26. :Cont1
  27. Rd /S /Q "%COMMON_START_MENU%\Corel WordPerfect Suite 8"
  28. :Skip2
  29. If Not Exist "%COMMON_STARTUP%\Corel Desktop Application Director 8.LNK" Goto Skip3
  30. If Exist "%USER_STARTUP%\Corel Desktop Application Director 8.LNK" Goto Cont2
  31. Move "%COMMON_STARTUP%\Corel Desktop Application Director 8.LNK" "%USER_STARTUP%\" > NUL: 2>&1
  32. Goto Skip3
  33. :Cont2
  34. Del /F /Q "%COMMON_STARTUP%\Corel Desktop Application Director 8.LNK"
  35. :Skip3
  36. If Not Exist "%RootDrive%\Windows\Twain_32\Corel" Goto Skip4
  37. Rd /S /Q "%RootDrive%\Windows\Twain_32\Corel"
  38. :Skip4
  39. If Not Exist "%RootDrive%\Corel\Suite8\PhotoHse\PhotoHse.ini" Goto Skip5
  40. ..\Aciniupd /e "%RootDrive%\Corel\Suite8\PhotoHse\PhotoHse.ini" "Open File Dialog" "Initial Dir" "%RootDrive%\MyFiles"
  41. :Skip5