Installing POS for .NET from Your Installer

Version 1.12 of the installer for POS for .NET is available for download here: https://www.microsoft.com/downloads/details.aspx?FamilyID=EAAE202A-0FCC-406A-8FDE-35713D7841CA&displaylang=en

 

The download from this website contains a self-extracting archive. Once the archive is downloaded and extracted, you will find the following content:

 

Setup.exe - This is the installer setup program for POS for .NET.

1033 - This folder contains language localization files for the setup.exe installer.

Documentation - This folder contains release notes used by the setup.exe installer.

POSFor.NET - This folder contains the POSfor.NET.msi and related files used by the setup.exe installer.

Res – This folder contains resources used by the setup.exe installer.

VCRuntime – This folder contains the installer for the Visual C runtime.

 

If you would like to install POS for .NET on your local system, simply use the Setup.exe program to perform the installation. When you run the installer, you will be presented with a number of installation options:

 

      Typical – Installs the POS for .NET runtime components and the PosDM command line tool

      Complete – Installs POS all components (runtime, PosDM, and SDK)

      SDK – This installs the SDK documentation and sample code

 

The installer can also be used from the command line or to perform silent installs from within your own installer. To see a list of available options, run the setup.exe with the /? option from the command line. The most commonly used options include:

 

      /ADDLOCAL [feature list or “ALL”] – silent install of the specified features

      /REMOVE [feature list or “ALL”] – uninstall the specified features

      /REPAIR [feature list or “ALL”] – silent repair of an installation.

 

The “/ADDLOCAL” feature will add the components specified (if they are not already installed) using a silent install. The feature list is a common separated list and may include one or more of the following options:

 

      Runtime – Indicate the POS for .NET runtime

      Posdm – Indicates PosDM management tools

      SDK – Indicates the SDK

      ALL – Specifies all of the above components

 

For example, to perform a typical installation one could invoke setup from within their own installation program with the following options:

     

      Setup.exe /ADDLOCAL Runtime,Posdm

 

 

Other MSI arguments (such as /s for silent install) may also be passed on the command line.

 

It is recommended that when installing POS for .NET from another installer to use the setup.exe instead of the MSI. This will ensure that all dependent components (such as the C runtime) are present. NOTE: When performing silent install, you should install the required components (Visual C Runtime, .NET Framework 2.0.50727) if they are not already installed.

 

 - Sylvester