Commit ae22b8ec authored by Jake Oandasan's avatar Jake Oandasan

Single installer access database

parents
#For the meantime
IT\ MAX\ DB\ Setup/Resources/*
Application/Resources/*
## Ignore Visual Studio temporary files, build results, and
## files generated by popular Visual Studio add-ons.
.DS_Store
# User-specific files
*.suo
*.user
*.userosscache
*.sln.docstates
# User-specific files (MonoDevelop/Xamarin Studio)
*.userprefs
# Build results
[Dd]ebug/
[Dd]ebugPublic/
[Rr]elease/
[Rr]eleases/
x64/
x86/
bld/
[Bb]in/
[Oo]bj/
[Ll]og/
# Visual Studio 2015 cache/options directory
.vs/
# Uncomment if you have tasks that create the project's static files in wwwroot
#wwwroot/
# MSTest test Results
[Tt]est[Rr]esult*/
[Bb]uild[Ll]og.*
# NUNIT
*.VisualState.xml
TestResult.xml
# Build Results of an ATL Project
[Dd]ebugPS/
[Rr]eleasePS/
dlldata.c
# DNX
project.lock.json
project.fragment.lock.json
artifacts/
*_i.c
*_p.c
*_i.h
*.ilk
*.meta
*.obj
*.pch
*.pdb
*.pgc
*.pgd
*.rsp
*.sbr
*.tlb
*.tli
*.tlh
*.tmp
*.tmp_proj
*.log
*.vspscc
*.vssscc
.builds
*.pidb
*.svclog
*.scc
# Chutzpah Test files
_Chutzpah*
# Visual C++ cache files
ipch/
*.aps
*.ncb
*.opendb
*.opensdf
*.sdf
*.cachefile
*.VC.db
*.VC.VC.opendb
# Visual Studio profiler
*.psess
*.vsp
*.vspx
*.sap
# TFS 2012 Local Workspace
$tf/
# Guidance Automation Toolkit
*.gpState
# ReSharper is a .NET coding add-in
_ReSharper*/
*.[Rr]e[Ss]harper
*.DotSettings.user
# JustCode is a .NET coding add-in
.JustCode
# TeamCity is a build add-in
_TeamCity*
# DotCover is a Code Coverage Tool
*.dotCover
# NCrunch
_NCrunch_*
.*crunch*.local.xml
nCrunchTemp_*
# MightyMoose
*.mm.*
AutoTest.Net/
# Web workbench (sass)
.sass-cache/
# Installshield output folder
[Ee]xpress/
# DocProject is a documentation generator add-in
DocProject/buildhelp/
DocProject/Help/*.HxT
DocProject/Help/*.HxC
DocProject/Help/*.hhc
DocProject/Help/*.hhk
DocProject/Help/*.hhp
DocProject/Help/Html2
DocProject/Help/html
# Click-Once directory
publish/
# Publish Web Output
*.[Pp]ublish.xml
*.azurePubxml
# TODO: Comment the next line if you want to checkin your web deploy settings
# but database connection strings (with potential passwords) will be unencrypted
#*.pubxml
*.publishproj
# Microsoft Azure Web App publish settings. Comment the next line if you want to
# checkin your Azure Web App publish settings, but sensitive information contained
# in these scripts will be unencrypted
PublishScripts/
# NuGet Packages
#*.nupkg
# The packages folder can be ignored because of Package Restore
#**/packages/*
# except build/, which is used as an MSBuild target.
#!**/packages/build/
# Uncomment if necessary however generally it will be regenerated when needed
#!**/packages/repositories.config
# NuGet v3's project.json files produces more ignoreable files
#*.nuget.props
#*.nuget.targets
# Microsoft Azure Build Output
csx/
*.build.csdef
# Microsoft Azure Emulator
ecf/
rcf/
# Windows Store app package directories and files
AppPackages/
BundleArtifacts/
Package.StoreAssociation.xml
_pkginfo.txt
# Visual Studio cache files
# files ending in .cache can be ignored
*.[Cc]ache
# but keep track of directories ending in .cache
!*.[Cc]ache/
# Others
ClientBin/
~$*
*~
*.dbmdl
*.dbproj.schemaview
*.jfm
*.publishsettings
node_modules/
orleans.codegen.cs
# Since there are multiple workflows, uncomment next line to ignore bower_components
# (https://github.com/github/gitignore/pull/1529#issuecomment-104372622)
#bower_components/
# RIA/Silverlight projects
Generated_Code/
# Backup & report files from converting an old project file
# to a newer Visual Studio version. Backup files are not needed,
# because we have git ;-)
_UpgradeReport_Files/
Backup*/
UpgradeLog*.XML
UpgradeLog*.htm
# SQL Server files
*.mdf
*.ldf
# Business Intelligence projects
*.rdl.data
*.bim.layout
*.bim_*.settings
# Microsoft Fakes
FakesAssemblies/
# GhostDoc plugin setting file
*.GhostDoc.xml
# Node.js Tools for Visual Studio
.ntvs_analysis.dat
# Visual Studio 6 build log
*.plg
# Visual Studio 6 workspace options file
*.opt
# Visual Studio LightSwitch build output
**/*.HTMLClient/GeneratedArtifacts
**/*.DesktopClient/GeneratedArtifacts
**/*.DesktopClient/ModelManifest.xml
**/*.Server/GeneratedArtifacts
**/*.Server/ModelManifest.xml
_Pvt_Extensions
# Paket dependency manager
.paket/paket.exe
paket-files/
# FAKE - F# Make
.fake/
# JetBrains Rider
.idea/
*.sln.iml
# CodeRush
.cr/
# Python Tools for Visual Studio (PTVS)
__pycache__/
*.pyc
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="4.0" DefaultTargets="Build" InitialTargets="EnsureWixToolsetInstalled" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup>
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
<Platform Condition=" '$(Platform)' == '' ">x86</Platform>
<ProductVersion>3.10</ProductVersion>
<ProjectGuid>706add1a-15b5-464d-afdd-cd1d58039ab0</ProjectGuid>
<SchemaVersion>2.0</SchemaVersion>
<OutputName>IT MAX DB</OutputName>
<OutputType>Package</OutputType>
</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="Product.wxs" />
</ItemGroup>
<ItemGroup>
<Folder Include="Resources" />
</ItemGroup>
<ItemGroup>
<Content Include="Resources\bcscrm5.mdb" />
<Content Include="Resources\MSWINSCK.OCX" />
<Content Include="Resources\vbSendMail.dll" />
</ItemGroup>
<ItemGroup>
<WixExtension Include="WixUtilExtension">
<HintPath>$(WixExtDir)\WixUtilExtension.dll</HintPath>
<Name>WixUtilExtension</Name>
</WixExtension>
</ItemGroup>
<Import Project="$(WixTargetsPath)" Condition=" '$(WixTargetsPath)' != '' " />
<Import Project="$(MSBuildExtensionsPath32)\Microsoft\WiX\v3.x\Wix.targets" Condition=" '$(WixTargetsPath)' == '' AND Exists('$(MSBuildExtensionsPath32)\Microsoft\WiX\v3.x\Wix.targets') " />
<Target Name="EnsureWixToolsetInstalled" Condition=" '$(WixTargetsImported)' != 'true' ">
<Error Text="The WiX Toolset v3.11 (or newer) build tools must be installed to build this project. To download the WiX Toolset, see http://wixtoolset.org/releases/" />
</Target>
<!--
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>
\ No newline at end of file
<?xml version="1.0" encoding="UTF-8"?>
<Wix xmlns="http://schemas.microsoft.com/wix/2006/wi"
xmlns:util="http://schemas.microsoft.com/wix/UtilExtension">
<Product Id="*" Name="IT MAX DB" Language="1033" Version="1.0.0.0" Manufacturer="IT MAX" UpgradeCode="189d70a7-d3d5-4708-986b-36ce664a1bf2">
<Package InstallerVersion="200" Compressed="yes" InstallScope="perMachine" Platform="x86"/>
<MajorUpgrade AllowDowngrades="yes" />
<MediaTemplate EmbedCab="yes"/>
<Feature Id="ProductFeature" Title="IT MAX DB" Level="1">
<ComponentGroupRef Id="ProductComponents" />
<ComponentRef Id="INSTALLFOLDER_Permission" />
</Feature>
</Product>
<Fragment>
<!-- DECLARE THE DIRECTORY STRUCTURE -->
<Directory Id="TARGETDIR" Name="SourceDir">
<Directory Id="ProgramFilesFolder">
<Directory Id="INSTALLFOLDER" Name="IT MAX DB">
</Directory>
</Directory>
</Directory>
<!-- SET DIRECTORY PERMISSION -->
<DirectoryRef Id="INSTALLFOLDER">
<Component Id="INSTALLFOLDER_Permission" Guid="44cb114b-9f91-439f-9f4c-3fd0d36b6adf" Win64="no">
<CreateFolder>
<util:PermissionEx User="Users" GenericAll="yes" />
</CreateFolder>
</Component>
</DirectoryRef>
</Fragment>
<!-- DECLARE THE COMPONENTS TO BE INSTALLED -->
<Fragment>
<ComponentGroup Id="ProductComponents" Directory="INSTALLFOLDER">
<Component Id="bcscrm5.mdb" Guid="54bdb556-82a7-4b0c-8214-39445f399639" Win64="no">
<File Id="bcscrm5.mdb" Name="bcscrm5.mdb" Source="Resources\bcscrm5.mdb"/>
</Component>
<Component Id="vbSendMail.dll" Guid="d5c58ff4-5be2-45a7-8d95-b48842e4acf0" Win64="no">
<File Id="vbSendMail.dll" Name="vbSendMail.dll" Source="Resources\vbSendMail.dll"/>
</Component>
<Component Id="MSWINSCK.OCX" Guid="6fc520df-6b30-4aef-acea-7f9076dc802d" Win64="no">
<File Id="MSWINSCK.OCX" Name="MSWINSCK.OCX" Source="Resources\MSWINSCK.OCX"/>
</Component>
</ComponentGroup>
</Fragment>
</Wix>

Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio 15
VisualStudioVersion = 15.0.28307.960
MinimumVisualStudioVersion = 10.0.40219.1
Project("{930C7802-8A8C-48F9-8165-68863BCCD9DD}") = "IT MAX DB Setup", "IT MAX DB Setup\IT MAX DB Setup.wixproj", "{3DA729EB-467E-4D86-87B6-9930877F09A1}"
ProjectSection(ProjectDependencies) = postProject
{706ADD1A-15B5-464D-AFDD-CD1D58039AB0} = {706ADD1A-15B5-464D-AFDD-CD1D58039AB0}
EndProjectSection
EndProject
Project("{930C7802-8A8C-48F9-8165-68863BCCD9DD}") = "Application", "Application\Application.wixproj", "{706ADD1A-15B5-464D-AFDD-CD1D58039AB0}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|x86 = Debug|x86
Release|x86 = Release|x86
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
{3DA729EB-467E-4D86-87B6-9930877F09A1}.Debug|x86.ActiveCfg = Debug|x86
{3DA729EB-467E-4D86-87B6-9930877F09A1}.Debug|x86.Build.0 = Debug|x86
{3DA729EB-467E-4D86-87B6-9930877F09A1}.Release|x86.ActiveCfg = Release|x86
{3DA729EB-467E-4D86-87B6-9930877F09A1}.Release|x86.Build.0 = Release|x86
{706ADD1A-15B5-464D-AFDD-CD1D58039AB0}.Debug|x86.ActiveCfg = Debug|x86
{706ADD1A-15B5-464D-AFDD-CD1D58039AB0}.Debug|x86.Build.0 = Debug|x86
{706ADD1A-15B5-464D-AFDD-CD1D58039AB0}.Release|x86.ActiveCfg = Release|x86
{706ADD1A-15B5-464D-AFDD-CD1D58039AB0}.Release|x86.Build.0 = Release|x86
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
EndGlobalSection
GlobalSection(ExtensibilityGlobals) = postSolution
SolutionGuid = {73B0DFB6-19A7-432B-A620-273B64219222}
EndGlobalSection
EndGlobal
<?xml version="1.0" encoding="UTF-8"?>
<Wix xmlns="http://schemas.microsoft.com/wix/2006/wi"
xmlns:util="http://schemas.microsoft.com/wix/UtilExtension">
<Bundle Name="IT MAX DB Setup" Version="1.0.0.0" Manufacturer="IT MAX" UpgradeCode="3da729eb-467e-4d86-87b6-9930877f09a1">
<!-- SHOW AN EMPTY LICENSE -->
<BootstrapperApplicationRef Id="WixStandardBootstrapperApplication.HyperlinkLicense"/>
<WixVariable Id="WixStdbaLicenseUrl" Value=""/>
<!-- CHECK IF VISUAL C++ REDIST IS INSTALLED -->
<util:RegistrySearch Root="HKLM" Win64="yes" Key="SOFTWARE\Classes\Installer\Dependencies\Microsoft.VS.VC_RuntimeAdditionalVSU_x86,v12" Value="Version" Variable="VisualCPPRedistExists" />
<!-- CHECK MYSQL CONNECTOR IS INSTALLED -->
<util:RegistrySearch Root="HKLM" Win64="no" Key="SOFTWARE\ODBC\ODBCINST.INI\MySQL ODBC 5.3 ANSI Driver" Value="Driver" Variable="MySQLConnectorExists" />
<!-- CHECK IF ACCESS RUNTIME IS INSTALLED -->
<util:RegistrySearch Root="HKLM" Win64="yes" Key="SOFTWARE\Classes\Access.Application.11" Value="CLSID" Variable="AccessRuntimeExists" />
<Chain>
<!-- PREREQUISITE APPLICATIONS -->
<!-- VISUAL C++ REDIST -->
<ExePackage SourceFile="Resources\vcredist_x86.exe"
Id="Visual_C_plus_plus_Redistributable"
Name="Visual C++ Redistributable"
PerMachine="yes"
InstallCondition="NOT VisualCPPRedistExists"/>
<!-- MYSQL CONNECTOR -->
<MsiPackage SourceFile="Resources\mysql-connector-odbc-5.3.14-win32.msi"
Id="MySQL_Connector"
Name="MySQL Connector"
InstallCondition="NOT MySQLConnectorExists"/>
<!-- ACCESS RUNTIME -->
<MsiPackage SourceFile="Resources\ACCESSRT.MSI"
Id="Access_Runtime"
Name="Access Runtime"
InstallCondition="NOT AccessRuntimeExists"/>
<!-- OFFICE 2003 SP3 -->
<ExePackage SourceFile="Resources\Office2003SP3-KB923618-FullFile-DEU.exe"
Id="Office_2003_Service_Pack_3"
Name="Office 2003 Service Pack 3"
PerMachine="yes"/>
<!-- END PREREQUISITE APPLICATIONS -->
<!-- MAIN APPLICATION -->
<MsiPackage SourceFile="..\Application\bin\Debug\IT MAX DB.msi"
Id="IT_MAX_DB"
Name="IT MAX DB"/>
</Chain>
</Bundle>
</Wix>
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="4.0" DefaultTargets="Build" InitialTargets="EnsureWixToolsetInstalled" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup>
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
<Platform Condition=" '$(Platform)' == '' ">x86</Platform>
<ProductVersion>3.10</ProductVersion>
<ProjectGuid>3da729eb-467e-4d86-87b6-9930877f09a1</ProjectGuid>
<SchemaVersion>2.0</SchemaVersion>
<OutputName>IT MAX DB Setup</OutputName>
<OutputType>Bundle</OutputType>
<Name>IT MAX DB Setup</Name>
</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="WixUtilExtension">
<HintPath>$(WixExtDir)\WixUtilExtension.dll</HintPath>
<Name>WixUtilExtension</Name>
</WixExtension>
<WixExtension Include="WixBalExtension">
<HintPath>$(WixExtDir)\WixBalExtension.dll</HintPath>
<Name>WixBalExtension</Name>
</WixExtension>
</ItemGroup>
<ItemGroup>
<Folder Include="Resources" />
</ItemGroup>
<ItemGroup>
<Content Include="Resources\ACCESSRT.CAB" />
<Content Include="Resources\ACCESSRT.MSI" />
<Content Include="Resources\mysql-connector-odbc-5.3.14-win32.msi" />
<Content Include="Resources\Office2003SP3-KB923618-FullFile-DEU.exe" />
<Content Include="Resources\vcredist_x86.exe" />
</ItemGroup>
<Import Project="$(WixTargetsPath)" Condition=" '$(WixTargetsPath)' != '' " />
<Import Project="$(MSBuildExtensionsPath32)\Microsoft\WiX\v3.x\Wix.targets" Condition=" '$(WixTargetsPath)' == '' AND Exists('$(MSBuildExtensionsPath32)\Microsoft\WiX\v3.x\Wix.targets') " />
<Target Name="EnsureWixToolsetInstalled" Condition=" '$(WixTargetsImported)' != 'true' ">
<Error Text="The WiX Toolset v3.11 (or newer) build tools must be installed to build this project. To download the WiX Toolset, see http://wixtoolset.org/releases/" />
</Target>
<!--
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>
\ No newline at end of file
# 2020-01-20 access database
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment