jj 25.01.17

This commit is contained in:
JenneJ 2017-01-25 16:32:57 +01:00
parent 747ec9ce14
commit 59bb2ffa6b
25 changed files with 473 additions and 425 deletions

63
.gitattributes vendored Normal file
View File

@ -0,0 +1,63 @@
###############################################################################
# Set default behavior to automatically normalize line endings.
###############################################################################
* text=auto
###############################################################################
# Set default behavior for command prompt diff.
#
# This is need for earlier builds of msysgit that does not have it on by
# default for csharp files.
# Note: This is only used by command line
###############################################################################
#*.cs diff=csharp
###############################################################################
# Set the merge driver for project and solution files
#
# Merging from the command prompt will add diff markers to the files if there
# are conflicts (Merging from VS is not affected by the settings below, in VS
# the diff markers are never inserted). Diff markers may cause the following
# file extensions to fail to load in VS. An alternative would be to treat
# these files as binary and thus will always conflict and require user
# intervention with every merge. To do so, just uncomment the entries below
###############################################################################
#*.sln merge=binary
#*.csproj merge=binary
#*.vbproj merge=binary
#*.vcxproj merge=binary
#*.vcproj merge=binary
#*.dbproj merge=binary
#*.fsproj merge=binary
#*.lsproj merge=binary
#*.wixproj merge=binary
#*.modelproj merge=binary
#*.sqlproj merge=binary
#*.wwaproj merge=binary
###############################################################################
# behavior for image files
#
# image files are treated as binary by default.
###############################################################################
#*.jpg binary
#*.png binary
#*.gif binary
###############################################################################
# diff behavior for common document formats
#
# Convert binary document formats to text before diffing them. This feature
# is only available from the command line. Turn it on by uncommenting the
# entries below.
###############################################################################
#*.doc diff=astextplain
#*.DOC diff=astextplain
#*.docx diff=astextplain
#*.DOCX diff=astextplain
#*.dot diff=astextplain
#*.DOT diff=astextplain
#*.pdf diff=astextplain
#*.PDF diff=astextplain
#*.rtf diff=astextplain
#*.RTF diff=astextplain

156
.gitignore vendored Normal file
View File

@ -0,0 +1,156 @@
## Ignore Visual Studio temporary files, build results, and
## files generated by popular Visual Studio add-ons.
# User-specific files
*.suo
*.user
*.sln.docstates
# Build results
[Dd]ebug/
[Rr]elease/
x64/
build/
[Bb]in/
[Oo]bj/
# Enable "build/" folder in the NuGet Packages folder since NuGet packages use it for MSBuild targets
!packages/*/build/
# MSTest test Results
[Tt]est[Rr]esult*/
[Bb]uild[Ll]og.*
*_i.c
*_p.c
*.ilk
*.meta
*.obj
*.pch
*.pdb
*.pgc
*.pgd
*.rsp
*.sbr
*.tlb
*.tli
*.tlh
*.tmp
*.tmp_proj
*.log
*.vspscc
*.vssscc
.builds
*.pidb
*.log
*.scc
# Visual C++ cache files
ipch/
*.aps
*.ncb
*.opensdf
*.sdf
*.cachefile
# Visual Studio profiler
*.psess
*.vsp
*.vspx
# Guidance Automation Toolkit
*.gpState
# ReSharper is a .NET coding add-in
_ReSharper*/
*.[Rr]e[Ss]harper
# TeamCity is a build add-in
_TeamCity*
# DotCover is a Code Coverage Tool
*.dotCover
# NCrunch
*.ncrunch*
.*crunch*.local.xml
# Installshield output folder
[Ee]xpress/
# DocProject is a documentation generator add-in
DocProject/buildhelp/
DocProject/Help/*.HxT
DocProject/Help/*.HxC
DocProject/Help/*.hhc
DocProject/Help/*.hhk
DocProject/Help/*.hhp
DocProject/Help/Html2
DocProject/Help/html
# Click-Once directory
publish/
# Publish Web Output
*.Publish.xml
# NuGet Packages Directory
## TODO: If you have NuGet Package Restore enabled, uncomment the next line
#packages/
# Windows Azure Build Output
csx
*.build.csdef
# Windows Store app package directory
AppPackages/
# Others
sql/
*.Cache
ClientBin/
[Ss]tyle[Cc]op.*
~$*
*~
*.dbmdl
*.[Pp]ublish.xml
*.pfx
*.publishsettings
# RIA/Silverlight projects
Generated_Code/
# Backup & report files from converting an old project file to a newer
# Visual Studio version. Backup files are not needed, because we have git ;-)
_UpgradeReport_Files/
Backup*/
UpgradeLog*.XML
UpgradeLog*.htm
# SQL Server files
App_Data/*.mdf
App_Data/*.ldf
#LightSwitch generated files
GeneratedArtifacts/
_Pvt_Extensions/
ModelManifest.xml
# =========================
# Windows detritus
# =========================
# Windows image file caches
Thumbs.db
ehthumbs.db
# Folder config file
Desktop.ini
# Recycle Bin used on file shares
$RECYCLE.BIN/
# Mac desktop service store files
.DS_Store

View File

@ -5,16 +5,38 @@ VisualStudioVersion = 12.0.21005.1
MinimumVisualStudioVersion = 10.0.40219.1
Project("{F184B08F-C81C-45F6-A57F-5ABD9991F28F}") = "DD_Clipboard_Searcher", "DD_Clipboard_Searcher\DD_Clipboard_Searcher.vbproj", "{09BC9934-1A38-4752-8873-639B42779CDB}"
EndProject
Project("{930C7802-8A8C-48F9-8165-68863BCCD9DD}") = "SetupWix", "SetupWix\SetupWix.wixproj", "{15FC07B7-9FF7-4F14-9BAB-05674E20D839}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU
Debug|Mixed Platforms = Debug|Mixed Platforms
Debug|x86 = Debug|x86
Release|Any CPU = Release|Any CPU
Release|Mixed Platforms = Release|Mixed Platforms
Release|x86 = Release|x86
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
{09BC9934-1A38-4752-8873-639B42779CDB}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{09BC9934-1A38-4752-8873-639B42779CDB}.Debug|Any CPU.Build.0 = Debug|Any CPU
{09BC9934-1A38-4752-8873-639B42779CDB}.Debug|Mixed Platforms.ActiveCfg = Debug|Any CPU
{09BC9934-1A38-4752-8873-639B42779CDB}.Debug|Mixed Platforms.Build.0 = Debug|Any CPU
{09BC9934-1A38-4752-8873-639B42779CDB}.Debug|x86.ActiveCfg = Debug|Any CPU
{09BC9934-1A38-4752-8873-639B42779CDB}.Release|Any CPU.ActiveCfg = Release|Any CPU
{09BC9934-1A38-4752-8873-639B42779CDB}.Release|Any CPU.Build.0 = Release|Any CPU
{09BC9934-1A38-4752-8873-639B42779CDB}.Release|Mixed Platforms.ActiveCfg = Release|Any CPU
{09BC9934-1A38-4752-8873-639B42779CDB}.Release|Mixed Platforms.Build.0 = Release|Any CPU
{09BC9934-1A38-4752-8873-639B42779CDB}.Release|x86.ActiveCfg = Release|Any CPU
{15FC07B7-9FF7-4F14-9BAB-05674E20D839}.Debug|Any CPU.ActiveCfg = Debug|x86
{15FC07B7-9FF7-4F14-9BAB-05674E20D839}.Debug|Mixed Platforms.ActiveCfg = Debug|x86
{15FC07B7-9FF7-4F14-9BAB-05674E20D839}.Debug|Mixed Platforms.Build.0 = Debug|x86
{15FC07B7-9FF7-4F14-9BAB-05674E20D839}.Debug|x86.ActiveCfg = Debug|x86
{15FC07B7-9FF7-4F14-9BAB-05674E20D839}.Debug|x86.Build.0 = Debug|x86
{15FC07B7-9FF7-4F14-9BAB-05674E20D839}.Release|Any CPU.ActiveCfg = Release|x86
{15FC07B7-9FF7-4F14-9BAB-05674E20D839}.Release|Mixed Platforms.ActiveCfg = Release|x86
{15FC07B7-9FF7-4F14-9BAB-05674E20D839}.Release|Mixed Platforms.Build.0 = Release|x86
{15FC07B7-9FF7-4F14-9BAB-05674E20D839}.Release|x86.ActiveCfg = Release|x86
{15FC07B7-9FF7-4F14-9BAB-05674E20D839}.Release|x86.Build.0 = Release|x86
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE

View File

@ -1,18 +0,0 @@
<?xml version="1.0" encoding="utf-8" ?>
<configuration>
<configSections>
<sectionGroup name="userSettings" type="System.Configuration.UserSettingsGroup, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" >
<section name="DD_Clipboard_Searcher.My.MySettings" type="System.Configuration.ClientSettingsSection, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" allowExeDefinition="MachineToLocalUser" requirePermission="false" />
</sectionGroup>
</configSections>
<startup>
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.5.1" />
</startup>
<userSettings>
<DD_Clipboard_Searcher.My.MySettings>
<setting name="WDSearch_maximized" serializeAs="String">
<value>False</value>
</setting>
</DD_Clipboard_Searcher.My.MySettings>
</userSettings>
</configuration>

View File

@ -1,66 +0,0 @@
<?xml version="1.0"?>
<doc>
<assembly>
<name>
DD_Clipboard_Searcher
</name>
</assembly>
<members>
<member name="M:DD_Clipboard_Searcher.clsWindowApi.GetTopLevelWindows">
<summary>
Get all top-level window information
</summary>
<returns>List of window information objects</returns>
</member><member name="M:DD_Clipboard_Searcher.clsWindowApi.GetChildWindows(System.Int32)">
<summary>
Get all child windows for the specific windows handle (hwnd).
</summary>
<returns>List of child windows for parent window</returns>
</member><member name="M:DD_Clipboard_Searcher.clsWindowApi.EnumWindowProc(System.Int32,System.Int32)">
<summary>
Callback function that does the work of enumerating top-level windows.
</summary>
<param name="hwnd">Discovered Window handle</param>
<returns>1=keep going, 0=stop</returns>
</member><member name="M:DD_Clipboard_Searcher.clsWindowApi.EnumChildWindowProc(System.Int32,System.Int32)">
<summary>
Callback function that does the work of enumerating child windows.
</summary>
<param name="hwnd">Discovered Window handle</param>
<returns>1=keep going, 0=stop</returns>
</member><member name="M:DD_Clipboard_Searcher.clsWindowApi.GetWindowIdentification(System.Int32)">
<summary>
Build the ApiWindow object to hold information about the Window object.
</summary>
</member><member name="P:DD_Clipboard_Searcher.My.Resources.Resources.ResourceManager">
<summary>
Gibt die zwischengespeicherte ResourceManager-Instanz zurück, die von dieser Klasse verwendet wird.
</summary>
</member><member name="P:DD_Clipboard_Searcher.My.Resources.Resources.Culture">
<summary>
Überschreibt die CurrentUICulture-Eigenschaft des aktuellen Threads für alle
Ressourcenzuordnungen, die diese stark typisierte Ressourcenklasse verwenden.
</summary>
</member><member name="P:DD_Clipboard_Searcher.My.Resources.Resources.control_start_blue">
<summary>
Sucht eine lokalisierte Ressource vom Typ System.Drawing.Bitmap.
</summary>
</member><member name="P:DD_Clipboard_Searcher.My.Resources.Resources.folder_Open_16xLG">
<summary>
Sucht eine lokalisierte Ressource vom Typ System.Drawing.Bitmap.
</summary>
</member><member name="P:DD_Clipboard_Searcher.My.Resources.Resources.KeyDown_8461">
<summary>
Sucht eine lokalisierte Ressource vom Typ System.Drawing.Bitmap.
</summary>
</member><member name="P:DD_Clipboard_Searcher.My.Resources.Resources.StatusAnnotations_Stop_16xLG">
<summary>
Sucht eine lokalisierte Ressource vom Typ System.Drawing.Bitmap.
</summary>
</member><member name="T:DD_Clipboard_Searcher.My.Resources.Resources">
<summary>
Eine stark typisierte Ressourcenklasse zum Suchen von lokalisierten Zeichenfolgen usw.
</summary>
</member>
</members>
</doc>

View File

@ -1,222 +0,0 @@
<?xml version="1.0"?>
<doc>
<assembly>
<name>
DD_LIB_Standards
</name>
</assembly>
<members>
<member name="M:DD_LIB_Standards.clsLicense.#ctor(System.String,System.DateTime,System.String,System.String)">
<summary>
Konstruktor der Lizenz
</summary>
<param name="modulename">Name des Moduls</param>
<param name="expires">Gültigkeitsdatum der Lizenz</param>
<remarks></remarks>
</member><member name="P:DD_LIB_Standards.clsLicense.Modulename">
<summary>
Liefert oder setzt den Namen des Moduls für diese Lizenz
</summary>
<value></value>
<returns></returns>
<remarks></remarks>
</member><member name="P:DD_LIB_Standards.clsLicense.Expires">
<summary>
Liefert oder setzt das Gültigkeitsdatum der Lizenz für das Modul
</summary>
<value></value>
<returns></returns>
<remarks></remarks>
</member><member name="P:DD_LIB_Standards.clsLicense.IsExpired">
<summary>
Liefert ob die Lizenz schon abgelaufen ist
</summary>
<value></value>
<returns></returns>
<remarks></remarks>
</member><member name="P:DD_LIB_Standards.clsLicense.Type">
<summary>
Liefert den Typend er Lizenz
</summary>
<value></value>
<returns></returns>
<remarks></remarks>
</member><member name="P:DD_LIB_Standards.clsLicense.Anz_Profile">
<summary>
Liefert die Anzahl der Profile
</summary>
<value></value>
<returns></returns>
<remarks></remarks>
</member><member name="P:DD_LIB_Standards.My.Resources.Resources.ResourceManager">
<summary>
Returns the cached ResourceManager instance used by this class.
</summary>
</member><member name="P:DD_LIB_Standards.My.Resources.Resources.Culture">
<summary>
Overrides the current thread's CurrentUICulture property for all
resource lookups using this strongly typed resource class.
</summary>
</member><member name="T:DD_LIB_Standards.My.Resources.Resources">
<summary>
A strongly-typed resource class, for looking up localized strings, etc.
</summary>
</member><member name="M:DD_LIB_Standards.clsLicenses.#ctor(System.String[0:,0:])">
<summary>
Konstruktor für die Lizenzen-Sammlung
</summary>
<param name="licenseStringArray">In Array übertragene Lizenzinformationen</param>
<remarks></remarks>
</member><member name="M:DD_LIB_Standards.clsLicenses.Add(System.String,System.DateTime,System.String,System.String)">
<summary>
Fügt der Lizenz-Sammlung eine Lizenz hinzu
</summary>
<param name="modulename">Name des Moduls, für das eine Lizenz angelegt werden soll</param>
<param name="expires">Datum der Gültigkeit der Lizenz</param>
<remarks></remarks>
</member><member name="M:DD_LIB_Standards.clsLicenses.GetLicense(System.String)">
<summary>
Liefert eine Lizenz an Hand des Modulnamens
</summary>
<param name="modulename">Name des zu suchenden Moduls</param>
<returns>liefert ein Lizenzobjekt</returns>
<remarks></remarks>
</member><member name="P:DD_LIB_Standards.clsLicenses.Licenses">
<summary>
liefert eine Sammlung von Lizenzobjekten
</summary>
<value></value>
<returns></returns>
<remarks></remarks>
</member><member name="P:DD_LIB_Standards.clsLicenses.License(System.String)">
<summary>
liefert eine Lizenz an Hand des Modulnamens
</summary>
<param name="modulename">Name des zu suchenden Moduls</param>
<value></value>
<returns></returns>
<remarks></remarks>
</member><member name="P:DD_LIB_Standards.clsLicenses.Company">
<summary>
Liefert oder setzt den Firmennamen des Lizenzeigentümers
</summary>
<value></value>
<returns></returns>
<remarks></remarks>
</member><member name="M:DD_LIB_Standards.clsWD_GET.WDFile_exists(System.String)">
<summary>
Checks wether a file is existing in windream
</summary>
<param name="WD_File">full filepath to the file</param>
<returns>Returns true when file exists, false if not</returns>
<remarks></remarks>
</member><member name="M:DD_LIB_Standards.clsWD_GET.GetTypeOfIndexAsIntByName(System.String)">
<summary>
Returns a windream-type as Integer.
</summary>
<param name="indexname">Name of indexfield</param>
<returns>Returns integer, which describes the type</returns>
<remarks></remarks>
</member><member name="M:DD_LIB_Standards.clsWindream.CreateSession_AsUser(System.Object,System.Object,System.Object,System.Object)">
<summary>
Creates a personified session
</summary>
<param name="Domain">Domainname as string</param>
<param name="ServerName">ServerName as string</param>
<param name="UserName">UserName as string</param>
<param name="Password">Password as string</param>
<returns>Returns true when file exists, false if not</returns>
<remarks></remarks>
</member><member name="M:DD_LIB_Standards.clsWindream.Create_Session">
<summary>
Creates a windream session with the actual user
</summary>
</member><member name="M:DD_LIB_Standards.clsLicenseManager.#ctor(System.String,System.String)">
<summary>
Konstruktor für den Lizenz-Manager
</summary>
<param name="password">Passwort zum Entschlüsseln des Lizenzkeys</param>
<param name="key">verschlüsselter Lizenzkey</param>
<remarks></remarks>
</member><member name="M:DD_LIB_Standards.clsLicenseManager.#ctor(System.String)">
<summary>
Konstruktor für den Lizenz-Manager ohne License load
</summary>
<param name="password">Passwort zum Entschlüsseln des Lizenzkeys</param>
<remarks></remarks>
</member><member name="M:DD_LIB_Standards.clsLicenseManager.LoadLicenses">
<summary>
Lädt alle Lizenzen aus dem Lizenz-Array
</summary>
<remarks></remarks>
</member><member name="M:DD_LIB_Standards.clsLicenseManager.EncodeLicenseKey(System.String,System.String)">
<summary>
Codiert eine Zeichenkette
</summary>
<param name="str">zu verschlüsselnde Zeichenkette</param>
<param name="password">das zur Verschlüsselung verwendete Passwort</param>
<returns>liefert eine verschlüsselte Zeichenkette</returns>
<remarks></remarks>
</member><member name="M:DD_LIB_Standards.clsLicenseManager.DecodeLicenseKey(System.String)">
<summary>
Decodiert den verschlüsselten Lizenzkey
</summary>
<param name="licenseCodeStr">verschlüsselter Lizenzkey</param>
<returns></returns>
<remarks></remarks>
</member><member name="M:DD_LIB_Standards.clsLicenseManager.SplitLicenseString(System.String)">
<summary>
Zerlegt den entschlüsselten Lizenzkey
</summary>
<param name="licenseStr">entschlüsselter Lizenzkey</param>
<returns></returns>
<remarks></remarks>
</member><member name="P:DD_LIB_Standards.clsLicenseManager.Password">
<summary>
Liefert das Passwort zum Entschlüsseln des Lizenzschlüssels
</summary>
<value></value>
<returns></returns>
<remarks></remarks>
</member><member name="P:DD_LIB_Standards.clsLicenseManager.Licenses">
<summary>
Liefert eine Sammlung von Lizenzobjekten
</summary>
<value></value>
<returns></returns>
<remarks></remarks>
</member><member name="P:DD_LIB_Standards.clsLicenseManager.Key">
<summary>
Liefert oder setzt den Lizenzschlüssel
</summary>
<value></value>
<returns></returns>
<remarks></remarks>
</member><member name="M:DD_LIB_Standards.clsWD_SET.Create_Version(System.String,System.String)">
<summary>
Creates a new version of the file
</summary>
<param name="WD_File">full filepath to the file</param>
<param name="Comment">Comment</param>
<returns>Returns true when version was created exists, false if not</returns>
<remarks></remarks>
</member><member name="M:DD_LIB_Standards.clsWD_SET.Delete_WDFile(System.String)">
<summary>
Deletes a file in windream
</summary>
<param name="WD_File">full filepath to the file</param>
<returns>Returns true when file was deleted, false if not</returns>
<remarks></remarks>
</member><member name="M:DD_LIB_Standards.clsWD_SET.IndexFile(System.String,System.String,System.String,System.String)">
<summary>
Passes indexvalues to a windream-file
</summary>
<param name="WD_File">full filepath to the file</param>
<param name="_Indexname">Indexname of Index</param>
<param name="_Value">Value for indexing</param>
<param name="_objecttype">_objecttype</param>
<returns>Returns true when indexing was successfull, false if not</returns>
<remarks></remarks>
</member>
</members>
</doc>

View File

@ -1,66 +0,0 @@
<?xml version="1.0"?>
<doc>
<assembly>
<name>
DD_Clipboard_Searcher
</name>
</assembly>
<members>
<member name="M:DD_Clipboard_Searcher.clsWindowApi.GetTopLevelWindows">
<summary>
Get all top-level window information
</summary>
<returns>List of window information objects</returns>
</member><member name="M:DD_Clipboard_Searcher.clsWindowApi.GetChildWindows(System.Int32)">
<summary>
Get all child windows for the specific windows handle (hwnd).
</summary>
<returns>List of child windows for parent window</returns>
</member><member name="M:DD_Clipboard_Searcher.clsWindowApi.EnumWindowProc(System.Int32,System.Int32)">
<summary>
Callback function that does the work of enumerating top-level windows.
</summary>
<param name="hwnd">Discovered Window handle</param>
<returns>1=keep going, 0=stop</returns>
</member><member name="M:DD_Clipboard_Searcher.clsWindowApi.EnumChildWindowProc(System.Int32,System.Int32)">
<summary>
Callback function that does the work of enumerating child windows.
</summary>
<param name="hwnd">Discovered Window handle</param>
<returns>1=keep going, 0=stop</returns>
</member><member name="M:DD_Clipboard_Searcher.clsWindowApi.GetWindowIdentification(System.Int32)">
<summary>
Build the ApiWindow object to hold information about the Window object.
</summary>
</member><member name="P:DD_Clipboard_Searcher.My.Resources.Resources.ResourceManager">
<summary>
Gibt die zwischengespeicherte ResourceManager-Instanz zurück, die von dieser Klasse verwendet wird.
</summary>
</member><member name="P:DD_Clipboard_Searcher.My.Resources.Resources.Culture">
<summary>
Überschreibt die CurrentUICulture-Eigenschaft des aktuellen Threads für alle
Ressourcenzuordnungen, die diese stark typisierte Ressourcenklasse verwenden.
</summary>
</member><member name="P:DD_Clipboard_Searcher.My.Resources.Resources.control_start_blue">
<summary>
Sucht eine lokalisierte Ressource vom Typ System.Drawing.Bitmap.
</summary>
</member><member name="P:DD_Clipboard_Searcher.My.Resources.Resources.folder_Open_16xLG">
<summary>
Sucht eine lokalisierte Ressource vom Typ System.Drawing.Bitmap.
</summary>
</member><member name="P:DD_Clipboard_Searcher.My.Resources.Resources.KeyDown_8461">
<summary>
Sucht eine lokalisierte Ressource vom Typ System.Drawing.Bitmap.
</summary>
</member><member name="P:DD_Clipboard_Searcher.My.Resources.Resources.StatusAnnotations_Stop_16xLG">
<summary>
Sucht eine lokalisierte Ressource vom Typ System.Drawing.Bitmap.
</summary>
</member><member name="T:DD_Clipboard_Searcher.My.Resources.Resources">
<summary>
Eine stark typisierte Ressourcenklasse zum Suchen von lokalisierten Zeichenfolgen usw.
</summary>
</member>
</members>
</doc>

9
SetupWix/Config.wxi Normal file
View File

@ -0,0 +1,9 @@
<?xml version="1.0" encoding="utf-8"?>
<Include>
<?define ProgramName="DD_Clipboard_Searcher"?>
<?define ProductName="DD Clipboard Searcher"?>
<?define Manufacturer="Digital Data"?>
<?define Description="DD Clipboard Searcher"?>
<?define Comments="DD Clipboard Searcher"?>
<?define UpgradeCode="BB3A9D50-7CCE-42DA-84F2-D67129F57B59"?>
</Include>

103
SetupWix/Product.wxs Normal file
View File

@ -0,0 +1,103 @@
<?include Config.wxi?>
<Wix xmlns="http://schemas.microsoft.com/wix/2006/wi" xmlns:util="http://schemas.microsoft.com/wix/UtilExtension">
<Product Id="*" Name="$(var.ProductName)" Language="1031" Codepage="1252" Version="$(var.ProductVersion)" Manufacturer="$(var.Manufacturer)" UpgradeCode="$(var.UpgradeCode)">
<Package
Id="*"
Keywords="Installer"
Description="$(var.Description)"
Comments="$(var.Comments)"
Manufacturer="$(var.Manufacturer)"
InstallerVersion="100"
Languages="1031"
Compressed="yes"
SummaryCodepage="1252"
/>
<Property Id="APPLICATIONFOLDER">
<RegistrySearch Key="Software\[Manufacturer]\[ProductName]" Root="HKCU" Type="raw" Id="APPLICATIONFOLDER_REGSEARCH" Name="Path" />
</Property>
<Media Id='1' Cabinet='$(var.ProgramName).cab' EmbedCab='yes' DiskPrompt='$(var.ProgramName)' />
<Property Id='DiskPrompt' Value="$(var.ProgramName) Install" />
<MajorUpgrade
AllowDowngrades="no"
AllowSameVersionUpgrades="no"
DowngradeErrorMessage="Eine neuere Version von [ProductName] ist bereits installiert. Das Setup wird beendet."
/>
<Property Id="PREVIOUSVERSIONSINSTALLED" Secure="yes" />
<Upgrade Id="$(var.UpgradeCode)">
<UpgradeVersion
Minimum="1.0.0.0" Maximum="99.0.0.0"
Property="PREVIOUSVERSIONSINSTALLED"
IncludeMinimum="yes" IncludeMaximum="no" />
</Upgrade>
<!-- Legt das Icon fest -->
<Icon Id="AppIcon" SourceFile="$(var.ProgramName).exe" />
<!-- Zeige Icon in Systemsteuerung > Programme entfernen -->
<Property Id="ARPPRODUCTICON" Value="AppIcon" />
<Directory Id="TARGETDIR" Name="SourceDir">
<Directory Id="ProgramFilesFolder">
<Directory Id="INSTALLDIR" Name="$(var.ProductName)"/>
</Directory>
</Directory>
<DirectoryRef Id="INSTALLDIR">
<Component Id="MainApplicationExe" Guid="{BA4DC59A-6FCD-4672-9D58-456F255E5AAB}">
<File Id="MainApplicationExe" Name="$(var.ProgramName).exe" KeyPath="yes" Checksum="yes"/>
</Component>
<Component Id="MainApplicationExeConfig" Guid="{F40EA733-5734-4BF5-9668-63AC0D150DA7}">
<File Id="MainApplicationExeConfig" Name="$(var.ProgramName).exe.config" KeyPath="yes" Checksum="yes"/>
</Component>
<Component Id="DDLibStandarts" Guid="{13F5F24D-9D99-4783-B17B-5FFC9C42E261}">
<File Id="DDLibStandarts" Name="DD_LIB_Standards.dll" KeyPath="yes" Checksum="yes"/>
</Component>
<Component Id="RegistryKeys" Guid="{72D6927F-8297-4D51-BF4A-813064089A4A}">
<RegistryKey Root="HKCU" Key="Software">
<RegistryKey Key="[Manufacturer]">
<RegistryKey Key="[ProductName]" ForceCreateOnInstall="yes" ForceDeleteOnUninstall="yes" Id="REGKEYINSTALLDIR">
<RegistryValue Type="string" Value="[INSTALLDIR]" Name="Path" />
</RegistryKey>
</RegistryKey>
</RegistryKey>
<util:RemoveFolderEx Id="RemoveApplicationFolder" On="uninstall" Property="APPLICATIONFOLDER" />
</Component>
</DirectoryRef>
<Feature Id="MainApplication" Title="Main Application" Level="1">
<ComponentRef Id="MainApplicationExe" />
<ComponentRef Id="MainApplicationExeConfig"/>
<ComponentRef Id="DDLibStandarts"/>
<ComponentRef Id="RegistryKeys" />
</Feature>
<!-- Legt das Standard-Installationsverzeichnis fest-->
<Property Id="WIXUI_INSTALLDIR" Value="INSTALLDIR" />
<UI>
<UIRef Id="WixUI_InstallDir" />
<UIRef Id="WixUI_ErrorProgressText" />
<Publish Dialog="WelcomeDlg"
Control="Next"
Event="NewDialog"
Value="InstallDirDlg"
Order="2">1</Publish>
<Publish Dialog="InstallDirDlg"
Control="Back"
Event="NewDialog"
Value="WelcomeDlg"
Order="2">1</Publish>
</UI>
</Product>
</Wix>

67
SetupWix/SetupWix.wixproj Normal file
View File

@ -0,0 +1,67 @@
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="4.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup>
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
<Platform Condition=" '$(Platform)' == '' ">x86</Platform>
<ProductVersion>3.9</ProductVersion>
<ProjectGuid>15fc07b7-9ff7-4f14-9bab-05674e20d839</ProjectGuid>
<SchemaVersion>2.0</SchemaVersion>
<OutputName>SetupWix</OutputName>
<OutputType>Package</OutputType>
<WixTargetsPath Condition=" '$(WixTargetsPath)' == '' AND '$(MSBuildExtensionsPath32)' != '' ">$(MSBuildExtensionsPath32)\Microsoft\WiX\v3.x\Wix.targets</WixTargetsPath>
<WixTargetsPath Condition=" '$(WixTargetsPath)' == '' ">$(MSBuildExtensionsPath)\Microsoft\WiX\v3.x\Wix.targets</WixTargetsPath>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|x86' ">
<OutputPath>bin\$(Configuration)\</OutputPath>
<IntermediateOutputPath>obj\$(Configuration)\</IntermediateOutputPath>
<DefineConstants>Debug</DefineConstants>
<LinkerAdditionalOptions>-b "$(SolutionDir)DD_Clipboard_Searcher\bin\$(Configuration)" -cultures:de-DE,en-GB,en-US</LinkerAdditionalOptions>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|x86' ">
<OutputPath>bin\$(Configuration)\</OutputPath>
<IntermediateOutputPath>obj\$(Configuration)\</IntermediateOutputPath>
</PropertyGroup>
<ItemGroup>
<Compile Include="Product.wxs" />
</ItemGroup>
<ItemGroup>
<WixExtension Include="WixUtilExtension">
<HintPath>$(WixExtDir)\WixUtilExtension.dll</HintPath>
<Name>WixUtilExtension</Name>
</WixExtension>
<WixExtension Include="WixUIExtension">
<HintPath>$(WixExtDir)\WixUIExtension.dll</HintPath>
<Name>WixUIExtension</Name>
</WixExtension>
</ItemGroup>
<ItemGroup>
<Content Include="Config.wxi" />
</ItemGroup>
<Import Project="$(WixTargetsPath)" />
<!--
To modify your build process, add your task inside one of the targets below and uncomment it.
Other similar extension points exist, see Wix.targets.
<Target Name="BeforeBuild">
</Target>
<Target Name="AfterBuild">
</Target>
-->
<Target Name="BeforeBuild">
<!-- Get the programs assembly version from the .exe file -->
<GetAssemblyIdentity AssemblyFiles="..\DD_Clipboard_Searcher\bin\$(Configuration)\DD_Clipboard_Searcher.exe">
<Output TaskParameter="Assemblies" ItemName="AsmInfo" />
</GetAssemblyIdentity>
<!-- Store the assembly version number in ProductVersion preprocessor variable -->
<CreateProperty Value="$(DefineConstants);ProductVersion=%(AsmInfo.Version)">
<Output TaskParameter="Value" PropertyName="DefineConstants" />
</CreateProperty>
<!-- Name the .msi file after the solution platform and assembly version e.g TestService-x86-1.4.0.0.msi -->
<CreateProperty Value="$(SolutionName)-$(Platform)-%(AsmInfo.Version)">
<Output TaskParameter="Value" PropertyName="TargetName" />
</CreateProperty>
<!-- Name the .wixpdb file after the solution platform and assembly version e.g TestService-x86-1.4.0.0.msi -->
<CreateProperty Value="$(TargetName)$(TargetPdbExt)">
<Output TaskParameter="Value" PropertyName="TargetPdbName" />
</CreateProperty>
</Target>
</Project>