Leaked source code of windows server 2003
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.

58 lines
1.6 KiB

  1. Rem
  2. Rem If the user hasn't already run the node install program,
  3. Rem run it now.
  4. Rem
  5. If Exist "%RootDrive%\Corel" Goto Skip1
  6. Rem Interactive Install
  7. Rem Replace #WPSINST# with the drive where the Corel network files
  8. Rem are located.
  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 After the Corel Setup program finishes, press any key to continue...
  17. Pause > NUL:
  18. :Skip1
  19. Rem
  20. Rem Everyone will have its own copy of DOD.So, delete the All Users' whenever it exists
  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