Skip to content

Commit 66b9d43

Browse files
authored
Merge pull request #19 from cazac9/master
#3
2 parents e41b74f + f026c48 commit 66b9d43

File tree

854 files changed

+52917
-15
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

854 files changed

+52917
-15
lines changed

eFormAPI/AllowMultipleVersions/AllowMultipleVersions.csproj

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
<DebugSymbols>true</DebugSymbols>
1919
<DebugType>full</DebugType>
2020
<Optimize>false</Optimize>
21-
<OutputPath>..\Installer\BuildedCustomActions\</OutputPath>
21+
<OutputPath>..\MainInstaller\BuildedCustomActions\</OutputPath>
2222
<DefineConstants>DEBUG;TRACE</DefineConstants>
2323
<ErrorReport>prompt</ErrorReport>
2424
<WarningLevel>4</WarningLevel>
@@ -27,7 +27,7 @@
2727
<PlatformTarget>AnyCPU</PlatformTarget>
2828
<DebugType>pdbonly</DebugType>
2929
<Optimize>true</Optimize>
30-
<OutputPath>..\Installer\BuildedCustomActions\</OutputPath>
30+
<OutputPath>..\MainInstaller\BuildedCustomActions\</OutputPath>
3131
<DefineConstants>TRACE</DefineConstants>
3232
<ErrorReport>prompt</ErrorReport>
3333
<WarningLevel>4</WarningLevel>
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.

eFormAPI/Bundle/Bundle.wxs

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -10,14 +10,14 @@
1010
</Bundle>
1111

1212
<Fragment>
13-
<util:RegistrySearch Root="HKLM" Key="SOFTWARE\Node.js" Variable="NODEJS"/>
14-
<util:RegistrySearch Root="HKLM" Key="SOFTWARE\GitForWindows" Variable="GIT"/>
15-
<util:RegistrySearch Root="HKLM" Key="SOFTWARE\Microsoft\IIS Extensions\URL Rewrite" Variable="URLREWRITE"/>
16-
<util:RegistrySearch Root="HKLM" Key="SOFTWARE\Microsoft\IIS Extensions\Application Request Routing" Variable="ARR"/>
13+
<util:RegistrySearch Root="HKLM" Key="SOFTWARE\Node.js" Variable="NODEJS" Win64="yes" Value="InstallPath"/>
14+
<util:RegistrySearch Root="HKLM" Key="Software\GitForWindows" Win64="yes" Variable="GIT" Value="InstallPath"/>
15+
<util:RegistrySearch Root="HKLM" Key="SOFTWARE\Microsoft\IIS Extensions\URL Rewrite" Variable="URLREWRITE" Value="Version"/>
16+
<util:RegistrySearch Root="HKLM" Key="SOFTWARE\Microsoft\IIS Extensions\Application Request Routing" Variable="ARR" Value="Version"/>
1717

1818
<PackageGroup Id="ReqiredPackages">
19-
<ExePackage Id="Git" DisplayName="Git" Cache="no" Compressed="yes" Permanent="yes" Vital="yes" SourceFile=".\Git-2.14.2-64-bit.exe" PerMachine="yes" InstallCondition="NOT GIT" InstallCommand="/VERYSILENT"/>
20-
<MsiPackage Id="NodeJS" DisplayName="NodeJS" Cache="no" Compressed="yes" DisplayInternalUI="no" Permanent="yes" Vital="yes" SourceFile=".\node-v8.6.0-x64.msi" ForcePerMachine="yes" InstallCondition="NOT NODEJS"/>
19+
<ExePackage Id="Git" DisplayName="Git" Cache="no" Compressed="yes" Permanent="yes" Vital="yes" SourceFile=".\Git-2.14.2-64-bit.exe" InstallCondition="NOT GIT" InstallCommand="/VERYSILENT"/>
20+
<MsiPackage Id="NodeJS" DisplayName="NodeJS" Cache="no" Compressed="yes" DisplayInternalUI="no" Permanent="yes" Vital="yes" SourceFile=".\node-v8.6.0-x64.msi" InstallCondition="NOT NODEJS"/>
2121
<MsiPackage Id="URLRewrite" DisplayName="URL Rewrite" Cache="no" Compressed="yes" DisplayInternalUI="no" Permanent="yes" Vital="yes" SourceFile=".\rewrite_amd64.msi" ForcePerMachine="yes" InstallCondition="NOT URLREWRITE"/>
2222
<MsiPackage Id="ARR" DisplayName="Application Request Routing" Cache="no" Compressed="yes" DisplayInternalUI="no" Permanent="yes" Vital="yes" SourceFile=".\requestRouter_amd64.msi" ForcePerMachine="yes" InstallCondition="NOT ARR"/>
2323
<MsiPackage Id="MainInstaller" DisplayName="eFormsAPI" Cache="no" Compressed="yes" DisplayInternalUI="yes" Permanent="yes" Vital="yes" Visible="no" SourceFile=".\maininstaller.msi" ForcePerMachine="yes" InstallCondition="1"/>

eFormAPI/Bundle/maininstaller.msi

0 Bytes
Binary file not shown.
0 Bytes
Binary file not shown.

eFormAPI/CustomActions/CustomAction.cs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -321,7 +321,9 @@ private static void BuildAngularApp(string appLocation, string appSolutionLocati
321321

322322
private static void BuildWebApi(string solutionLocation, string iisDir)
323323
{
324-
RunProcess(@"msbuild", $@"{solutionLocation}\eFormAPI.Web.csproj /p:DeployOnBuild=true /p:PublishProfile=FolderProfile.pubxml");
324+
var parentDir = new DirectoryInfo(solutionLocation).Parent.FullName;
325+
RunProcess(parentDir + @"\nuget\nuget.exe", "restore -PackagesDirectory packages", parentDir);
326+
RunProcess(parentDir + @"\msbuild\msbuild.exe", $@"{solutionLocation}\eFormAPI.Web.csproj /p:DeployOnBuild=true /p:PublishProfile=FolderProfile.pubxml");
325327

326328
if (Directory.Exists(iisDir))
327329
DeleteDirectory(iisDir);
Binary file not shown.

0 commit comments

Comments
 (0)