Skip to content

Commit

Permalink
added misses installer projects.
Browse files Browse the repository at this point in the history
  • Loading branch information
arise-project committed Apr 1, 2015
1 parent 261f917 commit a7ae87c
Show file tree
Hide file tree
Showing 13 changed files with 221 additions and 3 deletions.
41 changes: 41 additions & 0 deletions ArduinoLadder.Bootstrapper/ArduinoLadder.Bootstrapper.wixproj
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
<?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>626fd23a-2d9f-40c6-94f4-d8daab60a3ea</ProjectGuid>
<SchemaVersion>2.0</SchemaVersion>
<OutputName>ArduinoLadder.Bootstrapper</OutputName>
<OutputType>Bundle</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>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|x86' ">
<OutputPath>bin\$(Configuration)\</OutputPath>
<IntermediateOutputPath>obj\$(Configuration)\</IntermediateOutputPath>
</PropertyGroup>
<ItemGroup>
<Compile Include="Bundle.wxs" />
</ItemGroup>
<ItemGroup>
<WixExtension Include="WixBalExtension">
<HintPath>$(WixExtDir)\WixBalExtension.dll</HintPath>
<Name>WixBalExtension</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>
11 changes: 11 additions & 0 deletions ArduinoLadder.Bootstrapper/Bundle.wxs
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
<?xml version="1.0" encoding="UTF-8"?>
<Wix xmlns="http://schemas.microsoft.com/wix/2006/wi">
<Bundle Name="ArduinoLadder.Bootstrapper" Version="1.0.0.0" Manufacturer="" UpgradeCode="626fd23a-2d9f-40c6-94f4-d8daab60a3ea">
<BootstrapperApplicationRef Id="WixStandardBootstrapperApplication.RtfLicense" />

<Chain>
<!-- TODO: Define the list of chained packages. -->
<!-- <MsiPackage SourceFile="path\to\your.msi" /> -->
</Chain>
</Bundle>
</Wix>
51 changes: 51 additions & 0 deletions ArduinoLadder.CustomAction/ArduinoLadder.CustomAction.csproj
Original file line number Diff line number Diff line change
@@ -0,0 +1,51 @@
<?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>8.0.30703</ProductVersion>
<SchemaVersion>2.0</SchemaVersion>
<ProjectGuid>{E97B170A-196B-4D85-BCD3-DF378A9B8395}</ProjectGuid>
<OutputType>Library</OutputType>
<AppDesignerFolder>Properties</AppDesignerFolder>
<RootNamespace>ArduinoLadder.CustomAction</RootNamespace>
<AssemblyName>ArduinoLadder.CustomAction</AssemblyName>
<TargetFrameworkVersion>v4.0</TargetFrameworkVersion>
<FileAlignment>512</FileAlignment>
<WixCATargetsPath Condition=" '$(WixCATargetsPath)' == '' ">$(MSBuildExtensionsPath)\Microsoft\WiX\v3.x\Wix.CA.targets</WixCATargetsPath>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|x86' ">
<DebugSymbols>true</DebugSymbols>
<DebugType>full</DebugType>
<Optimize>false</Optimize>
<OutputPath>bin\Debug\</OutputPath>
<DefineConstants>DEBUG;TRACE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|x86' ">
<DebugType>pdbonly</DebugType>
<Optimize>true</Optimize>
<OutputPath>bin\Release\</OutputPath>
<DefineConstants>TRACE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
</PropertyGroup>
<ItemGroup>
<Reference Include="System" />
<Reference Include="System.Core" />
<Reference Include="System.Xml.Linq" />
<Reference Include="Microsoft.CSharp" />
<Reference Include="System.Xml" />
<Reference Include="Microsoft.Deployment.WindowsInstaller">
<Private>True</Private>
</Reference>
</ItemGroup>
<ItemGroup>
<Compile Include="CustomAction.cs" />
<Compile Include="Properties\AssemblyInfo.cs" />
<Content Include="CustomAction.config" />
</ItemGroup>
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
<Import Project="$(WixCATargetsPath)" />
</Project>
32 changes: 32 additions & 0 deletions ArduinoLadder.CustomAction/CustomAction.config
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
<?xml version="1.0" encoding="utf-8" ?>
<configuration>
<startup useLegacyV2RuntimeActivationPolicy="true">

<!--
Use supportedRuntime tags to explicitly specify the version(s) of the .NET Framework runtime that
the custom action should run on. If no versions are specified, the chosen version of the runtime
will be the "best" match to what Microsoft.Deployment.WindowsInstaller.dll was built against.
WARNING: leaving the version unspecified is dangerous as it introduces a risk of compatibility
problems with future versions of the .NET Framework runtime. It is highly recommended that you specify
only the version(s) of the .NET Framework runtime that you have tested against.
Note for .NET Framework v3.0 and v3.5, the runtime version is still v2.0.
In order to enable .NET Framework version 2.0 runtime activation policy, which is to load all assemblies
by using the latest supported runtime, @useLegacyV2RuntimeActivationPolicy="true".
For more information, see http://msdn.microsoft.com/en-us/library/bbx34a2h.aspx
-->

<supportedRuntime version="v4.0" />
<supportedRuntime version="v2.0.50727"/>

</startup>

<!--
Add additional configuration settings here. For more information on application config files,
see http://msdn.microsoft.com/en-us/library/kza1yk3a.aspx
-->

</configuration>
18 changes: 18 additions & 0 deletions ArduinoLadder.CustomAction/CustomAction.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
using System;
using System.Collections.Generic;
using System.Text;
using Microsoft.Deployment.WindowsInstaller;

namespace ArduinoLadder.CustomAction
{
public class CustomActions
{
[CustomAction]
public static ActionResult CustomAction1(Session session)
{
session.Log("Begin CustomAction1");

return ActionResult.Success;
}
}
}
35 changes: 35 additions & 0 deletions ArduinoLadder.CustomAction/Properties/AssemblyInfo.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;

// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTitle("ArduinoLadder.CustomAction")]
[assembly: AssemblyDescription("")]
[assembly: AssemblyCompany("")]
[assembly: AssemblyProduct("ArduinoLadder.CustomAction")]
[assembly: AssemblyCopyright("Copyright © 2015")]
[assembly: AssemblyTrademark("")]
[assembly: AssemblyCulture("")]

// Setting ComVisible to false makes the types in this assembly not visible
// to COM components. If you need to access a type in this assembly from
// COM, set the ComVisible attribute to true on that type.
[assembly: ComVisible(false)]

// The following GUID is for the ID of the typelib if this project is exposed to COM
[assembly: Guid("f7fdea03-94b9-47c6-a694-cebebd5ea590")]

// Version information for an assembly consists of the following four values:
//
// Major Version
// Minor Version
// Build Number
// Revision
//
// You can specify all the values or you can default the Build and Revision Numbers
// by using the '*' as shown below:
// [assembly: AssemblyVersion("1.0.*")]
[assembly: AssemblyVersion("1.0.0.0")]
[assembly: AssemblyFileVersion("1.0.0.0")]
16 changes: 13 additions & 3 deletions LadderLogic.sln
Original file line number Diff line number Diff line change
@@ -1,12 +1,14 @@

Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio 14
VisualStudioVersion = 14.0.22310.1
MinimumVisualStudioVersion = 10.0.40219.1
# Visual Studio 2012
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "LadderLogic", "LadderLogic.csproj", "{EC31E108-4964-4E61-823F-2077D48F1E15}"
EndProject
Project("{930C7802-8A8C-48F9-8165-68863BCCD9DD}") = "ArduinoLadder.Setup", "ArduinoLadder.Setup\ArduinoLadder.Setup.wixproj", "{0DBD6B91-8D07-4D0D-BB92-9C88BA501AEF}"
EndProject
Project("{930C7802-8A8C-48F9-8165-68863BCCD9DD}") = "ArduinoLadder.Bootstrapper", "ArduinoLadder.Bootstrapper\ArduinoLadder.Bootstrapper.wixproj", "{626FD23A-2D9F-40C6-94F4-D8DAAB60A3EA}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "ArduinoLadder.CustomAction", "ArduinoLadder.CustomAction\ArduinoLadder.CustomAction.csproj", "{E97B170A-196B-4D85-BCD3-DF378A9B8395}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|x86 = Debug|x86
Expand All @@ -21,6 +23,14 @@ Global
{0DBD6B91-8D07-4D0D-BB92-9C88BA501AEF}.Debug|x86.Build.0 = Debug|x86
{0DBD6B91-8D07-4D0D-BB92-9C88BA501AEF}.Release|x86.ActiveCfg = Release|x86
{0DBD6B91-8D07-4D0D-BB92-9C88BA501AEF}.Release|x86.Build.0 = Release|x86
{626FD23A-2D9F-40C6-94F4-D8DAAB60A3EA}.Debug|x86.ActiveCfg = Debug|x86
{626FD23A-2D9F-40C6-94F4-D8DAAB60A3EA}.Debug|x86.Build.0 = Debug|x86
{626FD23A-2D9F-40C6-94F4-D8DAAB60A3EA}.Release|x86.ActiveCfg = Release|x86
{626FD23A-2D9F-40C6-94F4-D8DAAB60A3EA}.Release|x86.Build.0 = Release|x86
{E97B170A-196B-4D85-BCD3-DF378A9B8395}.Debug|x86.ActiveCfg = Debug|x86
{E97B170A-196B-4D85-BCD3-DF378A9B8395}.Debug|x86.Build.0 = Debug|x86
{E97B170A-196B-4D85-BCD3-DF378A9B8395}.Release|x86.ActiveCfg = Release|x86
{E97B170A-196B-4D85-BCD3-DF378A9B8395}.Release|x86.Build.0 = Release|x86
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
Expand Down
Binary file modified bin/Debug/LadderLogic.vshost.exe
Binary file not shown.
6 changes: 6 additions & 0 deletions bin/Debug/LadderLogic.vshost.exe.config
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<configuration>
<appSettings>
<add key="ElementsView" value="false"/>
</appSettings>
</configuration>
11 changes: 11 additions & 0 deletions bin/Debug/LadderLogic.vshost.exe.manifest
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<assembly xmlns="urn:schemas-microsoft-com:asm.v1" manifestVersion="1.0">
<assemblyIdentity version="1.0.0.0" name="MyApplication.app"/>
<trustInfo xmlns="urn:schemas-microsoft-com:asm.v2">
<security>
<requestedPrivileges xmlns="urn:schemas-microsoft-com:asm.v3">
<requestedExecutionLevel level="asInvoker" uiAccess="false"/>
</requestedPrivileges>
</security>
</trustInfo>
</assembly>
Binary file modified obj/x86/Debug/DesignTimeResolveAssemblyReferencesInput.cache
Binary file not shown.
3 changes: 3 additions & 0 deletions obj/x86/Debug/LadderLogic.csproj.FileListAbsolute.txt
Original file line number Diff line number Diff line change
Expand Up @@ -350,3 +350,6 @@ E:\eugene\ArduinoLadder\bin\Debug\Element\ResetCoil.xml
E:\eugene\ArduinoLadder\bin\Debug\LadderLogic.exe
E:\eugene\ArduinoLadder\bin\Debug\LadderLogic.pdb
E:\eugene\ArduinoLadder\obj\x86\Debug\LadderLogic.csprojResolveAssemblyReference.cache
G:\Disk_H\ArduinoLadder\bin\Debug\LadderLogic.exe.config
G:\Disk_H\ArduinoLadder\obj\x86\Debug\LadderLogic.exe
G:\Disk_H\ArduinoLadder\obj\x86\Debug\LadderLogic.pdb
Binary file modified obj/x86/Debug/LadderLogic.csprojResolveAssemblyReference.cache
Binary file not shown.

0 comments on commit a7ae87c

Please sign in to comment.