5 Commits

Author SHA1 Message Date
DoogeJ
cad7150b9b Updated the version number 2016-11-22 13:12:04 +01:00
DoogeJ
6dbf1845ec Updated version number information 2016-11-22 13:11:47 +01:00
DoogeJ
a88c91f046 BugFix: [INNO Setup] Don't automatically reinstall to the same folder as a previous installation 2016-11-22 13:09:02 +01:00
DoogeJ
7b3ca4fb85 Ignore user-specific project files 2016-11-22 13:08:23 +01:00
Jaap-Willem Dooge
f1c98e8a4a Added release download link 2016-10-16 18:26:29 +02:00
6 changed files with 44 additions and 6 deletions

View File

@@ -1,7 +1,7 @@
#define use_dotnetfx46
#define MyAppName "SmartHDD"
#define MyAppVersion "1.0.0.0"
#define MyAppVersion "1.0.0.1"
#define MyAppPublisher "DoogeJ"
#define MyAppURL "https://github.com/DoogeJ/SmartHDD"
#define MyAppExeName "SmartHDD.exe"
@@ -24,6 +24,8 @@ OutputBaseFilename=Install_{#MyAppName}_{#MyAppVersion}
SetupIconFile=..\Visualpharm-Hardware-Hard-disk.ico
Compression=lzma
SolidCompression=yes
UsePreviousGroup=no
UsePreviousAppDir=no
; we will need administrator privileges to copy to program files and / or install prerequirements
PrivilegesRequired=admin

View File

@@ -14,6 +14,12 @@ Modifications by me:
## License / Copyright:
Please see the '**LICENSE**' file.
# Installing
Get the latest release here: [https://github.com/DoogeJ/SmartHDD/releases](https://github.com/DoogeJ/SmartHDD/releases).
## Reporting bugs or feature requests
Please use the GitHub issue-system for bugs or feature requests: [https://github.com/DoogeJ/SmartHDD/issues](https://github.com/DoogeJ/SmartHDD/issues).
## Note by the original author:
> Tested against Crystal Disk Info 5.3.1 and HD Tune Pro 3.5 on 15 Feb 2013.
> Findings; I do not trust the individual smart register "OK" status reported back frm the drives.
@@ -29,8 +35,10 @@ This application was written using Visual Studio 2015 and .NET Framework 4.5.2 o
It will most likely build fine on different configurations, but might require some modifications.
## Updating the version number
The version number is stored in two locations:
The version number is stored in four locations:
* In the projects assembly info file: **'SmartHDD\Properties\AssemblyInfo.cs'**
* In the program header: **'SmartHDD\Program.cs'**
* In the projects C# project file: **'SmartHDD\SmartHDD.csproj'**
* In the installer setup.iss file (only used for the installer): **'Installer\setup.iss'**
## Building the installer
@@ -45,4 +53,4 @@ To build the installer:
* Make sure the project is compiled and there is a working executable named **'SmartHDD.exe'** in the **'SmartHDD\bin\Release'**-folder
* Open **'Installer\setup.iss'** in the [Inno Setup Compiler](http://www.jrsoftware.org/isinfo.php)
* Hit *Build* -> *Compile* (Ctrl+F9)
* Done, the installer should be in the **'Installer\bin'**-folder
* Done, the installer should be in the **'Installer\bin'**-folder

1
SmartHDD/.gitignore vendored Normal file
View File

@@ -0,0 +1 @@
*.csproj.user

View File

@@ -330,7 +330,7 @@ namespace SmartHDD
}
WriteFullLine("┌──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┐");
WriteFullLine("│ SmartHDD by DoogeJ - https://github.com/DoogeJ/SmartHDD - (c) 2016 Jaap-Willem Dooge, 2013 Llewellyn Kruger version 1.0.0.0 │");
WriteFullLine("│ SmartHDD by DoogeJ - https://github.com/DoogeJ/SmartHDD - (c) 2016 Jaap-Willem Dooge, 2013 Llewellyn Kruger version 1.0.0.1 │");
WriteFullLine("└──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┘");
Console.WriteLine();

View File

@@ -32,5 +32,5 @@ using System.Runtime.InteropServices;
// You can specify all the values or you can default the Build and Revision Numbers
// by using the '*' as shown below:
// [assembly: AssemblyVersion("1.0.*")]
[assembly: AssemblyVersion("1.0.0.0")]
[assembly: AssemblyFileVersion("1.0.0.0")]
[assembly: AssemblyVersion("1.0.0.1")]
[assembly: AssemblyFileVersion("1.0.0.1")]

View File

@@ -12,6 +12,21 @@
<TargetFrameworkVersion>v4.5.2</TargetFrameworkVersion>
<FileAlignment>512</FileAlignment>
<AutoGenerateBindingRedirects>true</AutoGenerateBindingRedirects>
<PublishUrl>publish\</PublishUrl>
<Install>true</Install>
<InstallFrom>Disk</InstallFrom>
<UpdateEnabled>false</UpdateEnabled>
<UpdateMode>Foreground</UpdateMode>
<UpdateInterval>7</UpdateInterval>
<UpdateIntervalUnits>Days</UpdateIntervalUnits>
<UpdatePeriodically>false</UpdatePeriodically>
<UpdateRequired>false</UpdateRequired>
<MapFileExtensions>true</MapFileExtensions>
<ApplicationRevision>1</ApplicationRevision>
<ApplicationVersion>1.0.0.%2a</ApplicationVersion>
<IsWebBootstrapper>false</IsWebBootstrapper>
<UseApplicationTrust>false</UseApplicationTrust>
<BootstrapperEnabled>true</BootstrapperEnabled>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
<PlatformTarget>AnyCPU</PlatformTarget>
@@ -63,6 +78,18 @@
<ItemGroup>
<Content Include="Visualpharm-Hardware-Hard-disk.ico" />
</ItemGroup>
<ItemGroup>
<BootstrapperPackage Include=".NETFramework,Version=v4.5.2">
<Visible>False</Visible>
<ProductName>Microsoft .NET Framework 4.5.2 %28x86 and x64%29</ProductName>
<Install>true</Install>
</BootstrapperPackage>
<BootstrapperPackage Include="Microsoft.Net.Framework.3.5.SP1">
<Visible>False</Visible>
<ProductName>.NET Framework 3.5 SP1</ProductName>
<Install>false</Install>
</BootstrapperPackage>
</ItemGroup>
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
Other similar extension points exist, see Microsoft.Common.targets.