代码拉取完成,页面将自动刷新
同步操作将从 LunarSF/LunarMind 强制同步,此操作会覆盖自 Fork 仓库以来所做的任何修改,且无法恢复!!!
确定后同步将在后台操作,完成时将刷新页面,请耐心等待。
; Script generated by the Inno Setup Script Wizard.
; SEE THE DOCUMENTATION FOR DETAILS ON CREATING INNO SETUP SCRIPT FILES!
#define MyAppName "Lunar Mind"
#define MyAppVersion "1.0.2.18"
#define MyAppPublisher "SHome Workshop"
#define MyAppURL "https://gitee.com/lunarsf/lunarmind"
#define MyAppExeName "LunarMind.exe"
[code]
function InitializeSetup: Boolean;
begin
if (RegKeyExists(HKLM, 'SOFTWARE\Microsoft\.NETFramework\v4.0.30319') or
RegKeyExists(HKLM, 'SOFTWARE\Microsoft\.NETFramework\v4.5') or
RegKeyExists(HKLM, 'SOFTWARE\Microsoft\.NETFramework\v4.5.1') or
RegKeyExists(HKLM, 'SOFTWARE\Microsoft\.NETFramework\v4.5.22816') or
RegKeyExists(HKLM, 'SOFTWARE\Microsoft\.NETFramework\v4.5.23026') or
RegKeyExists(HKLM, 'SOFTWARE\Microsoft\.NETFramework\v4.5.25000') or
RegKeyExists(HKLM, 'SOFTWARE\Microsoft\.NETFramework\v4.5.50709')
) then
begin
Result := true;
end
else
begin
MsgBox(' 安装程序检测到当前 Windows 操作系统中没有安装微软公司的 .Net Framework 4.0 或更高版本的运行时环境,无法运行本程序。本安装程序即将退出!', mbInformation, MB_OK);
Result := false;
end;
end;
[Setup]
; NOTE: The value of AppId uniquely identifies this application.
; Do not use the same AppId value in installers for other applications.
; (To generate a new GUID, click Tools | Generate GUID inside the IDE.)
AppId={{0A6DFB71-B9F4-47D5-9B07-4CB743516323}
AppName={#MyAppName}
AppVersion={#MyAppVersion}
;AppVerName={#MyAppName} {#MyAppVersion}
AppPublisher={#MyAppPublisher}
AppPublisherURL={#MyAppURL}
AppSupportURL={#MyAppURL}
AppUpdatesURL={#MyAppURL}
DefaultDirName={localappdata}\{#MyAppName}
DefaultGroupName={#MyAppName}
AllowNoIcons=yes
OutputDir=D:\My Documents\Visual Studio 2010\Projects\LunarPresentation\LunarMindSetup
OutputBaseFilename="LunarMindSetup v{#MyAppVersion}"
SetupIconFile=D:\My Documents\Visual Studio 2010\Projects\LunarPresentation\LunarMind\Resources\LunarMind.ico
Compression=lzma
SolidCompression=yes
VersionInfoCompany="LunarSF"
VersionInfoDescription="A mindmap editor."
VersionInfoProductName="Lunar Mind"
VersionInfoProductTextVersion="{#MyAppVersion}"
VersionInfoProductVersion="{#MyAppVersion}"
VersionInfoTextVersion="{#MyAppVersion}"
VersionInfoVersion="{#MyAppVersion}"
[Languages]
Name: "chinesesimplified"; MessagesFile: "compiler:Languages\ChineseSimplified.isl"
[LangOptions]
DialogFontSize=10
[Tasks]
Name: "desktopicon"; Description: "{cm:CreateDesktopIcon}"; GroupDescription: "{cm:AdditionalIcons}"; Flags: unchecked
Name: "quicklaunchicon"; Description: "{cm:CreateQuickLaunchIcon}"; GroupDescription: "{cm:AdditionalIcons}"; Flags: unchecked; OnlyBelowVersion: 0,6.1
[Files]
Source: "D:\My Documents\Visual Studio 2010\Projects\LunarPresentation\LunarMind\bin\Release\LunarMind.exe"; DestDir: "{app}"; Flags: ignoreversion
;Source: "D:\My Documents\Visual Studio 2010\Projects\LunarPresentation\LunarMind\bin\Release\LunarPresentation.exe"; DestDir: "{app}"; Flags: ignoreversion
Source: "D:\My Documents\Visual Studio 2010\Projects\LunarPresentation\LunarMind\bin\Release\LunarTools.dll"; DestDir: "{app}"; Flags: ignoreversion
Source: "D:\My Documents\Visual Studio 2010\Projects\LunarPresentation\LunarMind\bin\Release\ICSharpCode.AvalonEdit.dll"; DestDir: "{app}"; Flags: ignoreversion
Source: "D:\My Documents\Visual Studio 2010\Projects\LunarPresentation\LunarMind\Resources\LunarMind.ico"; DestDir: "{app}"; Flags: ignoreversion
Source: "D:\My Documents\Visual Studio 2010\Projects\LunarPresentation\LunarMind\Resources\LunarMindDocument.ico"; DestDir: "{app}"; Flags: ignoreversion;
;Source: "D:\My Documents\Visual Studio 2010\Projects\LunarPresentation\LunarPresentation\LunarDocument.ico"; DestDir: "{app}"; Flags: ignoreversion
;Source: "D:\My Documents\Visual Studio 2010\Projects\LunarPresentation\LunarPresentation\LunarTemplete.ico"; DestDir: "{app}"; Flags: ignoreversion;Source: "D:\My Documents\Visual Studio 2010\Projects\LunarPresentation\LunarBrushManager\bin\Release\LunarTools.dll"; DestDir: "{app}"; Flags: ignoreversion
;Source: "D:\My Documents\Visual Studio 2010\Projects\LunarPresentation\LunarPresentation\bin\Release\LunarExpressions.mdb"; DestDir: "{app}"; Flags: ignoreversion
;Source: "D:\My Documents\Visual Studio 2010\Projects\LunarPresentation\LunarPresentation\bin\Release\Cmds.xml"; DestDir: "{app}"; Flags: ignoreversion
;Source: "D:\My Documents\Visual Studio 2010\Projects\LunarPresentation\LunarPresentation\bin\Release\Templates\*"; DestDir: "{app}\Templates\"; Flags: ignoreversion recursesubdirs createallsubdirs
;Source: "D:\My Documents\Visual Studio 2010\Projects\LunarPresentation\LunarPresentation\bin\Release\Help\*"; DestDir: "{app}\Help\"; Flags: ignoreversion recursesubdirs createallsubdirs
Source: "D:\My Documents\Visual Studio 2010\Projects\LunarPresentation\LunarMind\bin\Release\LWS-LunarMindTutorial.chm"; DestDir: "{app}"; Flags: ignoreversion
;图标库,这些虽然引用自LunarPresentation,但不能移除!!!
Source: "D:\My Documents\Visual Studio 2010\Projects\LunarPresentation\LunarMind\bin\Release\常用图像\标记\*"; DestDir: "{app}\常用图像\标记\"; Flags: ignoreversion recursesubdirs createallsubdirs
Source: "D:\My Documents\Visual Studio 2010\Projects\LunarPresentation\LunarMind\bin\Release\常用图像\工具\*"; DestDir: "{app}\常用图像\工具\"; Flags: ignoreversion recursesubdirs createallsubdirs
Source: "D:\My Documents\Visual Studio 2010\Projects\LunarPresentation\LunarMind\bin\Release\常用图像\生活用品\*"; DestDir: "{app}\常用图像\生活用品\"; Flags: ignoreversion recursesubdirs createallsubdirs
Source: "D:\My Documents\Visual Studio 2010\Projects\LunarPresentation\LunarMind\bin\Release\常用图像\特殊\*"; DestDir: "{app}\常用图像\特殊\"; Flags: ignoreversion recursesubdirs createallsubdirs
Source: "D:\My Documents\Visual Studio 2010\Projects\LunarPresentation\LunarMind\bin\Release\常用图像\体育用品\*"; DestDir: "{app}\常用图像\体育用品\"; Flags: ignoreversion recursesubdirs createallsubdirs
Source: "D:\My Documents\Visual Studio 2010\Projects\LunarPresentation\LunarMind\bin\Release\常用图像\文具与办工\*"; DestDir: "{app}\常用图像\文具与办工\"; Flags: ignoreversion recursesubdirs createallsubdirs
Source: "D:\My Documents\Visual Studio 2010\Projects\LunarPresentation\LunarMind\bin\Release\常用图像\艺术\*"; DestDir: "{app}\常用图像\艺术\"; Flags: ignoreversion recursesubdirs createallsubdirs
; NOTE: Don't use "Flags: ignoreversion" on any shared system files
[Icons]
Name: "{group}\{#MyAppName}"; Filename: "{app}\{#MyAppExeName}"
Name: "{group}\{cm:UninstallProgram,{#MyAppName}}"; Filename: "{uninstallexe}"
Name: "{commondesktop}\{#MyAppName}"; Filename: "{app}\{#MyAppExeName}"; Tasks: desktopicon
;Name: "{userappdata}\Microsoft\Internet Explorer\Quick Launch\{#MyAppName}"; Filename: "{app}\{#MyAppExeName}"; Tasks: quicklaunchicon
[Registry]
Root: HKCR; Subkey: "Lunar Mind Document"; ValueType: String; ValueData: "Lunar Mind Editor 生成的思维导图文档。";Flags: uninsdeletekey
Root: HKCR; Subkey: "Lunar Mind Document\DefaultIcon"; ValueType: String; ValueData: "{app}\LunarMindDocument.ico";Flags: uninsdeletekey
Root: HKCR; Subkey: "Lunar Mind Document\shell\open\command"; ValueType: String; ValueData: "{app}\LunarMind.exe ""%1""";Flags: uninsdeletekey
Root: HKCR; Subkey: "Lunar Mind Document\shell\用 Lunar Mind Editor 打开(&O)\command"; ValueType: String; ValueData: "{app}\LunarMind.exe ""%1""";Flags: uninsdeletekey
Root: HKCR; Subkey: ".lunarmind"; ValueType: String; ValueData: "Lunar Mind Document";Flags: uninsdeletekey
Root: HKCR; Subkey: ".lunarmind\Lunar Mind Document\ShellNew"; ValueType: String;Flags: uninsdeletekey
;安装位置
Root: HKLM; Subkey: "SOFTWARE\Lunar Mind"; ValueType: String; ValueName: "InstalledPath"; ValueData: "{app}\{#MyAppExeName}"; Flags: uninsdeletekey
[Run]
Filename: "{app}\{#MyAppExeName}"; Description: "{cm:LaunchProgram,{#StringChange(MyAppName, '&', '&&')}}"; Flags: nowait postinstall skipifsilent
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。