Add simple Inno Setup installer script

pull/66/head
chertov 10 years ago
parent 0c36925b87
commit 5a363a957b

3
Win32/.gitignore vendored

@ -5,4 +5,5 @@
!*.vcproj
!*.vcxproj
!*.vcxproj.filters
!.gitignore
!*.iss
!.gitignore

@ -106,8 +106,9 @@
<SourcePath>./..;$(VC_SourcePath);</SourcePath>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
<IncludePath>.\boost;.\cryptopp;$(IncludePath)</IncludePath>
<LibraryPath>.\stage-x86\lib;$(LibraryPath)</LibraryPath>
<IncludePath>./..;$(BOOST);$(CRYPTOPP);$(IncludePath)</IncludePath>
<LibraryPath>$(BOOST)\stage\lib;$(CRYPTOPP)\cryptopp\Win32\Output\$(Configuration)\;$(LibraryPath)</LibraryPath>
<SourcePath>./..;$(VC_SourcePath);</SourcePath>
</PropertyGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
<ClCompile>
@ -134,6 +135,7 @@
<GenerateDebugInformation>true</GenerateDebugInformation>
<EnableCOMDATFolding>true</EnableCOMDATFolding>
<OptimizeReferences>true</OptimizeReferences>
<AdditionalDependencies>cryptlib.lib;%(AdditionalDependencies)</AdditionalDependencies>
</Link>
</ItemDefinitionGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />

@ -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"
Loading…
Cancel
Save