Changed installer to set file associations.
This commit is contained in:
@@ -1,16 +1,17 @@
|
|||||||
[Setup]
|
[Setup]
|
||||||
AppName=MietRechner
|
AppName=MietRechner
|
||||||
AppVersion=2.2
|
AppVersion=2.3
|
||||||
WizardStyle=modern
|
WizardStyle=modern
|
||||||
DefaultDirName={autopf}\MietRechner
|
DefaultDirName={autopf}\MietRechner
|
||||||
DefaultGroupName=MietRechner
|
DefaultGroupName=MietRechner
|
||||||
UninstallDisplayIcon={app}\ucalc.exe
|
UninstallDisplayIcon={app}\MietRechner.exe
|
||||||
Compression=lzma2
|
Compression=lzma2
|
||||||
SolidCompression=yes
|
SolidCompression=yes
|
||||||
OutputDir=.
|
OutputDir=.
|
||||||
OutputBaseFilename=MietRechner Setup
|
OutputBaseFilename=MietRechner Setup
|
||||||
ArchitecturesAllowed=x64
|
ArchitecturesAllowed=x64
|
||||||
ArchitecturesInstallIn64BitMode=x64
|
ArchitecturesInstallIn64BitMode=x64
|
||||||
|
ChangesAssociations = yes
|
||||||
|
|
||||||
[Languages]
|
[Languages]
|
||||||
Name: "de"; MessagesFile: "compiler:Languages\German.isl"
|
Name: "de"; MessagesFile: "compiler:Languages\German.isl"
|
||||||
@@ -22,5 +23,12 @@ Name: "desktopicon"; Description: "{cm:CreateDesktopIcon}"; GroupDescription: "{
|
|||||||
Source: "setup/**"; DestDir: "{app}"; Flags: recursesubdirs
|
Source: "setup/**"; DestDir: "{app}"; Flags: recursesubdirs
|
||||||
|
|
||||||
[Icons]
|
[Icons]
|
||||||
Name: "{group}\MietRechner"; Filename: "{app}\ucalc.exe"
|
Name: "{group}\MietRechner"; Filename: "{app}\MietRechner.exe"
|
||||||
Name: "{commondesktop}\MietRechner"; Filename: "{app}\ucalc.exe"; IconFilename: "{app}\ucalc.exe"; Tasks: desktopicon
|
Name: "{commondesktop}\MietRechner"; Filename: "{app}\MietRechner.exe"; IconFilename: "{app}\MietRechner.exe"; Tasks: desktopicon
|
||||||
|
|
||||||
|
[Registry]
|
||||||
|
Root: HKA; Subkey: "Software\Classes\.mr\OpenWithProgids"; ValueType: string; ValueName: "MietRechner.mr"; ValueData: ""; Flags: uninsdeletevalue
|
||||||
|
Root: HKA; Subkey: "Software\Classes\MietRechner.mr"; ValueType: string; ValueName: ""; ValueData: "MietRechner"; Flags: uninsdeletekey
|
||||||
|
Root: HKA; Subkey: "Software\Classes\MietRechner.mr\DefaultIcon"; ValueType: string; ValueName: ""; ValueData: "{app}\MietRechner.exe,0"
|
||||||
|
Root: HKA; Subkey: "Software\Classes\MietRechner.mr\shell\open\command"; ValueType: string; ValueName: ""; ValueData: """{app}\MietRechner.exe"" ""%1"""
|
||||||
|
Root: HKA; Subkey: "Software\Classes\Applications\MietRechner.exe\SupportedTypes"; ValueType: string; ValueName: ".mr"; ValueData: ""
|
||||||
|
|||||||
@@ -3,7 +3,7 @@ Microsoft Visual Studio Solution File, Format Version 12.00
|
|||||||
# Visual Studio Version 16
|
# Visual Studio Version 16
|
||||||
VisualStudioVersion = 16.0.30128.74
|
VisualStudioVersion = 16.0.30128.74
|
||||||
MinimumVisualStudioVersion = 10.0.40219.1
|
MinimumVisualStudioVersion = 10.0.40219.1
|
||||||
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "ucalc", "ucalc\ucalc.csproj", "{E565705A-BAF4-4653-99A1-199C314A21EC}"
|
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "MietRechner", "ucalc\ucalc.csproj", "{E565705A-BAF4-4653-99A1-199C314A21EC}"
|
||||||
EndProject
|
EndProject
|
||||||
Global
|
Global
|
||||||
GlobalSection(SolutionConfigurationPlatforms) = preSolution
|
GlobalSection(SolutionConfigurationPlatforms) = preSolution
|
||||||
|
|||||||
+4
-1
@@ -6,8 +6,11 @@
|
|||||||
<UseWPF>true</UseWPF>
|
<UseWPF>true</UseWPF>
|
||||||
<ApplicationIcon>logo.ico</ApplicationIcon>
|
<ApplicationIcon>logo.ico</ApplicationIcon>
|
||||||
<Platforms>AnyCPU;x64</Platforms>
|
<Platforms>AnyCPU;x64</Platforms>
|
||||||
</PropertyGroup>
|
|
||||||
|
|
||||||
|
<AssemblyTitle>MietRechner</AssemblyTitle>
|
||||||
|
<AssemblyName>MietRechner</AssemblyName>
|
||||||
|
</PropertyGroup>
|
||||||
|
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<Page Update="BillingWindow.xaml">
|
<Page Update="BillingWindow.xaml">
|
||||||
<Generator></Generator>
|
<Generator></Generator>
|
||||||
|
|||||||
Reference in New Issue
Block a user