QL-PAY 7 Build and Package Checklist

Purpose

Use these steps on the main build computer to produce the QL-PAY 7.6.1 installer package.

Files Updated for QL-PAY 7

- QLPayReWrite\ConfigurationInformation.cs
- QLPayReWrite\Properties\AssemblyInfo.cs
- CustomInstaller\ConfigurationInformation.cs
- CustomInstaller\MainApplicationContext.cs
- CustomInstaller\Properties\AssemblyInfo.cs
- DistributionFiles\installation.txt
- DistributionFiles\release.txt

Build Steps

1. Copy the updated files into the same relative paths on the build computer.
2. Open QLPayReWrite.sln in Visual Studio.
3. Set the solution configuration to Release.
4. Build QLPayReWrite.
5. Confirm the Release output folder contains QLPAY.exe plus its support files:
   QLPayReWrite\bin\Release

The Release output must include QLPAY.exe, QLPAY.exe.config, the EntityFramework DLLs, MigraDoc DLLs, PdfSharp DLLs, System.Data.SQLite DLLs, ZedGraph DLLs, x86 and x64 SQLite folders, and the XML6 folder if present.

Create QLPAYRELEASE.zip

1. Delete or replace the existing CustomInstaller\Resources\QLPAYRELEASE.zip.
2. Zip the contents of QLPayReWrite\bin\Release directly.

Important: the zip should contain QLPAY.exe at the root of the zip. It should not contain an extra top-level Release folder.

Correct:

QLPAYRELEASE.zip
  QLPAY.exe
  QLPAY.exe.config
  EntityFramework.dll
  x86\SQLite.Interop.dll
  x64\SQLite.Interop.dll
  XML6\qlpay.exe

Incorrect:

QLPAYRELEASE.zip
  Release\QLPAY.exe

Build the Installer

1. Build CustomInstaller in Release.
2. The installer embeds CustomInstaller\Resources\QLPAYRELEASE.zip.
3. The installer output is created under:
   CustomInstaller\bin\Release

Distribution Package

Package these files for the client:

- CustomInstaller.exe from CustomInstaller\bin\Release
- Any satellite resource folder generated beside it, such as en-US
- DistributionFiles\installation.txt
- DistributionFiles\release.txt

Do Not Use the Old QL-PAY 6 Package Layout

The old production zip used setup.bat, instQLPAY.exe, inau.exe, insu.exe, unAU.exe, unSU.exe, unQLPAY.exe, and an exeSrc folder. That was the QL-PAY 6 package layout.

QL-PAY 7 uses the CustomInstaller project and the embedded QLPAYRELEASE.zip payload instead.
