AMSICA => MSICALib

This commit is contained in:
Simon Rozman 2014-03-12 13:00:59 +00:00
parent 5308b20f51
commit ab9ba8e879
21 changed files with 227 additions and 152 deletions

29
.gitattributes vendored
View File

@ -1,17 +1,15 @@
* text=auto !eol * text=auto !eol
AMSICA/AMSICA-10.0.sln svneol=CRLF#text/plain eol=crlf MSICALib/FileOp.cpp -text
AMSICA/build/AMSICA.props -text svneol=unset#text/xml MSICALib/MSICALib.cpp -text
AMSICA/build/AMSICALib.vcxproj -text svneol=unset#text/xml MSICALib/MSICALib.h -text
AMSICA/build/AMSICALib.vcxproj.filters -text svneol=unset#text/xml MSICALib/MSICALib.vcxproj -text svneol=unset#text/xml
AMSICA/include/AMSICA.h -text MSICALib/MSICALib.vcxproj.filters -text svneol=unset#text/xml
AMSICA/include/StdAfx.h -text MSICALib/RegOp.cpp -text
AMSICA/msm/Makefile -text svneol=unset#text/plain%3B+charset%3DWindows-1250 MSICALib/TSOp.cpp -text
AMSICA/res/en_GB.po -text MSICALib/msm/Makefile -text svneol=unset#text/plain%3B+charset%3DWindows-1250
AMSICA/src/AMSICA.cpp -text MSICALib/res/en_GB.po -text
AMSICA/src/AMSICAFileOp.cpp -text MSICALib/stdafx.cpp -text
AMSICA/src/AMSICATSOp.cpp -text MSICALib/stdafx.h -text
AMSICA/src/MSICARegOp.cpp -text
AMSICA/src/StdAfx.cpp -text
MSITSCA/L10N/sl_SI.po -text MSITSCA/L10N/sl_SI.po -text
MSITSCA/MSITSCA.cpp -text MSITSCA/MSITSCA.cpp -text
MSITSCA/MSITSCA.h -text MSITSCA/MSITSCA.h -text
@ -22,3 +20,8 @@ MSITSCA/StdAfx.h -text
MSITSCA/msm/Makefile -text svneol=unset#text/plain%3B+charset%3DWindows-1250 MSITSCA/msm/Makefile -text svneol=unset#text/plain%3B+charset%3DWindows-1250
MSITSCA/res/MSITSCA.rc -text svneol=unset#unset MSITSCA/res/MSITSCA.rc -text svneol=unset#unset
MSITSCA/res/MSITSCA.rcx -text svneol=unset#unset MSITSCA/res/MSITSCA.rcx -text svneol=unset#unset
include/Debug.props -text svneol=unset#text/xml
include/Release.props -text svneol=unset#text/xml
include/Win32.props -text svneol=unset#text/xml
include/common.props -text svneol=unset#text/xml
include/x64.props -text svneol=unset#text/xml

30
.gitignore vendored
View File

@ -1,21 +1,15 @@
AMSICA/*.opensdf MSICALib/*.user
AMSICA/*.sdf MSICALib/msm/*-1.idt
AMSICA/*.suo MSICALib/msm/*-2.idt
AMSICA/build/*.user MSICALib/msm/*-2.idtx
AMSICA/build/AMSICALib.Debug.Win32 MSICALib/msm/*.Binary-1
AMSICA/build/AMSICALib.Debug.x64 MSICALib/msm/*.Binary-2
AMSICA/build/AMSICALib.Release.Win32 MSICALib/msm/*.Icon-1
AMSICA/build/AMSICALib.Release.x64 MSICALib/msm/*.Icon-2
AMSICA/msm/*-1.idt MSICALib/msm/*.lst
AMSICA/msm/*-2.idt MSICALib/msm/*.msm
AMSICA/msm/*-2.idtx MSICALib/res/*.mo
AMSICA/msm/*.Binary-1 MSICALib/temp
AMSICA/msm/*.Binary-2
AMSICA/msm/*.Icon-1
AMSICA/msm/*.Icon-2
AMSICA/msm/*.lst
AMSICA/msm/*.msm
AMSICA/res/*.mo
MSITSCA/*.user MSITSCA/*.user
MSITSCA/L10N/*.mo MSITSCA/L10N/*.mo
MSITSCA/MSITSCA.Debug.Win32 MSITSCA/MSITSCA.Debug.Win32

View File

@ -1,26 +0,0 @@

Microsoft Visual Studio Solution File, Format Version 11.00
# Visual Studio 2010
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "AMSICALib", "build\AMSICALib.vcxproj", "{8552EE55-177E-4F51-B51B-BAF7D6462CDE}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Win32 = Debug|Win32
Debug|x64 = Debug|x64
Release|Win32 = Release|Win32
Release|x64 = Release|x64
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
{8552EE55-177E-4F51-B51B-BAF7D6462CDE}.Debug|Win32.ActiveCfg = Debug|Win32
{8552EE55-177E-4F51-B51B-BAF7D6462CDE}.Debug|Win32.Build.0 = Debug|Win32
{8552EE55-177E-4F51-B51B-BAF7D6462CDE}.Debug|x64.ActiveCfg = Debug|x64
{8552EE55-177E-4F51-B51B-BAF7D6462CDE}.Debug|x64.Build.0 = Debug|x64
{8552EE55-177E-4F51-B51B-BAF7D6462CDE}.Release|Win32.ActiveCfg = Release|Win32
{8552EE55-177E-4F51-B51B-BAF7D6462CDE}.Release|Win32.Build.0 = Release|Win32
{8552EE55-177E-4F51-B51B-BAF7D6462CDE}.Release|x64.ActiveCfg = Release|x64
{8552EE55-177E-4F51-B51B-BAF7D6462CDE}.Release|x64.Build.0 = Release|x64
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
EndGlobalSection
EndGlobal

View File

@ -1,20 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<Project DefaultTargets="Build" ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup>
<_ProjectFileVersion>10.0.30319.1</_ProjectFileVersion>
</PropertyGroup>
<ItemDefinitionGroup>
<ClCompile>
<AdditionalIncludeDirectories>$(IntDir);..\include;..\..\include;..\..\AOsn\include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
</ClCompile>
<ResourceCompile>
<AdditionalIncludeDirectories>$(IntDir);..\include;..\..\include;..\res;..\..\AOsn\include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
</ResourceCompile>
<ResourceLocalizator>
<LanguageCatalogs>..\res\en_GB.po</LanguageCatalogs>
</ResourceLocalizator>
<MessageLocalizator>
<LanguageCatalogs>..\res\en_GB.po</LanguageCatalogs>
</MessageLocalizator>
</ItemDefinitionGroup>
</Project>

View File

@ -1 +0,0 @@
#include "StdAfx.h"

View File

@ -1,7 +1,7 @@
#include "StdAfx.h" #include "stdafx.h"
namespace AMSICA { namespace MSICA {
//////////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////////////
// COpFileDelete // COpFileDelete
@ -85,4 +85,4 @@ HRESULT COpFileMove::Execute(CSession *pSession)
} }
} }
} // namespace AMSICA } // namespace MSICA

View File

@ -1,9 +1,9 @@
#include "StdAfx.h" #include "stdafx.h"
#pragma comment(lib, "msi.lib") #pragma comment(lib, "msi.lib")
namespace AMSICA { namespace MSICA {
//////////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////////////
// COperation // COperation
@ -181,4 +181,4 @@ CSession::~CSession()
m_olCommit.Free(); m_olCommit.Free();
} }
} // namespace AMSICA } // namespace MSICA

View File

@ -1,17 +1,17 @@
#ifndef __AMSICA_H__ #ifndef __MSICALib_H__
#define __AMSICA_H__ #define __MSICALib_H__
//////////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////////////
// Version // Version
//////////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////////////
#define AMSICA_VERSION 0x02000000 #define MSICALib_VERSION 0x02000000
#define AMSICA_VERSION_MAJ 2 #define MSICALib_VERSION_MAJ 2
#define AMSICA_VERSION_MIN 0 #define MSICALib_VERSION_MIN 0
#define AMSICA_VERSION_REV 0 #define MSICALib_VERSION_REV 0
#define AMSICA_VERSION_STR "2.0" #define MSICALib_VERSION_STR "2.0"
#if !defined(RC_INVOKED) && !defined(MIDL_PASS) #if !defined(RC_INVOKED) && !defined(MIDL_PASS)
@ -52,7 +52,7 @@
#define ERROR_INSTALL_SCHEDULED_TASKS_OPLIST_CREATE 2551L #define ERROR_INSTALL_SCHEDULED_TASKS_OPLIST_CREATE 2551L
namespace AMSICA { namespace MSICA {
//////////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////////////
@ -469,7 +469,7 @@ public:
COpList m_olCommit; // Commit operation list COpList m_olCommit; // Commit operation list
}; };
} // namespace AMSICA } // namespace MSICA
//////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////
@ -742,7 +742,7 @@ inline UINT MsiGetTargetPathW(MSIHANDLE hInstall, LPCWSTR szFolder, ATL::CAtlStr
} }
namespace AMSICA { namespace MSICA {
//////////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////////////
// Inline operators // Inline operators
@ -1422,8 +1422,8 @@ template <class T> inline HRESULT COpList::LoadAndAddTail(ATL::CAtlFile &f)
return S_OK; return S_OK;
} }
} // namespace AMSICA } // namespace MSICA
#endif // RC_INVOKED #endif // RC_INVOKED
#endif // __AMSICA_H__ #endif // __MSICALib_H__

View File

@ -19,11 +19,11 @@
</ProjectConfiguration> </ProjectConfiguration>
</ItemGroup> </ItemGroup>
<ItemGroup> <ItemGroup>
<ClCompile Include="..\src\AMSICA.cpp" /> <ClCompile Include="MSICALib.cpp" />
<ClCompile Include="..\src\AMSICAFileOp.cpp" /> <ClCompile Include="FileOp.cpp" />
<ClCompile Include="..\src\AMSICATSOp.cpp" /> <ClCompile Include="TSOp.cpp" />
<ClCompile Include="..\src\MSICARegOp.cpp" /> <ClCompile Include="RegOp.cpp" />
<ClCompile Include="..\src\StdAfx.cpp"> <ClCompile Include="stdafx.cpp">
<PrecompiledHeader Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">Create</PrecompiledHeader> <PrecompiledHeader Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">Create</PrecompiledHeader>
<PrecompiledHeader Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">Create</PrecompiledHeader> <PrecompiledHeader Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">Create</PrecompiledHeader>
<PrecompiledHeader Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">Create</PrecompiledHeader> <PrecompiledHeader Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">Create</PrecompiledHeader>
@ -31,17 +31,17 @@
</ClCompile> </ClCompile>
</ItemGroup> </ItemGroup>
<ItemGroup> <ItemGroup>
<ClInclude Include="..\include\AMSICA.h" /> <ClInclude Include="MSICALib.h" />
<ClInclude Include="..\include\StdAfx.h" /> <ClInclude Include="stdafx.h" />
</ItemGroup> </ItemGroup>
<ItemGroup> <ItemGroup>
<None Include="..\res\en_GB.po" /> <None Include="res\en_GB.po" />
</ItemGroup> </ItemGroup>
<PropertyGroup Label="Globals"> <PropertyGroup Label="Globals">
<ProjectGuid>{8552EE55-177E-4F51-B51B-BAF7D6462CDE}</ProjectGuid> <ProjectGuid>{8552EE55-177E-4F51-B51B-BAF7D6462CDE}</ProjectGuid>
<Keyword>Win32Proj</Keyword> <Keyword>Win32Proj</Keyword>
<RootNamespace>AMSICALib</RootNamespace> <RootNamespace>MSICALib</RootNamespace>
<ProjectName>AMSICALib</ProjectName> <ProjectName>MSICALib</ProjectName>
</PropertyGroup> </PropertyGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" /> <Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration"> <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">
@ -68,37 +68,29 @@
<ImportGroup Label="ExtensionSettings"> <ImportGroup Label="ExtensionSettings">
<Import Project="$(VCTargetsPath)\BuildCustomizations\rcxgettext.props" /> <Import Project="$(VCTargetsPath)\BuildCustomizations\rcxgettext.props" />
</ImportGroup> </ImportGroup>
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'"> <ImportGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="PropertySheets">
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" /> <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
<Import Project="$(VCInstallDir)VCProjectDefaults\Amebis.props" /> <Import Project="..\include\common.props" />
<Import Project="$(VCInstallDir)VCProjectDefaults\AmebisDebug.props" /> <Import Project="..\include\Win32.props" />
<Import Project="$(VCInstallDir)VCProjectDefaults\AmebisWin32.props" /> <Import Project="..\include\Release.props" />
<Import Project="$(VCInstallDir)VCProjectDefaults\AmebisLib.props" />
<Import Project="AMSICA.props" />
</ImportGroup> </ImportGroup>
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Debug|x64'"> <ImportGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="PropertySheets">
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" /> <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
<Import Project="$(VCInstallDir)VCProjectDefaults\Amebis.props" /> <Import Project="..\include\common.props" />
<Import Project="$(VCInstallDir)VCProjectDefaults\AmebisDebug.props" /> <Import Project="..\include\Win32.props" />
<Import Project="$(VCInstallDir)VCProjectDefaults\Amebisx64.props" /> <Import Project="..\include\Debug.props" />
<Import Project="$(VCInstallDir)VCProjectDefaults\AmebisLib.props" />
<Import Project="AMSICA.props" />
</ImportGroup> </ImportGroup>
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Release|Win32'"> <ImportGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="PropertySheets">
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" /> <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
<Import Project="$(VCInstallDir)VCProjectDefaults\Amebis.props" /> <Import Project="..\include\common.props" />
<Import Project="$(VCInstallDir)VCProjectDefaults\AmebisRelease.props" /> <Import Project="..\include\x64.props" />
<Import Project="$(VCInstallDir)VCProjectDefaults\AmebisWin32.props" /> <Import Project="..\include\Release.props" />
<Import Project="$(VCInstallDir)VCProjectDefaults\AmebisLib.props" />
<Import Project="AMSICA.props" />
</ImportGroup> </ImportGroup>
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Release|x64'"> <ImportGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="PropertySheets">
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" /> <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
<Import Project="$(VCInstallDir)VCProjectDefaults\Amebis.props" /> <Import Project="..\include\common.props" />
<Import Project="$(VCInstallDir)VCProjectDefaults\AmebisRelease.props" /> <Import Project="..\include\x64.props" />
<Import Project="$(VCInstallDir)VCProjectDefaults\Amebisx64.props" /> <Import Project="..\include\Debug.props" />
<Import Project="$(VCInstallDir)VCProjectDefaults\AmebisLib.props" />
<Import Project="AMSICA.props" />
</ImportGroup> </ImportGroup>
<PropertyGroup Label="UserMacros" /> <PropertyGroup Label="UserMacros" />
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'"> <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">

View File

@ -15,32 +15,32 @@
</Filter> </Filter>
</ItemGroup> </ItemGroup>
<ItemGroup> <ItemGroup>
<ClCompile Include="..\src\AMSICA.cpp"> <ClCompile Include="MSICALib.cpp">
<Filter>Source Files</Filter> <Filter>Source Files</Filter>
</ClCompile> </ClCompile>
<ClCompile Include="..\src\AMSICAFileOp.cpp"> <ClCompile Include="FileOp.cpp">
<Filter>Source Files</Filter> <Filter>Source Files</Filter>
</ClCompile> </ClCompile>
<ClCompile Include="..\src\AMSICATSOp.cpp"> <ClCompile Include="TSOp.cpp">
<Filter>Source Files</Filter> <Filter>Source Files</Filter>
</ClCompile> </ClCompile>
<ClCompile Include="..\src\StdAfx.cpp"> <ClCompile Include="stdafx.cpp">
<Filter>Source Files</Filter> <Filter>Source Files</Filter>
</ClCompile> </ClCompile>
<ClCompile Include="..\src\MSICARegOp.cpp"> <ClCompile Include="RegOp.cpp">
<Filter>Source Files</Filter> <Filter>Source Files</Filter>
</ClCompile> </ClCompile>
</ItemGroup> </ItemGroup>
<ItemGroup> <ItemGroup>
<ClInclude Include="..\include\AMSICA.h"> <ClInclude Include="MSICALib.h">
<Filter>Header Files</Filter> <Filter>Header Files</Filter>
</ClInclude> </ClInclude>
<ClInclude Include="..\include\StdAfx.h"> <ClInclude Include="stdafx.h">
<Filter>Header Files</Filter> <Filter>Header Files</Filter>
</ClInclude> </ClInclude>
</ItemGroup> </ItemGroup>
<ItemGroup> <ItemGroup>
<None Include="..\res\en_GB.po"> <None Include="res\en_GB.po">
<Filter>Resource Files</Filter> <Filter>Resource Files</Filter>
</None> </None>
</ItemGroup> </ItemGroup>

View File

@ -1,7 +1,7 @@
#include "StdAfx.h" #include "stdafx.h"
namespace AMSICA { namespace MSICA {
//////////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////////////
@ -721,4 +721,4 @@ HRESULT COpRegValueDelete::Execute(CSession *pSession)
} }
} }
} // namespace AMSICA } // namespace MSICA

View File

@ -1,10 +1,10 @@
#include "StdAfx.h" #include "stdafx.h"
#pragma comment(lib, "mstask.lib") #pragma comment(lib, "mstask.lib")
#pragma comment(lib, "taskschd.lib") #pragma comment(lib, "taskschd.lib")
namespace AMSICA { namespace MSICA {
//////////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////////////
// COpTaskCreate // COpTaskCreate
@ -1035,4 +1035,4 @@ finish:
return hr; return hr;
} }
} // namespace AMSICA } // namespace MSICA

1
MSICALib/stdafx.cpp Normal file
View File

@ -0,0 +1 @@
#include "stdafx.h"

View File

@ -1,4 +1,4 @@
// StdAfx.h : include file for standard system include files, // stdafx.h : include file for standard system include files,
// or project specific include files that are used frequently, // or project specific include files that are used frequently,
// but are changed infrequently // but are changed infrequently
@ -19,9 +19,6 @@
#define VC_EXTRALEAN // Exclude rarely-used stuff from Windows headers #define VC_EXTRALEAN // Exclude rarely-used stuff from Windows headers
#define _WIN32_WINNT 0x0501 // Include Windows XP symbols #define _WIN32_WINNT 0x0501 // Include Windows XP symbols
#define _WINSOCKAPI_ // Prevent inclusion of winsock.h in windows.h #define _WINSOCKAPI_ // Prevent inclusion of winsock.h in windows.h
#ifdef _WINDLL
#define AMSICA_DLL // This is a DLL
#endif
//#define _ATL_APARTMENT_THREADED //#define _ATL_APARTMENT_THREADED
//#define _ATL_NO_AUTOMATIC_NAMESPACE //#define _ATL_NO_AUTOMATIC_NAMESPACE
//#define _ATL_CSTRING_EXPLICIT_CONSTRUCTORS // Some CString constructors will be explicit //#define _ATL_CSTRING_EXPLICIT_CONSTRUCTORS // Some CString constructors will be explicit
@ -30,11 +27,9 @@
#include <atlfile.h> #include <atlfile.h>
#include <atlstr.h> #include <atlstr.h>
#include "BuildNum.h"
#include "AMSICA.h"
#include <msi.h> #include <msi.h>
#include <msiquery.h> #include <msiquery.h>
#include <mstask.h> #include <mstask.h>
#include <taskschd.h> #include <taskschd.h>
#include "MSICALib.h"

26
include/Debug.props Normal file
View File

@ -0,0 +1,26 @@
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<ImportGroup Label="PropertySheets" />
<PropertyGroup Label="UserMacros" />
<PropertyGroup>
<_PropertySheetDisplayName>MSICA Debug</_PropertySheetDisplayName>
</PropertyGroup>
<ItemDefinitionGroup>
<ClCompile>
<Optimization>Disabled</Optimization>
<PreprocessorDefinitions>_DEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<RuntimeLibrary>MultiThreadedDebugDLL</RuntimeLibrary>
<BasicRuntimeChecks>EnableFastChecks</BasicRuntimeChecks>
<SmallerTypeCheck>true</SmallerTypeCheck>
</ClCompile>
<ResourceCompile>
<PreprocessorDefinitions>_DEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
</ResourceCompile>
</ItemDefinitionGroup>
<ItemGroup />
<Target Name="Sign" Condition="'$(ManifestCertificateThumbprint)' != '' and ('$(ConfigurationType)' == 'Application' or '$(ConfigurationType)' == 'DynamicLibrary')" AfterTargets="_Manifest" BeforeTargets="RegisterOutput" Inputs="$(OutDir)$(TargetName)$(TargetExt)" Outputs="$(IntDir)$(TargetName).sign">
<Message Text="Signing output file..." />
<SignFile CertificateThumbprint="$(ManifestCertificateThumbprint)" SigningTarget="$(OutDir)$(TargetName)$(TargetExt)" />
<Touch Files="$(IntDir)$(TargetName).sign" AlwaysCreate="true" />
</Target>
</Project>

49
include/Release.props Normal file
View File

@ -0,0 +1,49 @@
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<ImportGroup Label="PropertySheets" />
<PropertyGroup Label="UserMacros" />
<PropertyGroup>
<_PropertySheetDisplayName>MSICA Release</_PropertySheetDisplayName>
</PropertyGroup>
<ItemDefinitionGroup>
<ClCompile>
<Optimization>Full</Optimization>
</ClCompile>
</ItemDefinitionGroup>
<ItemDefinitionGroup>
<ClCompile>
<InlineFunctionExpansion>OnlyExplicitInline</InlineFunctionExpansion>
</ClCompile>
</ItemDefinitionGroup>
<ItemDefinitionGroup>
<ClCompile>
<IntrinsicFunctions>true</IntrinsicFunctions>
</ClCompile>
</ItemDefinitionGroup>
<ItemDefinitionGroup>
<ClCompile>
<FavorSizeOrSpeed>Speed</FavorSizeOrSpeed>
</ClCompile>
</ItemDefinitionGroup>
<ItemDefinitionGroup>
<ClCompile>
<OmitFramePointers>true</OmitFramePointers>
</ClCompile>
</ItemDefinitionGroup>
<ItemDefinitionGroup>
<ClCompile>
<EnableFiberSafeOptimizations>true</EnableFiberSafeOptimizations>
<PreprocessorDefinitions>NDEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<RuntimeLibrary>MultiThreadedDLL</RuntimeLibrary>
</ClCompile>
<ResourceCompile>
<PreprocessorDefinitions>NDEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
</ResourceCompile>
</ItemDefinitionGroup>
<ItemGroup />
<Target Name="Sign" Condition="'$(ManifestCertificateThumbprint)' != '' and ('$(ConfigurationType)' == 'Application' or '$(ConfigurationType)' == 'DynamicLibrary')" AfterTargets="_Manifest" BeforeTargets="RegisterOutput" Inputs="$(OutDir)$(TargetName)$(TargetExt)" Outputs="$(IntDir)$(TargetName).sign">
<Message Text="Signing output file..." />
<SignFile CertificateThumbprint="$(ManifestCertificateThumbprint)" TimestampUrl="$(ManifestTimestampUrl)" SigningTarget="$(OutDir)$(TargetName)$(TargetExt)" />
<Touch Files="$(IntDir)$(TargetName).sign" AlwaysCreate="true" />
</Target>
</Project>

18
include/Win32.props Normal file
View File

@ -0,0 +1,18 @@
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<ImportGroup Label="PropertySheets" />
<PropertyGroup Label="UserMacros" />
<PropertyGroup>
<_PropertySheetDisplayName>MSICA Win32</_PropertySheetDisplayName>
</PropertyGroup>
<ItemDefinitionGroup>
<Lib>
<TargetMachine>MachineX86</TargetMachine>
</Lib>
<Link>
<SubSystem>Windows</SubSystem>
<TargetMachine>MachineX86</TargetMachine>
</Link>
</ItemDefinitionGroup>
<ItemGroup />
</Project>

26
include/common.props Normal file
View File

@ -0,0 +1,26 @@
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<ImportGroup Label="PropertySheets" />
<PropertyGroup Label="UserMacros" />
<PropertyGroup>
<IntDir>temp\$(ProjectName).$(Platform).$(Configuration)\</IntDir>
<_PropertySheetDisplayName>MSICA Common</_PropertySheetDisplayName>
<OutDir>temp\$(ProjectName).$(Platform).$(Configuration)\</OutDir>
</PropertyGroup>
<ItemDefinitionGroup>
<ClCompile>
<WarningLevel>Level3</WarningLevel>
<PreprocessorDefinitions>WIN32;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<PrecompiledHeader>Use</PrecompiledHeader>
<PrecompiledHeaderFile>stdafx.h</PrecompiledHeaderFile>
<DebugInformationFormat>ProgramDatabase</DebugInformationFormat>
<StringPooling>true</StringPooling>
</ClCompile>
<Link>
<OptimizeReferences>true</OptimizeReferences>
<EnableCOMDATFolding>true</EnableCOMDATFolding>
<GenerateDebugInformation>true</GenerateDebugInformation>
</Link>
</ItemDefinitionGroup>
<ItemGroup />
</Project>

18
include/x64.props Normal file
View File

@ -0,0 +1,18 @@
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<ImportGroup Label="PropertySheets" />
<PropertyGroup Label="UserMacros" />
<PropertyGroup>
<_PropertySheetDisplayName>MSICA x64</_PropertySheetDisplayName>
</PropertyGroup>
<ItemDefinitionGroup>
<Lib>
<TargetMachine>MachineX64</TargetMachine>
</Lib>
<Link>
<SubSystem>Windows</SubSystem>
<TargetMachine>MachineX64</TargetMachine>
</Link>
</ItemDefinitionGroup>
<ItemGroup />
</Project>