jj add missing files

This commit is contained in:
JenneJ
2016-01-13 12:00:29 +01:00
parent 2a3384b1da
commit a5d66de5cd
11 changed files with 364 additions and 0 deletions

124
app/SetupWiX/Product.wxs Normal file
View File

@@ -0,0 +1,124 @@
<?xml version="1.0" encoding="UTF-8"?>
<Wix xmlns="http://schemas.microsoft.com/wix/2006/wi"
xmlns:util="http://schemas.microsoft.com/wix/UtilExtension">
<Product Id="*" Name="DPMA XML Parser" Language="1031" Version="1.1.0.0" Manufacturer="Digital Data" UpgradeCode="f1d2c203-0827-4c5c-a3ad-7bfccd3b6092" Codepage="1252">
<Package Id="*" InstallerVersion="200" Compressed="yes" InstallScope="perMachine" Description="Digital Data DPMA XML Parser Setup" Manufacturer="Digital Data" Languages="1031" />
<!-- Nicht entfernen! -->
<Media Id='1' Cabinet='Sample.cab' EmbedCab='yes' DiskPrompt='CD-ROM #1' />
<Property Id='DiskPrompt' Value="DPMA XML Parser Install" />
<!-- UPGRADE -->
<!--
Bei neuer Version muss die Versionsnummer unter
My Project >> Anwendung >> Assemblyinformationen und unter Product/@Version geändert werden.
Hier die Assemblyversion UND Dateiversion ändern.
NICHT den UpdateCode ändern!
Darf sich NIE MEHR ändern!
-->
<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="{6387325E-F6D7-46BE-BBA8-D0E37BEEF800}">
<UpgradeVersion
Minimum="1.0.0.0" Maximum="99.0.0.0"
Property="PREVIOUSVERSIONSINSTALLED"
IncludeMinimum="yes" IncludeMaximum="no" />
</Upgrade>
<!-- UPGRADE END -->
<!-- Legt das Icon fest -->
<Icon Id="DpmaXmlParser.exe" SourceFile="DpmaXmlParser.exe" />
<!-- Zeige Icon in Systemsteuerung > Programme entfernen -->
<Property Id="ARPPRODUCTICON" Value="DpmaXmlParser.exe" />
<!-- Liest den Installationsort über die Registry aus -->
<Property Id="APPLICATIONFOLDER">
<RegistrySearch Key="Software\[Manufacturer]\[ProductName]" Root="HKCU" Type="raw" Id="APPLICATIONFOLDER_REGSEARCH" Name="Path" />
</Property>
<Directory Id="TARGETDIR" Name="SourceDir">
<Directory Id="ProgramFilesFolder" Name="Pfiles">
<Directory Id="DD" Name="Digital Data">
<!-- Speichert den Installationsort in der Registry -->
<Component Id="RegistryEntries" Guid="{333FA451-7EC5-4E85-90D7-BF793C199DF0}">
<RegistryKey Root="HKCU" Key="Software\[Manufacturer]\[ProductName]">
<RegistryValue Type="string" Name="Path" Value="[DD]" KeyPath="yes" />
</RegistryKey>
</Component>
<Directory Id="INSTALLDIR" Name="DPMA Xml Parser">
<Component Id="MainExecutable" Guid="{ED6DC3D2-7E7E-41C2-9AFA-A7C7D9B12012}">
<File Id="Executable" Name="DpmaXmlParser.exe" Source="DpmaXmlParser.exe" KeyPath="yes">
<Shortcut Id="StartMenuShortcut" Directory="ProgramMenuDir" Name="DPMA Xml Parser" WorkingDirectory="INSTALLDIR" Icon="DpmaXmlParser.exe" IconIndex="0" Advertise="yes" />
<Shortcut Id="DesktopShortcut" Directory="DesktopFolder" Name="DPMA Xml Parser" WorkingDirectory="INSTALLDIR" Icon="DpmaXmlParser.exe" IconIndex="0" Advertise="yes" />
</File>
<File Id="ExeConfigExample" Name="DpmaXmlParser.exe.config.example" Source="DpmaXmlParser.exe.config.example" />
<!-- Programmordner bei Deinstallation entfernen-->
<util:RemoveFolderEx Id="RemoveApplicationFolder" On="uninstall" Property="APPLICATIONFOLDER" />
</Component>
<Component Id="NLog" Guid="{9D6E04C5-4F61-42DD-A0A2-236981A0FE3A}">
<File Id="NLog.dll" Name="NLog.dll" Source="NLog.dll" KeyPath="yes" />
<File Id="NLog.config" Name="NLog.config" Source="NLog.config" />
</Component>
</Directory>
</Directory>
</Directory>
<Directory Id="ProgramMenuFolder" Name="Programs">
<Directory Id="ProgramMenuDir" Name="DPMA XML Parser">
<Component Id="ProgramMenuDir" Guid="{84EA48C2-7E72-4C49-8EC2-3BA1517930D3}">
<RemoveFolder Id="ProgramMenuDir" On="uninstall" />
<!-- Wird bei Deinstallation gelöscht -->
<RegistryValue Root="HKCU" Key="Software\[Manufacturer]\[ProductName]" Type="string" Value="[DD]" Name="Path" />
</Component>
</Directory>
</Directory>
<Directory Id="DesktopFolder" Name="Desktop" />
</Directory>
<Feature Id="Complete" Level="1">
<ComponentRef Id="MainExecutable" />
<ComponentRef Id="NLog" />
<ComponentRef Id="RegistryEntries"/>
<ComponentRef Id="ProgramMenuDir"/>
</Feature>
<!-- Legt das Standard-Installationsverzeichnis fest-->
<Property Id="WIXUI_INSTALLDIR" Value="INSTALLDIR" />
<!-- OBERFLÄCHE -->
<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>
<!-- OBERFLÄCHE END -->
</Product>
</Wix>

View File

@@ -0,0 +1,46 @@
<?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>b2305f34-d2d1-4bc9-bbe2-23fb9244ebd4</ProjectGuid>
<SchemaVersion>2.0</SchemaVersion>
<OutputName>DpmaXmlParserSetup</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)DpmaXmlParser\bin\$(Configuration)" -cultures:de-DE</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="WixUIExtension">
<HintPath>$(WixExtDir)\WixUIExtension.dll</HintPath>
<Name>WixUIExtension</Name>
</WixExtension>
<WixExtension Include="WixUtilExtension">
<HintPath>$(WixExtDir)\WixUtilExtension.dll</HintPath>
<Name>WixUtilExtension</Name>
</WixExtension>
</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>
-->
</Project>