From 5a363a957b6266d7026ac6dbd3882a9d2eb97189 Mon Sep 17 00:00:00 2001 From: chertov Date: Fri, 18 Apr 2014 03:30:29 +0400 Subject: [PATCH] Add simple Inno Setup installer script --- Win32/.gitignore | 3 ++- Win32/i2pd.vcxproj | 6 ++++-- Win32/inno_installer.iss | 20 ++++++++++++++++++++ 3 files changed, 26 insertions(+), 3 deletions(-) create mode 100644 Win32/inno_installer.iss diff --git a/Win32/.gitignore b/Win32/.gitignore index d62f96f6..447f966d 100644 --- a/Win32/.gitignore +++ b/Win32/.gitignore @@ -5,4 +5,5 @@ !*.vcproj !*.vcxproj !*.vcxproj.filters -!.gitignore +!*.iss +!.gitignore \ No newline at end of file diff --git a/Win32/i2pd.vcxproj b/Win32/i2pd.vcxproj index 8a501ae0..87ee6151 100644 --- a/Win32/i2pd.vcxproj +++ b/Win32/i2pd.vcxproj @@ -106,8 +106,9 @@ ./..;$(VC_SourcePath); - .\boost;.\cryptopp;$(IncludePath) - .\stage-x86\lib;$(LibraryPath) + ./..;$(BOOST);$(CRYPTOPP);$(IncludePath) + $(BOOST)\stage\lib;$(CRYPTOPP)\cryptopp\Win32\Output\$(Configuration)\;$(LibraryPath) + ./..;$(VC_SourcePath); @@ -134,6 +135,7 @@ true true true + cryptlib.lib;%(AdditionalDependencies) diff --git a/Win32/inno_installer.iss b/Win32/inno_installer.iss new file mode 100644 index 00000000..3c93c650 --- /dev/null +++ b/Win32/inno_installer.iss @@ -0,0 +1,20 @@ + +#define I2Pd_AppName "i2pd" +#define I2Pd_ver "0.1" + +[Setup] +AppName={#I2Pd_AppName} +AppVersion={#I2Pd_ver} +DefaultDirName={pf}\I2Pd +DefaultGroupName=I2Pd +UninstallDisplayIcon={app}\I2Pd.exe +Compression=lzma2 +SolidCompression=yes +OutputDir=. +OutputBaseFilename=setup_{#I2Pd_AppName}_v{#I2Pd_ver} + +[Files] +Source: "i2pd.exe"; DestDir: "{app}" + +[Icons] +Name: "{group}\I2Pd"; Filename: "{app}\i2pd.exe"