Browse Source

Publisher info, etc.

Douglas William Thrift 11 years ago
parent
commit
e794d37ed8
3 changed files with 39 additions and 3 deletions
  1. 2 0
      ssh-handler.nsi
  2. 35 0
      ssh-handler/Properties/AssemblyInfo.cs
  3. 2 3
      ssh-handler/ssh-handler.csproj

+ 2 - 0
ssh-handler.nsi

@@ -70,6 +70,8 @@ XPStyle on
     WriteRegStr ${BASE_KEY} "Software\Classes\ssh" "URL Protocol" ""
     WriteRegStr ${BASE_KEY} "Software\Classes\ssh\shell\open\command" "" '"$INSTDIR\${SSH_HANDLER_EXE}" "%1"'
     WriteRegStr ${BASE_KEY} "${UNINST_REG}" "DisplayName" "$(^Name)"
+    WriteRegStr ${BASE_KEY} "${UNINST_REG}" "DisplayVersion" "${SSH_HANDLER_VERSION}"
+    WriteRegStr ${BASE_KEY} "${UNINST_REG}" "Publisher" "Douglas Thrift"
     WriteRegStr ${BASE_KEY} "${UNINST_REG}" "UninstallString" "$INSTDIR\${UNINST_EXE}"
     WriteRegStr ${BASE_KEY} "${UNINST_REG}" "InstallLocation" "$INSTDIR"
     WriteRegDWORD ${BASE_KEY} "${UNINST_REG}" "NoModify" 1

+ 35 - 0
ssh-handler/Properties/AssemblyInfo.cs

@@ -0,0 +1,35 @@
+using System.Reflection;
+using System.Runtime.CompilerServices;
+using System.Runtime.InteropServices;
+using System.Resources;
+
+// General Information about an assembly is controlled through the following 
+// set of attributes. Change these attribute values to modify the information
+// associated with an assembly.
+[assembly: AssemblyTitle("SSH Handler")]
+[assembly: AssemblyDescription("SSH URL handler for Windows")]
+[assembly: AssemblyConfiguration("")]
+[assembly: AssemblyCompany("Douglas Thrift")]
+[assembly: AssemblyProduct("SSH Handler")]
+[assembly: AssemblyCopyright("Copyright 2013 Douglas Thrift")]
+[assembly: AssemblyTrademark("")]
+[assembly: AssemblyCulture("")]
+
+// Setting ComVisible to false makes the types in this assembly not visible 
+// to COM components.  If you need to access a type in this assembly from 
+// COM, set the ComVisible attribute to true on that type.
+[assembly: ComVisible(false)]
+
+// The following GUID is for the ID of the typelib if this project is exposed to COM
+[assembly: Guid("177875f5-44fe-4c0d-a859-57eb59ab54af")]
+
+// Version information for an assembly consists of the following four values:
+//
+//      Major Version
+//      Minor Version 
+//      Build Number
+//      Revision
+//
+[assembly: AssemblyVersion("1.0.0.0")]
+[assembly: AssemblyFileVersion("1.0.0.0")]
+[assembly: NeutralResourcesLanguageAttribute("en-US")]

+ 2 - 3
ssh-handler/ssh-handler.csproj

@@ -59,10 +59,9 @@
     <Reference Include="System.Windows.Forms" />
     <Reference Include="System.Xml" />
   </ItemGroup>
+  <ItemGroup />
   <ItemGroup>
-    <Folder Include="Properties\" />
-  </ItemGroup>
-  <ItemGroup>
+    <Compile Include="Properties\AssemblyInfo.cs" />
     <Compile Include="ssh-handler.cs" />
   </ItemGroup>
   <ItemGroup>