File: variables.wxi

package info (click to toggle)
sqlitebrowser 3.13.1-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 23,472 kB
  • sloc: cpp: 117,707; ansic: 2,143; yacc: 798; lex: 262; sh: 126; xml: 65; python: 27; makefile: 5
file content (68 lines) | stat: -rw-r--r-- 3,876 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
<?xml version="1.0" encoding="utf-8"?>
<Include xmlns="http://schemas.microsoft.com/wix/2006/wi">

    <?define Name="DB Browser for SQLite" ?>
    <?define Team="$(var.Name) Team" ?>
    <?define Version="3.13.1" ?>

    <!--
    =============================================== Add/Remove Programs ================================================
    https://www.firegiant.com/wix/tutorial/com-expression-syntax-miscellanea/add-or-remove-programs-entries/
    
    In the Programs and Features Control Panel tool, the application can have various entries like contact information.
    -->

    <?define AppIcon="..\..\src\iconwin.ico" ?>
    <?define AppComments="$(var.Name) is a high quality, visual, open source tool to create, design, and edit database files compatible with SQLite." ?>
    <?define AppContact="db4s-dev@sqlitebrowser.org" ?>
    <?define AppReadme="https://github.com/sqlitebrowser/sqlitebrowser" ?>
    <?define AppHelpLink="https://github.com/sqlitebrowser/sqlitebrowser/wiki" ?>
    <?define AppSupportLink="https://github.com/sqlitebrowser/sqlitebrowser/issues" ?>
    <?define AppUpdateInfoLink="https://github.com/sqlitebrowser/sqlitebrowser/releases" ?>

    <!--
    ================================================== Visual C++ CRT ==================================================
    http://wixtoolset.org/documentation/manual/v3/howtos/redistributables_and_install_checks/install_vcredist.html

    To use the application, we must also deploy the files that are required to support it. To deploy redistributable
    Visual C++ files, we were using the Visual C++ Redistributable Package (VCRedist_x86.exe or VCRedist_x64.exe) and
    silently installing it at the end of the installation. Unfortunately, this package is a self-extracting MSI.
    A Windows Installer mutex will prevent us from installing this package from within our application MSI.

    Another option is to use redistributable merge modules (.msm files). Merge modules enables the installation of
    redistributable Visual C++ DLLs into the "%SYSTEMROOT%\system32\" folder.

    VCRedistPath
        The Visual C++ runtime merge modules are installed with Visual Studio and are located in this directory.
    VCRedistFile
        The Visual C++ runtime file. This file is usually named "Microsoft_[VERSION]_CRT_[ARCH].msm". "VERSION" is the
        Visual Studio version the application is built with. Use VC141 (version 14.1) if the application is built with
        Visual Studio 2017. The build "ARCH" will be set automatically.
    -->

    <?define VCRedistPath="C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Redist\MSVC\14.16.27012\MergeModules" ?>
    <?define VCRedistFile="Microsoft_VC141_CRT_$(sys.BUILDARCH).msm" ?>

    <!--
    =================================================== Build System ===================================================

    Paths for the various libraries the application needs to compile. Change these to match the build machine.
    -->

    <?if $(sys.BUILDARCH)="x64"?>
        <?define QtPath="C:\dev\Qt\5.12.12\msvc2017_64" ?>
        <?define SQLitePath="C:\dev\SQLite-Win64" ?>
        <?define SQLCipherPath="C:\git_repos\SQLCipher-Win64" ?>
        <?define OpenSSLPath="C:\dev\OpenSSL-Win64" ?>
        <?define SQLiteExePath="C:\builds\release-sqlite-win64\Release" ?>
        <?define SQLCipherExePath="C:\builds\release-sqlcipher-win64\Release" ?>
    <?elseif $(sys.BUILDARCH)="x86"?>
        <?define QtPath="C:\dev\Qt\5.12.12\msvc2017" ?>
        <?define SQLitePath="C:\dev\SQLite-Win32" ?>
        <?define SQLCipherPath="C:\git_repos\SQLCipher-Win32" ?>
        <?define OpenSSLPath="C:\dev\OpenSSL-Win32" ?>
        <?define SQLiteExePath="C:\builds\release-sqlite-win32\Release" ?>
        <?define SQLCipherExePath="C:\builds\release-sqlcipher-win32\Release" ?>
    <?endif?>

</Include>