Skip to content

Commit a3b49dc

Browse files
author
ohumeniuk
committed
angular front end #2
1 parent 05bf7a7 commit a3b49dc

File tree

24 files changed

+56
-16
lines changed

24 files changed

+56
-16
lines changed

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,3 +46,5 @@ eFormAPI/eFormAPI.Common/obj/
4646
eFormAPI/eFormAPI.Common/bin/
4747
eFormAPI/MainInstaller/obj/
4848
eFormAPI/MainInstaller/bin/
49+
eFormAPI/AllowMultipleVersionsBundle/bin/
50+
eFormAPI/AllowMultipleVersionsBundle/obj/

eFormAPI/AlowMultipleVersionsBundle/AlowMultipleVersionsBundle.csproj renamed to eFormAPI/AllowMultipleVersionsBundle/AllowMultipleVersionsBundle.csproj

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,9 @@
3434
<PropertyGroup>
3535
<ApplicationIcon>installer.ico</ApplicationIcon>
3636
</PropertyGroup>
37+
<PropertyGroup>
38+
<ApplicationManifest>app.manifest</ApplicationManifest>
39+
</PropertyGroup>
3740
<ItemGroup>
3841
<Reference Include="System" />
3942
<Reference Include="System.Core" />
@@ -63,6 +66,7 @@
6366
</EmbeddedResource>
6467
</ItemGroup>
6568
<ItemGroup>
69+
<None Include="app.manifest" />
6670
<None Include="Resources\Eform Angular Frontend.exe" />
6771
</ItemGroup>
6872
<ItemGroup>
File renamed without changes.

eFormAPI/AlowMultipleVersionsBundle/Program.cs renamed to eFormAPI/AllowMultipleVersionsBundle/Program.cs

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,11 +17,12 @@ static void Main(string[] args)
1717
Registry.LocalMachine.OpenSubKey(@"SOFTWARE\Wow6432Node\Microsoft\Windows\CurrentVersion\Uninstall",
1818
true);
1919

20-
var product = unistall.GetSubKeyNames().FirstOrDefault(t =>
20+
var products = unistall.GetSubKeyNames().Where(t =>
2121
unistall.OpenSubKey(t).GetValue("BundleProviderKey")?.ToString() ==
2222
"6EEA199E-0A6C-416A-8969-A48ACB0B1130");
23-
if (product != null)
24-
unistall.OpenSubKey(product, true).SetValue("Installed", 0);
23+
if (products != null)
24+
foreach (var product in products)
25+
unistall.OpenSubKey(product, true).SetValue("Installed", 0);
2526

2627
SetupIIS();
2728

eFormAPI/AlowMultipleVersionsBundle/Properties/AssemblyInfo.cs renamed to eFormAPI/AllowMultipleVersionsBundle/Properties/AssemblyInfo.cs

File renamed without changes.

eFormAPI/AlowMultipleVersionsBundle/Resources.Designer.cs renamed to eFormAPI/AllowMultipleVersionsBundle/Resources.Designer.cs

File renamed without changes.
File renamed without changes.
Binary file not shown.
Binary file not shown.
Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<assembly manifestVersion="1.0" xmlns="urn:schemas-microsoft-com:asm.v1">
3+
<assemblyIdentity version="1.0.0.0" name="MyApplication.app"/>
4+
<trustInfo xmlns="urn:schemas-microsoft-com:asm.v2">
5+
<security>
6+
<requestedPrivileges xmlns="urn:schemas-microsoft-com:asm.v3">
7+
<requestedExecutionLevel level="requireAdministrator" uiAccess="false" />
8+
</requestedPrivileges>
9+
</security>
10+
</trustInfo>
11+
12+
<compatibility xmlns="urn:schemas-microsoft-com:compatibility.v1">
13+
<application>
14+
</application>
15+
</compatibility>
16+
</assembly>

0 commit comments

Comments
 (0)