⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 roadnav.iss

📁 Powerful and Portable GPS application -- support Linux, Windows, Windows CE GPS navigation and Map m
💻 ISS
字号:
[Setup]AppName=RoadnavAppVerName=Roadnav v$VERSION$AppPublisher=Richard L. LynchAppSupportURL=http://roadnav.sourceforge.net/DefaultDirName={pf}\RoadnavDefaultGroupName=RoadnavLicenseFile=..\..\COPYINGOutputBaseFilename=roadnav-$VERSION$-win32[Tasks]Name: "desktopicon"; Description: "Create &desktop icon"; GroupDescription: "Additional icons"Name: "source"; Description: "Install &source code"; GroupDescription: "Additional files"; Flags: unchecked[Run]Filename: "{app}\roadnav.exe"; WorkingDir: "{app}"; Description: "Launch Roadnav"; Flags: nowait postinstall[Files]Source: "..\MSVC8\Release Unicode\roadnav.exe"; DestDir: "{app}"; Flags: ignoreversion; MinVersion: 0, 1Source: "..\MSVC8\Release\roadnav.exe"; DestDir: "{app}"; Flags: ignoreversion; MinVersion: 1, 0Source: "..\..\README"; DestDir: "{app}"; Flags: ignoreversionSource: "..\..\COPYING"; DestDir: "{app}"; Flags: ignoreversionSource: "..\..\AUTHORS"; DestDir: "{app}"; Flags: ignoreversionSource: "..\..\ChangeLog"; DestDir: "{app}"; Flags: ignoreversionSource: "..\..\INSTALL"; DestDir: "{app}"; Flags: ignoreversionSource: "..\..\NEWS"; DestDir: "{app}"; Flags: ignoreversionSource: "..\..\TODO"; DestDir: "{app}"; Flags: ignoreversionSource: "..\..\data\*"; Excludes: "Makefile*"; DestDir: "{app}"Source: "..\..\skins\*"; Excludes: "Makefile*"; DestDir: "{app}\skins"; Flags: recursesubdirs ignoreversionSource: "..\..\*"; Excludes: "Output,roadnavprocessed.iss,Release,Release Unicode,Debug,Debug Unicode,Debug Unicode No GPSD,*.ncb,*.opt,*.plg,*.aps,*.exe,docs,build.log"; DestDir: "{app}\Source"; Flags: recursesubdirs ignoreversion; Tasks: sourceSource: "C:\Program Files (x86)\Microsoft Visual Studio 8\vcredist_x86.exe"; DestDir: "{app}"; Flags: dontcopy[Registry]Root: HKCU; Subkey: "Software\Roadnav"; Flags: uninsdeletekey[UninstallDelete]Type: filesandordirs; Name: "{userappdata}\roadnavdata"Type: files; Name: "{userappdata}\..\Roadnav.ini"[Icons]Name: "{group}\Roadnav"; Filename: "{app}\roadnav.exe"Name: "{commondesktop}\Roadnav"; Filename: "{app}\roadnav.exe"; Tasks: desktopicon;/////////////////////////////////////////////////////////////////////////////////////; Pascal code related to the installation;/////////////////////////////////////////////////////////////////////////////////////[Code]function NextButtonClick(CurPage: Integer): Boolean;var  ErrorCode: Integer;  ProgressPage: TOutputProgressWizardPage;begin	case CurPage of	wpReady:		begin			/////////////////////////////////////////////////////////////////////////////////////			// this executes right before files are unpacked and the actual installation begins			/////////////////////////////////////////////////////////////////////////////////////						ProgressPage := CreateOutputProgressPage('Installing', 'Please wait while Setup installs Roadnav on your computer.');			ProgressPage.Show;						try				ProgressPage.SetText('Installing Microsoft Visual C++ 2005 Redistributable Package...', '');				ExtractTemporaryFile('vcredist_x86.exe')				if not Exec(ExpandConstant('{tmp}\vcredist_x86.exe'), '/q:a', '', SW_SHOW, ewWaitUntilTerminated, ErrorCode) then					MsgBox('Error installing Microsoft Visual C++ 2005 Redistributable Package', mbError, MB_OK);			finally				ProgressPage.Hide;			end;			BringToFrontAndRestore();		end;	end;		Result := True;end;

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -