杉宫竹苑工作室

 找回密码
 立即注册
搜索
热搜: 活动 交友 discuz
查看: 2356|回复: 0

汉化补丁安装实例

[复制链接]
发表于 2017-5-30 05:13:52 | 显示全部楼层 |阅读模式

正式会员享受无限制浏览网站功能和高速网盘下载,赶快加入本站吧!

您需要 登录 才可以下载或查看,没有账号?立即注册

x
  1. #define MyAppName "VMware9.0.2 汉化补丁"
  2. #define MyAppVersion "9.0.2.1031769"
  3. #define MyAppPublisher "VMware, Inc."
  4. #define MyAppURL "http://www.vmware.com/cn"

  5. [Setup]
  6. ; NOTE: The value of AppId uniquely identifies this application.
  7. ; Do not use the same AppId value in installers for other applications.
  8. ; (To generate a new GUID, click Tools | Generate GUID inside the IDE.)
  9. AppId={{12339E54-11E8-44F6-8FD5-4408732B474A}
  10. AppName={#MyAppName}
  11. AppVersion={#MyAppVersion}
  12. ;AppVerName={#MyAppName} {#MyAppVersion}
  13. AppPublisher={#MyAppPublisher}
  14. AppPublisherURL={#MyAppURL}
  15. AppSupportURL={#MyAppURL}
  16. AppUpdatesURL={#MyAppURL}
  17. DefaultDirName={reg:HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\App Paths\vmware.exe,Path}
  18. DefaultGroupName=VMware9.0.2
  19. InfoBeforeFile=E:\汉化\VMware\VMware-v9.0.2.1031769-CN\说明.txt
  20. OutputDir=C:\Users\tzj_2\Desktop
  21. OutputBaseFilename=VMware Workstation v9.0.2.1031769 汉化补丁
  22. SetupIconFile=D:\实用工具\NSIS_v2.46\ico\vmware_1.ico
  23. Compression=lzma
  24. SolidCompression=yes

  25. [Code]
  26. function InitializeSetup (): Boolean;
  27. begin
  28. Result := true;
  29. if not RegValueExists(HKLM, 'SOFTWARE\\Microsoft\Windows\CurrentVersion\App Paths\vmware.exe','Path') then
  30.   begin
  31.   MsgBox('未检测到原英文版 VMware-v9.0.2.1031769 程序,请先安装 VM 英文版后再运行本程序!'#13#13'软件汉化:tzj_2', mbInformation, MB_OK);
  32.   Result := False;
  33.   end;
  34. end;

  35. [Files]
  36. Source: "E:\汉化\VMware\VMware-v9.0.2.1031769-CN\vmappcfg.dll"; DestDir: "{app}"; Flags: ignoreversion
  37. Source: "E:\汉化\VMware\VMware-v9.0.2.1031769-CN\vmappsdk.dll"; DestDir: "{app}"; Flags: ignoreversion
  38. Source: "E:\汉化\VMware\VMware-v9.0.2.1031769-CN\vmapputil.dll"; DestDir: "{app}"; Flags: ignoreversion
  39. Source: "E:\汉化\VMware\VMware-v9.0.2.1031769-CN\vmclientcore.dll"; DestDir: "{app}"; Flags: ignoreversion
  40. Source: "E:\汉化\VMware\VMware-v9.0.2.1031769-CN\vmdkShellExt.dll"; DestDir: "{app}"; Flags: ignoreversion
  41. Source: "E:\汉化\VMware\VMware-v9.0.2.1031769-CN\vmnetui.dll"; DestDir: "{app}"; Flags: ignoreversion
  42. Source: "E:\汉化\VMware\VMware-v9.0.2.1031769-CN\vmPerfmon.dll"; DestDir: "{app}"; Flags: ignoreversion
  43. Source: "E:\汉化\VMware\VMware-v9.0.2.1031769-CN\vmwarebase.dll"; DestDir: "{app}"; Flags: ignoreversion
  44. Source: "E:\汉化\VMware\VMware-v9.0.2.1031769-CN\vmwarecui.dll"; DestDir: "{app}"; Flags: ignoreversion
  45. Source: "E:\汉化\VMware\VMware-v9.0.2.1031769-CN\vmware-tray-helper.dll"; DestDir: "{app}"; Flags: ignoreversion
  46. Source: "E:\汉化\VMware\VMware-v9.0.2.1031769-CN\vmwarewui.dll"; DestDir: "{app}"; Flags: ignoreversion
  47. Source: "E:\汉化\VMware\VMware-v9.0.2.1031769-CN\adjperm.dll"; DestDir: "{app}"; Flags: ignoreversion
  48. Source: "E:\汉化\VMware\VMware-v9.0.2.1031769-CN\vmnetcfg.exe"; DestDir: "{app}"; Flags: ignoreversion
  49. Source: "E:\汉化\VMware\VMware-v9.0.2.1031769-CN\vmplayer.exe"; DestDir: "{app}"; Flags: ignoreversion
  50. Source: "E:\汉化\VMware\VMware-v9.0.2.1031769-CN\vmware.exe"; DestDir: "{app}"; Flags: ignoreversion
  51. Source: "E:\汉化\VMware\VMware-v9.0.2.1031769-CN\vmware-tray.exe"; DestDir: "{app}"; Flags: ignoreversion
  52. Source: "E:\汉化\VMware\VMware-v9.0.2.1031769-CN\vmware-vmx.exe"; DestDir: "{app}"; Flags: ignoreversion
  53. Source: "E:\汉化\VMware\VMware-v9.0.2.1031769-CN\x64\*vmware-vmx.exe";  DestDir: "{app}\x64"; Flags: ignoreversion
  54. ; NOTE: Don't use "Flags: ignoreversion" on any shared system files
复制代码


回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

QQ|小黑屋|手机版|Archiver|SgzyStudio

GMT+8, 2024-5-17 11:17 , Processed in 0.108519 second(s), 18 queries .

Powered by Discuz! X3.4

© 2001-2023 Discuz! Team.

快速回复 返回顶部 返回列表