mirror of
https://github.com/greenshot/greenshot
synced 2025-08-20 13:33:27 -07:00
Update svnignore
git-svn-id: http://svn.code.sf.net/p/greenshot/code/trunk@701 7dccd23d-a4a3-4e1f-8c07-b4c1b4018ab4
This commit is contained in:
parent
f0cecf5bd5
commit
ae1e63976d
2 changed files with 0 additions and 113 deletions
|
@ -1,51 +0,0 @@
|
||||||
/*
|
|
||||||
* Greenshot - a free and open source screenshot tool
|
|
||||||
* Copyright (C) 2007-2010 Thomas Braun, Jens Klingen, Robin Krom
|
|
||||||
*
|
|
||||||
* For more information see: http://getgreenshot.org/
|
|
||||||
* The Greenshot project is hosted on Sourceforge: http://sourceforge.net/projects/greenshot/
|
|
||||||
*
|
|
||||||
* This program is free software: you can redistribute it and/or modify
|
|
||||||
* it under the terms of the GNU General Public License as published by
|
|
||||||
* the Free Software Foundation, either version 1 of the License, or
|
|
||||||
* (at your option) any later version.
|
|
||||||
*
|
|
||||||
* This program is distributed in the hope that it will be useful,
|
|
||||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
||||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
||||||
* GNU General Public License for more details.
|
|
||||||
*
|
|
||||||
* You should have received a copy of the GNU General Public License
|
|
||||||
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|
||||||
*/
|
|
||||||
using System.Reflection;
|
|
||||||
using System.Runtime.CompilerServices;
|
|
||||||
using System.Runtime.InteropServices;
|
|
||||||
|
|
||||||
// Information about this assembly is defined by the following
|
|
||||||
// attributes.
|
|
||||||
//
|
|
||||||
// change them to the information which is associated with the assembly
|
|
||||||
// you compile.
|
|
||||||
|
|
||||||
[assembly: AssemblyTitle("Greenshot")]
|
|
||||||
[assembly: AssemblyDescription("")]
|
|
||||||
[assembly: AssemblyConfiguration("")]
|
|
||||||
[assembly: AssemblyCompany("")]
|
|
||||||
[assembly: AssemblyProduct("Greenshot")]
|
|
||||||
[assembly: AssemblyCopyright("")]
|
|
||||||
[assembly: AssemblyTrademark("")]
|
|
||||||
[assembly: AssemblyCulture("")]
|
|
||||||
|
|
||||||
// This sets the default COM visibility of types in the assembly to invisible.
|
|
||||||
// If you need to expose a type to COM, use [ComVisible(true)] on that type.
|
|
||||||
[assembly: ComVisible(false)]
|
|
||||||
|
|
||||||
// The assembly version has following format :
|
|
||||||
//
|
|
||||||
// Major.Minor.Build.Revision
|
|
||||||
//
|
|
||||||
// You can specify all values by your own or you can build default build and revision
|
|
||||||
// numbers with the '*' character (the default):
|
|
||||||
|
|
||||||
[assembly: AssemblyVersion("0.8.0.0")]
|
|
|
@ -1,62 +0,0 @@
|
||||||
[Files]
|
|
||||||
Source: ..\..\bin\Release\*; DestDir: {app}; Flags: overwritereadonly recursesubdirs ignoreversion replacesameversion
|
|
||||||
Source: ..\additional_files\*; DestDir: {app}; Flags: overwritereadonly recursesubdirs ignoreversion replacesameversion
|
|
||||||
[Setup]
|
|
||||||
OutputDir=..\
|
|
||||||
OutputBaseFilename=Greenshot-INSTALLER-585
|
|
||||||
DefaultDirName={pf}\Greenshot
|
|
||||||
DefaultGroupName=Greenshot
|
|
||||||
AppName=Greenshot
|
|
||||||
AppVerName=Greenshot
|
|
||||||
AppMutex=F48E86D3-E34C-4DB7-8F8F-9A0EA55F0D08,Global\F48E86D3-E34C-4DB7-8F8F-9A0EA55F0D08
|
|
||||||
PrivilegesRequired=none
|
|
||||||
[Registry]
|
|
||||||
Root: HKCU; Subkey: "Software\Microsoft\Windows\CurrentVersion\Run"; ValueType: string; ValueName: "Greenshot"; ValueData: "{app}\Greenshot.exe"; Permissions: users-modify; Flags: uninsdeletevalue
|
|
||||||
[Icons]
|
|
||||||
Name: {group}\Greenshot; Filename: {app}\Greenshot.exe; WorkingDir: {app}
|
|
||||||
Name: {group}\Uninstall Greenshot; Filename: {app}\unins000.exe; WorkingDir: {app}
|
|
||||||
Name: {group}\Readme.txt; Filename: {app}\readme.txt; WorkingDir: {app}
|
|
||||||
Name: {group}\License.txt; Filename: {app}\license.txt; WorkingDir: {app}
|
|
||||||
[UninstallRun]
|
|
||||||
Filename: {app}\Greenshot.exe; Parameters: uninstall; WorkingDir: {app}; Languages:
|
|
||||||
[Languages]
|
|
||||||
Name: en; MessagesFile: compiler:Default.isl
|
|
||||||
Name: de; MessagesFile: compiler:Languages\German.isl
|
|
||||||
[CustomMessages]
|
|
||||||
en.dotnetmissing=This setup requires the .NET Framework v2.0.%nDo you want to download the framework now?
|
|
||||||
de.dotnetmissing=Dieses Programm benötigt Microsoft .NET Framework v2.0.%nWollen Sie das Framework jetzt downloaden?
|
|
||||||
[Code]
|
|
||||||
function InitializeSetup(): Boolean;
|
|
||||||
var
|
|
||||||
ErrorCode : Integer;
|
|
||||||
NetFrameWorkInstalled : Boolean;
|
|
||||||
MsgBoxResult : Boolean;
|
|
||||||
begin
|
|
||||||
|
|
||||||
NetFrameWorkInstalled := RegKeyExists(HKLM, 'SOFTWARE\Microsoft\.NETFramework\policy\v2.0');
|
|
||||||
if NetFrameWorkInstalled = true then
|
|
||||||
begin
|
|
||||||
Result := true;
|
|
||||||
end;
|
|
||||||
|
|
||||||
if NetFrameWorkInstalled = false then
|
|
||||||
begin
|
|
||||||
MsgBoxResult := MsgBox(ExpandConstant('{cm:dotnetmissing}'), mbConfirmation, MB_YESNO) = idYes;
|
|
||||||
Result := false;
|
|
||||||
if MsgBoxResult = true then
|
|
||||||
begin
|
|
||||||
ShellExec('open',
|
|
||||||
'http://download.microsoft.com/download/5/6/7/567758a3-759e-473e-bf8f-52154438565a/dotnetfx.exe',
|
|
||||||
'','',SW_SHOWNORMAL,ewNoWait,ErrorCode);
|
|
||||||
end;
|
|
||||||
end;
|
|
||||||
|
|
||||||
end;
|
|
||||||
|
|
||||||
[Run]
|
|
||||||
Filename: {app}\Greenshot.exe; WorkingDir: {app}; Flags: nowait postinstall
|
|
||||||
[InstallDelete]
|
|
||||||
Name: {app}; Type: filesandordirs; Languages:
|
|
||||||
Name: {userstartup}\Greenshot.lnk; Type: files; Languages:
|
|
||||||
Name: {commonstartup}\Greenshot.lnk; Type: files; Languages:
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue