Skip to content
This repository has been archived by the owner on May 24, 2024. It is now read-only.

Commit

Permalink
Created 2018 project configuration and updated installer
Browse files Browse the repository at this point in the history
  • Loading branch information
Matteo Cominetti committed Aug 7, 2017
1 parent 2343eb1 commit 82c1052
Show file tree
Hide file tree
Showing 7 changed files with 156 additions and 8 deletions.
24 changes: 22 additions & 2 deletions BCFier.sln
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@

Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio 14
VisualStudioVersion = 14.0.25420.1
# Visual Studio 15
VisualStudioVersion = 15.0.26228.4
MinimumVisualStudioVersion = 10.0.40219.1
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Bcfier", "Bcfier\Bcfier.csproj", "{503CE2C1-09D7-4F15-BB42-86196EE01ED4}"
EndProject
Expand All @@ -19,10 +19,12 @@ Global
Debug-2015|Any CPU = Debug-2015|Any CPU
Debug-2016|Any CPU = Debug-2016|Any CPU
Debug-2017|Any CPU = Debug-2017|Any CPU
Debug-2018|Any CPU = Debug-2018|Any CPU
Release|Any CPU = Release|Any CPU
Release-2015|Any CPU = Release-2015|Any CPU
Release-2016|Any CPU = Release-2016|Any CPU
Release-2017|Any CPU = Release-2017|Any CPU
Release-2018|Any CPU = Release-2018|Any CPU
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
{503CE2C1-09D7-4F15-BB42-86196EE01ED4}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
Expand All @@ -33,6 +35,8 @@ Global
{503CE2C1-09D7-4F15-BB42-86196EE01ED4}.Debug-2016|Any CPU.Build.0 = Debug|Any CPU
{503CE2C1-09D7-4F15-BB42-86196EE01ED4}.Debug-2017|Any CPU.ActiveCfg = Debug|Any CPU
{503CE2C1-09D7-4F15-BB42-86196EE01ED4}.Debug-2017|Any CPU.Build.0 = Debug|Any CPU
{503CE2C1-09D7-4F15-BB42-86196EE01ED4}.Debug-2018|Any CPU.ActiveCfg = Debug|Any CPU
{503CE2C1-09D7-4F15-BB42-86196EE01ED4}.Debug-2018|Any CPU.Build.0 = Debug|Any CPU
{503CE2C1-09D7-4F15-BB42-86196EE01ED4}.Release|Any CPU.ActiveCfg = Release|Any CPU
{503CE2C1-09D7-4F15-BB42-86196EE01ED4}.Release|Any CPU.Build.0 = Release|Any CPU
{503CE2C1-09D7-4F15-BB42-86196EE01ED4}.Release-2015|Any CPU.ActiveCfg = Release|Any CPU
Expand All @@ -41,13 +45,17 @@ Global
{503CE2C1-09D7-4F15-BB42-86196EE01ED4}.Release-2016|Any CPU.Build.0 = Release|Any CPU
{503CE2C1-09D7-4F15-BB42-86196EE01ED4}.Release-2017|Any CPU.ActiveCfg = Release|Any CPU
{503CE2C1-09D7-4F15-BB42-86196EE01ED4}.Release-2017|Any CPU.Build.0 = Release|Any CPU
{503CE2C1-09D7-4F15-BB42-86196EE01ED4}.Release-2018|Any CPU.ActiveCfg = Release|Any CPU
{503CE2C1-09D7-4F15-BB42-86196EE01ED4}.Release-2018|Any CPU.Build.0 = Release|Any CPU
{2D132990-5674-42DF-93BF-55BA8FDC6A23}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{2D132990-5674-42DF-93BF-55BA8FDC6A23}.Debug-2015|Any CPU.ActiveCfg = Debug-2015|Any CPU
{2D132990-5674-42DF-93BF-55BA8FDC6A23}.Debug-2015|Any CPU.Build.0 = Debug-2015|Any CPU
{2D132990-5674-42DF-93BF-55BA8FDC6A23}.Debug-2016|Any CPU.ActiveCfg = Debug-2016|Any CPU
{2D132990-5674-42DF-93BF-55BA8FDC6A23}.Debug-2016|Any CPU.Build.0 = Debug-2016|Any CPU
{2D132990-5674-42DF-93BF-55BA8FDC6A23}.Debug-2017|Any CPU.ActiveCfg = Debug-2017|Any CPU
{2D132990-5674-42DF-93BF-55BA8FDC6A23}.Debug-2017|Any CPU.Build.0 = Debug-2017|Any CPU
{2D132990-5674-42DF-93BF-55BA8FDC6A23}.Debug-2018|Any CPU.ActiveCfg = Debug-2018|Any CPU
{2D132990-5674-42DF-93BF-55BA8FDC6A23}.Debug-2018|Any CPU.Build.0 = Debug-2018|Any CPU
{2D132990-5674-42DF-93BF-55BA8FDC6A23}.Release|Any CPU.ActiveCfg = Release|Any CPU
{2D132990-5674-42DF-93BF-55BA8FDC6A23}.Release|Any CPU.Build.0 = Release|Any CPU
{2D132990-5674-42DF-93BF-55BA8FDC6A23}.Release-2015|Any CPU.ActiveCfg = Release-2015|Any CPU
Expand All @@ -56,6 +64,8 @@ Global
{2D132990-5674-42DF-93BF-55BA8FDC6A23}.Release-2016|Any CPU.Build.0 = Release-2016|Any CPU
{2D132990-5674-42DF-93BF-55BA8FDC6A23}.Release-2017|Any CPU.ActiveCfg = Release-2017|Any CPU
{2D132990-5674-42DF-93BF-55BA8FDC6A23}.Release-2017|Any CPU.Build.0 = Release-2017|Any CPU
{2D132990-5674-42DF-93BF-55BA8FDC6A23}.Release-2018|Any CPU.ActiveCfg = Release-2018|Any CPU
{2D132990-5674-42DF-93BF-55BA8FDC6A23}.Release-2018|Any CPU.Build.0 = Release-2018|Any CPU
{3C03085B-63AD-4890-AC2C-A4DE31AF1A6B}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{3C03085B-63AD-4890-AC2C-A4DE31AF1A6B}.Debug|Any CPU.Build.0 = Debug|Any CPU
{3C03085B-63AD-4890-AC2C-A4DE31AF1A6B}.Debug-2015|Any CPU.ActiveCfg = Debug|Any CPU
Expand All @@ -64,6 +74,8 @@ Global
{3C03085B-63AD-4890-AC2C-A4DE31AF1A6B}.Debug-2016|Any CPU.Build.0 = Debug|Any CPU
{3C03085B-63AD-4890-AC2C-A4DE31AF1A6B}.Debug-2017|Any CPU.ActiveCfg = Debug|Any CPU
{3C03085B-63AD-4890-AC2C-A4DE31AF1A6B}.Debug-2017|Any CPU.Build.0 = Debug|Any CPU
{3C03085B-63AD-4890-AC2C-A4DE31AF1A6B}.Debug-2018|Any CPU.ActiveCfg = Debug|Any CPU
{3C03085B-63AD-4890-AC2C-A4DE31AF1A6B}.Debug-2018|Any CPU.Build.0 = Debug|Any CPU
{3C03085B-63AD-4890-AC2C-A4DE31AF1A6B}.Release|Any CPU.ActiveCfg = Release|Any CPU
{3C03085B-63AD-4890-AC2C-A4DE31AF1A6B}.Release|Any CPU.Build.0 = Release|Any CPU
{3C03085B-63AD-4890-AC2C-A4DE31AF1A6B}.Release-2015|Any CPU.ActiveCfg = Release|Any CPU
Expand All @@ -72,6 +84,8 @@ Global
{3C03085B-63AD-4890-AC2C-A4DE31AF1A6B}.Release-2016|Any CPU.Build.0 = Release|Any CPU
{3C03085B-63AD-4890-AC2C-A4DE31AF1A6B}.Release-2017|Any CPU.ActiveCfg = Release|Any CPU
{3C03085B-63AD-4890-AC2C-A4DE31AF1A6B}.Release-2017|Any CPU.Build.0 = Release|Any CPU
{3C03085B-63AD-4890-AC2C-A4DE31AF1A6B}.Release-2018|Any CPU.ActiveCfg = Release|Any CPU
{3C03085B-63AD-4890-AC2C-A4DE31AF1A6B}.Release-2018|Any CPU.Build.0 = Release|Any CPU
{CAF05B60-6A81-489D-B966-7B94F0D69AC7}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{CAF05B60-6A81-489D-B966-7B94F0D69AC7}.Debug|Any CPU.Build.0 = Debug|Any CPU
{CAF05B60-6A81-489D-B966-7B94F0D69AC7}.Debug-2015|Any CPU.ActiveCfg = Debug-2015|Any CPU
Expand All @@ -80,6 +94,7 @@ Global
{CAF05B60-6A81-489D-B966-7B94F0D69AC7}.Debug-2016|Any CPU.Build.0 = Debug-2016|Any CPU
{CAF05B60-6A81-489D-B966-7B94F0D69AC7}.Debug-2017|Any CPU.ActiveCfg = Debug-2017|Any CPU
{CAF05B60-6A81-489D-B966-7B94F0D69AC7}.Debug-2017|Any CPU.Build.0 = Debug-2017|Any CPU
{CAF05B60-6A81-489D-B966-7B94F0D69AC7}.Debug-2018|Any CPU.ActiveCfg = Debug-2017|Any CPU
{CAF05B60-6A81-489D-B966-7B94F0D69AC7}.Release|Any CPU.ActiveCfg = Release|Any CPU
{CAF05B60-6A81-489D-B966-7B94F0D69AC7}.Release|Any CPU.Build.0 = Release|Any CPU
{CAF05B60-6A81-489D-B966-7B94F0D69AC7}.Release-2015|Any CPU.ActiveCfg = Release-2015|Any CPU
Expand All @@ -88,6 +103,7 @@ Global
{CAF05B60-6A81-489D-B966-7B94F0D69AC7}.Release-2016|Any CPU.Build.0 = Release-2016|Any CPU
{CAF05B60-6A81-489D-B966-7B94F0D69AC7}.Release-2017|Any CPU.ActiveCfg = Release-2017|Any CPU
{CAF05B60-6A81-489D-B966-7B94F0D69AC7}.Release-2017|Any CPU.Build.0 = Release-2017|Any CPU
{CAF05B60-6A81-489D-B966-7B94F0D69AC7}.Release-2018|Any CPU.ActiveCfg = Release-2017|Any CPU
{4CD7CA76-A40E-4DF4-831D-36B64818CC69}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{4CD7CA76-A40E-4DF4-831D-36B64818CC69}.Debug|Any CPU.Build.0 = Debug|Any CPU
{4CD7CA76-A40E-4DF4-831D-36B64818CC69}.Debug-2015|Any CPU.ActiveCfg = Debug|Any CPU
Expand All @@ -96,6 +112,8 @@ Global
{4CD7CA76-A40E-4DF4-831D-36B64818CC69}.Debug-2016|Any CPU.Build.0 = Debug|Any CPU
{4CD7CA76-A40E-4DF4-831D-36B64818CC69}.Debug-2017|Any CPU.ActiveCfg = Debug|Any CPU
{4CD7CA76-A40E-4DF4-831D-36B64818CC69}.Debug-2017|Any CPU.Build.0 = Debug|Any CPU
{4CD7CA76-A40E-4DF4-831D-36B64818CC69}.Debug-2018|Any CPU.ActiveCfg = Debug|Any CPU
{4CD7CA76-A40E-4DF4-831D-36B64818CC69}.Debug-2018|Any CPU.Build.0 = Debug|Any CPU
{4CD7CA76-A40E-4DF4-831D-36B64818CC69}.Release|Any CPU.ActiveCfg = Release|Any CPU
{4CD7CA76-A40E-4DF4-831D-36B64818CC69}.Release|Any CPU.Build.0 = Release|Any CPU
{4CD7CA76-A40E-4DF4-831D-36B64818CC69}.Release-2015|Any CPU.ActiveCfg = Release|Any CPU
Expand All @@ -104,6 +122,8 @@ Global
{4CD7CA76-A40E-4DF4-831D-36B64818CC69}.Release-2016|Any CPU.Build.0 = Release|Any CPU
{4CD7CA76-A40E-4DF4-831D-36B64818CC69}.Release-2017|Any CPU.ActiveCfg = Release|Any CPU
{4CD7CA76-A40E-4DF4-831D-36B64818CC69}.Release-2017|Any CPU.Build.0 = Release|Any CPU
{4CD7CA76-A40E-4DF4-831D-36B64818CC69}.Release-2018|Any CPU.ActiveCfg = Release|Any CPU
{4CD7CA76-A40E-4DF4-831D-36B64818CC69}.Release-2018|Any CPU.Build.0 = Release|Any CPU
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
Expand Down
61 changes: 60 additions & 1 deletion Bcfier.Revit/Bcfier.Revit.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -141,6 +141,39 @@
</ResolveAssemblyWarnOrErrorOnTargetArchitectureMismatch>
<Prefer32Bit>false</Prefer32Bit>
<TargetFrameworkVersion>v4.6</TargetFrameworkVersion>
</PropertyGroup>
<!-- 2018 -->
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Debug-2018|AnyCPU'">
<DebugSymbols>true</DebugSymbols>
<OutputPath>bin\Debug-2018\</OutputPath>
<DefineConstants>TRACE;DEBUG;Version2018</DefineConstants>
<DebugType>full</DebugType>
<PlatformTarget>x64</PlatformTarget>
<ErrorReport>prompt</ErrorReport>
<CodeAnalysisRuleSet>MinimumRecommendedRules.ruleset</CodeAnalysisRuleSet>
<RevitVersion>2018</RevitVersion>
<AssemblyName>$(AssemblyName)</AssemblyName>
<Prefer32Bit>false</Prefer32Bit>
<StartAction>Program</StartAction>
<StartProgram>C:\Program Files\Autodesk\Revit 2018\Revit.exe</StartProgram>
<TargetFrameworkVersion>v4.6</TargetFrameworkVersion>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Release-2018|AnyCPU'">
<OutputPath>bin\Release-2018\</OutputPath>
<DefineConstants>TRACE;RELEASE;Version2018</DefineConstants>
<Optimize>true</Optimize>
<DebugType>pdbonly</DebugType>
<PlatformTarget>AnyCPU</PlatformTarget>
<ErrorReport>prompt</ErrorReport>
<CodeAnalysisRuleSet>MinimumRecommendedRules.ruleset</CodeAnalysisRuleSet>
<RevitVersion>2018</RevitVersion>
<AssemblyName>$(AssemblyName)</AssemblyName>
<WarningLevel>0</WarningLevel>
<ResolveAssemblyWarnOrErrorOnTargetArchitectureMismatch>
None
</ResolveAssemblyWarnOrErrorOnTargetArchitectureMismatch>
<Prefer32Bit>false</Prefer32Bit>
<TargetFrameworkVersion>v4.6</TargetFrameworkVersion>
</PropertyGroup>
<!-- MULTIVERSION CONFIGURATION END -->
<ItemGroup>
Expand Down Expand Up @@ -184,6 +217,19 @@
<Reference Include="RevitAPIUI" Condition="'$(Configuration)' == 'Debug-2017'">
<HintPath>C:\Program Files\Autodesk\Revit 2017\RevitAPIIFC.dll</HintPath>
<Private>False</Private>
</Reference>
<!-- 2018 -->
<Reference Include="RevitAPI" Condition="'$(Configuration)' == 'Debug-2018'">
<HintPath>C:\Program Files\Autodesk\Revit 2018\RevitAPI.dll</HintPath>
<Private>False</Private>
</Reference>
<Reference Include="RevitAPIUI" Condition="'$(Configuration)' == 'Debug-2018'">
<HintPath>C:\Program Files\Autodesk\Revit 2018\RevitAPIUI.dll</HintPath>
<Private>False</Private>
</Reference>
<Reference Include="RevitAPIUI" Condition="'$(Configuration)' == 'Debug-2018'">
<HintPath>C:\Program Files\Autodesk\Revit 2018\RevitAPIIFC.dll</HintPath>
<Private>False</Private>
</Reference>
<!-- RELEASE -->
<!-- 2015 -->
Expand Down Expand Up @@ -224,6 +270,19 @@
<Reference Include="RevitAPIUI" Condition="'$(Configuration)' == 'Release-2017'">
<HintPath>C:\Program Files\Autodesk\Revit 2017\RevitAPIIFC.dll</HintPath>
<Private>False</Private>
</Reference>
<!-- 2018 -->
<Reference Include="RevitAPI" Condition="'$(Configuration)' == 'Release-2018'">
<HintPath>C:\Program Files\Autodesk\Revit 2018\RevitAPI.dll</HintPath>
<Private>False</Private>
</Reference>
<Reference Include="RevitAPIUI" Condition="'$(Configuration)' == 'Release-2018'">
<HintPath>C:\Program Files\Autodesk\Revit 2018\RevitAPIUI.dll</HintPath>
<Private>False</Private>
</Reference>
<Reference Include="RevitAPIUI" Condition="'$(Configuration)' == 'Release-2018'">
<HintPath>C:\Program Files\Autodesk\Revit 2018\RevitAPIIFC.dll</HintPath>
<Private>False</Private>
</Reference>
<!-- MULTIVERSION REVIT API REFERENCES END -->
<Reference Include="System" />
Expand Down Expand Up @@ -316,7 +375,7 @@
<!-- MULTIVERSION POST BUILD EVENTS START -->
<!-- COPIES ALL DLLS AND .ADDIN MANIFEST TO THE RELATIVE REVIT ADDIN FOLDER -->
<Target Name="AfterBuild">
<CallTarget Condition="'$(Configuration)' == 'Debug-2015' Or '$(Configuration)' == 'Debug-2016' Or '$(Configuration)' == 'Debug-2017'" Targets="AfterBuildDebug" />
<CallTarget Condition="'$(Configuration)' == 'Debug-2015' Or '$(Configuration)' == 'Debug-2016' Or '$(Configuration)' == 'Debug-2017' Or '$(Configuration)' == 'Debug-2018'" Targets="AfterBuildDebug" />
</Target>
<Target Name="AfterBuildDebug">
<ItemGroup>
Expand Down
13 changes: 9 additions & 4 deletions Bcfier.Revit/Entry/CmdMain.cs
Original file line number Diff line number Diff line change
Expand Up @@ -15,18 +15,23 @@ namespace Bcfier.Revit.Entry
[Regeneration(RegenerationOption.Manual)]
public class CmdMain : IExternalCommand
{
#if Version2017
#if Version2018

public const string RevitVersion = "2017";
public const string RevitVersion = "2018";

#elif Version2015
#elif Version2017

public const string RevitVersion = "2015";
public const string RevitVersion = "2017";

#elif Version2016

public const string RevitVersion = "2016";

#elif Version2015

public const string RevitVersion = "2015";


#endif

internal static CmdMain ThisCmd = null;
Expand Down
18 changes: 18 additions & 0 deletions Bcfier.Win/Bcfier.Win.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -112,6 +112,24 @@
<ErrorReport>prompt</ErrorReport>
<CodeAnalysisRuleSet>MinimumRecommendedRules.ruleset</CodeAnalysisRuleSet>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Release-2018|AnyCPU'">
<OutputPath>bin\Release-2018\</OutputPath>
<DefineConstants>TRACE</DefineConstants>
<Optimize>true</Optimize>
<DebugType>pdbonly</DebugType>
<PlatformTarget>AnyCPU</PlatformTarget>
<ErrorReport>prompt</ErrorReport>
<CodeAnalysisRuleSet>MinimumRecommendedRules.ruleset</CodeAnalysisRuleSet>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Debug-2018|AnyCPU'">
<DebugSymbols>true</DebugSymbols>
<OutputPath>bin\Debug-2018\</OutputPath>
<DefineConstants>DEBUG;TRACE</DefineConstants>
<DebugType>full</DebugType>
<PlatformTarget>AnyCPU</PlatformTarget>
<ErrorReport>prompt</ErrorReport>
<CodeAnalysisRuleSet>MinimumRecommendedRules.ruleset</CodeAnalysisRuleSet>
</PropertyGroup>
<ItemGroup>
<Reference Include="System" />
<Reference Include="System.Data" />
Expand Down
20 changes: 20 additions & 0 deletions Bcfier.XbimXplorer/Bcfier.XbimXplorer.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,26 @@
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Release-2018|AnyCPU'">
<OutputPath>bin\Release-2018\</OutputPath>
<DefineConstants>TRACE</DefineConstants>
<Optimize>true</Optimize>
<DebugType>pdbonly</DebugType>
<PlatformTarget>AnyCPU</PlatformTarget>
<ErrorReport>prompt</ErrorReport>
<CodeAnalysisRuleSet>MinimumRecommendedRules.ruleset</CodeAnalysisRuleSet>
<Prefer32Bit>true</Prefer32Bit>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Debug-2018|AnyCPU'">
<DebugSymbols>true</DebugSymbols>
<OutputPath>bin\Debug-2018\</OutputPath>
<DefineConstants>DEBUG;TRACE</DefineConstants>
<DebugType>full</DebugType>
<PlatformTarget>AnyCPU</PlatformTarget>
<ErrorReport>prompt</ErrorReport>
<CodeAnalysisRuleSet>MinimumRecommendedRules.ruleset</CodeAnalysisRuleSet>
<Prefer32Bit>true</Prefer32Bit>
</PropertyGroup>
<ItemGroup>
<Reference Include="Esent.Interop, Version=1.9.4.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL">
<HintPath>..\packages\ManagedEsent.1.9.4\lib\net40\Esent.Interop.dll</HintPath>
Expand Down
18 changes: 18 additions & 0 deletions Bcfier/Bcfier.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -100,6 +100,24 @@
<ErrorReport>prompt</ErrorReport>
<CodeAnalysisRuleSet>MinimumRecommendedRules.ruleset</CodeAnalysisRuleSet>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Release-2018|AnyCPU'">
<OutputPath>bin\Release-2018\</OutputPath>
<DefineConstants>TRACE</DefineConstants>
<Optimize>true</Optimize>
<DebugType>pdbonly</DebugType>
<PlatformTarget>AnyCPU</PlatformTarget>
<ErrorReport>prompt</ErrorReport>
<CodeAnalysisRuleSet>MinimumRecommendedRules.ruleset</CodeAnalysisRuleSet>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Debug-2018|AnyCPU'">
<DebugSymbols>true</DebugSymbols>
<OutputPath>bin\Debug-2018\</OutputPath>
<DefineConstants>DEBUG;TRACE</DefineConstants>
<DebugType>full</DebugType>
<PlatformTarget>AnyCPU</PlatformTarget>
<ErrorReport>prompt</ErrorReport>
<CodeAnalysisRuleSet>MinimumRecommendedRules.ruleset</CodeAnalysisRuleSet>
</PropertyGroup>
<ItemGroup>
<Reference Include="GongSolutions.Wpf.DragDrop, Version=1.1.0.0, Culture=neutral, processorArchitecture=MSIL">
<HintPath>..\packages\gong-wpf-dragdrop.1.1.0\lib\net45\GongSolutions.Wpf.DragDrop.dll</HintPath>
Expand Down
10 changes: 9 additions & 1 deletion InnoSetup/BCFier.iss
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@
#define RevitAddin16 RevitAddinFolder+"\2016\"
#define RevitFolder17 RevitAddinFolder+"\2017\"+RevitAppName
#define RevitAddin17 RevitAddinFolder+"\2017\"
#define RevitFolder18 RevitAddinFolder+"\2018\"+RevitAppName
#define RevitAddin18 RevitAddinFolder+"\2018\"

#define WinAppName "Bcfier.Win"

Expand Down Expand Up @@ -50,6 +52,7 @@ Name: "desktopicon"; Description: "{cm:CreateDesktopIcon}"; GroupDescription: "{
Name: revit15; Description: Addin for Autodesk Revit 2015; Types: full
Name: revit16; Description: Addin for Autodesk Revit 2016; Types: full
Name: revit17; Description: Addin for Autodesk Revit 2017; Types: full
Name: revit18; Description: Addin for Autodesk Revit 2018; Types: full
Name: standalone; Description: BCFier for Windows (standalone viewer); Types: full


Expand Down Expand Up @@ -77,6 +80,11 @@ Source: "{#Repository}\{#RevitAppName}\bin\Release-2017\{#RevitAppName}.dll"; De
Source: "{#Repository}\{#RevitAppName}\bin\Release-2017\{#RevitAppName}.addin"; DestDir: "{#RevitAddin17}"; Flags: ignoreversion; Components: revit17
Source: "{#Repository}\{#RevitAppName}\bin\Release-2017\Bcfier.dll"; DestDir: "{#RevitFolder17}"; Flags: ignoreversion; Components: revit17

;REVIT 2018
Source: "{#Repository}\{#RevitAppName}\bin\Release-2018\{#RevitAppName}.dll"; DestDir: "{#RevitFolder18}"; Flags: ignoreversion; Components: revit18
Source: "{#Repository}\{#RevitAppName}\bin\Release-2018\{#RevitAppName}.addin"; DestDir: "{#RevitAddin18}"; Flags: ignoreversion; Components: revit18
Source: "{#Repository}\{#RevitAppName}\bin\Release-2018\Bcfier.dll"; DestDir: "{#RevitFolder18}"; Flags: ignoreversion; Components: revit18



[Icons]
Expand Down Expand Up @@ -145,7 +153,7 @@ begin
result := success and (install = 1) and (serviceCount >= service);
end;
//Revit 2017/18 need 4.6, should update?
function InitializeSetup(): Boolean;
var
ErrCode: integer;
Expand Down

0 comments on commit 82c1052

Please sign in to comment.