Git Product home page Git Product logo

gpii-wix-installer's Introduction

GPII Windows installer

WiX based Windows installer for GPII

Building

This code is pulled and executed from GPII/gpii-app's Installer.ps1 provisioning script and can be called manually, but the latter is only for people that are familiar to this code.

Requirements

Make sure MSBuild and the WiX folder are in the path.

Staging

The staging folder is where the content is going to be placed before building the installer.

After running setup.msbuild, an MSI file can be found in the output folder.

Unattended installation

The installer is a standard MSI file and as such it can be also executed using msiexec.exe and supports all the command-line options available to msiexec.exe.

To perform an unattended installation (requires administrative rights):

msiexec /qn /i GPII.msi

To perform an unattended installation and keep a verbose log to log.txt:

msiexec /qn /lv log.txt /i GPII.msi

To silently uninstall:

msiexec /qn /x GPII.msi

Customizing

You can pass a number of property key/values to the installer to customize its behavior.
For example, to perform an unattended installation to C:\GPII:

msiexec /qn /i GPII.msi INSTALLFOLDER=C:\GPII

To perform an unattended installation to C:\GPII that creates no desktop shortcuts:

msiexec /qn /i GPII.msi INSTALLFOLDER=C:\GPII ADDLOCAL=GPIIFeature,VCRedist DESKTOP_SHORTCUTS=0

The list of possible properties include:

Name Value Description
INSTALLFOLDER A folder name

Default: C:\Program Files\GPII or C:\Program Files (x86)\GPII
The installation folder
ADDLOCAL Comma (,) separated list
</br/>Possible values:
  • GPIIFeature
  • VCRedist
  • ALL (Default)
The GPII features that will get installed.

It is advisable to always include GPIIFeature (the main GPII platform) and VCRedist (the Visual C++ Redistributable Package).
SHORTCUTS 0 or 1 (Default) Whether or not to create any desktop and start menu shortcuts
DESKTOP_SHORTCUTS 0 or 1 (Default) Whether or not to create any desktop shortcuts
START_MENU_SHORTCUTS 0 or 1 (Default) Whether or not to create any start menu shortcuts
GPII_SHORTCUTS
GPII_DESKTOP_SHORTCUTS
GPII_START_MENU_SHORTCUTS
0 or 1 (Default) Whether or not to create shortcuts for the main GPII platform

An exhaustive list of other properties can be found at the Windows Installer Guide.

gpii-wix-installer's People

Contributors

gloob avatar javihernandez avatar minogian avatar sgithens avatar stegru avatar thanos21 avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.