1 Star 0 Fork 36

一了科技/LunarMind

forked from LunarSF/LunarMind 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
LunarMindInnoScript.iss 7.92 KB
一键复制 编辑 原始数据 按行查看 历史
; 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
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
C#
1
https://gitee.com/yiliaokeji/lunarmind.git
git@gitee.com:yiliaokeji/lunarmind.git
yiliaokeji
lunarmind
LunarMind
master

搜索帮助