Sharperlight 6.0 Install Guide v2 - 8
Sharperlight 6.0 Install Guide v2 - 8
0
Install Guide
www.sharperlight.com
info@sharperlight.com
Sharperlight 6.0 Install Guide
Disclaimer: The information in this document remains the current view of Philight Software International Pty
Ltd and is subject to change without notice. This position is due to changing market conditions and should
not be interpreted as a commitment to the correct operation of any technology or product contained
herein.
This document is intended as information only and Philight Software International Pty Ltd makes no
warranties, express or implied as to the information in this document.
The copyright of this document and the computer software described herein and provided herewith are the
property of Philight Software International Pty Ltd. No part of this publication or the computer software
may be reproduced, transmitted, transcribed, stored in a retrieval system, or translated into any human or
computer language, in any form or by any means or otherwise used without the express written permission
of Philight Software International Pty Ltd.
Table of Contents
Part I Introduction 4
1 Getting
...................................................................................................................................
Started 5
2 Prerequisites
................................................................................................................................... 5
Part II Preparation 6
1 System
...................................................................................................................................
Database 7
2 SQL...................................................................................................................................
Server Authentication 8
3 Sharperlight
...................................................................................................................................
Service 9
4 Supported
...................................................................................................................................
Software 10
5 Hardware
...................................................................................................................................
Scaling 10
6 Command
...................................................................................................................................
Line 11
Part IV Configuration 26
1 Import
...................................................................................................................................
License 27
Part V Troubleshooting 29
1 Re-register
...................................................................................................................................
Excel Add-in 30
Index 31
I
Introduction 5
1 Introduction
Thank you for your interest in Sharperlight, this document explains the installation steps for
deploying Sharperlight onto a Windows desktop computer or application server.
For those unfamiliar with Sharperlight, it is a self-service analysis and reporting framework that can
seamlessly access multiple application systems at the same time. Users benefit from a simple query
interface that can be used to construct queries that can then be linked into Microsoft Excel® and/or
published to a web browser. Sharperlight uses a data abstraction layer, called a Datamodel, to
simplify and secure the user interaction with data sources.
1.2 Prerequisites
This release of Sharperlight 6.0 is developed with and relies on Microsoft .NET Framework 4.8. This
means the minimum operating system requirement for Sharperlight 6.0 is Windows 7 with Service
Pack 1 and Windows Server 2008 R2 SP1. Other operating systems can still access and utilise the
web content published by the Sharperlight Web Service because the web reports, charts and
dashboards can be viewed in most web browsers (without the need for additional plug-ins).
Sharperlight needs an instance of Microsoft SQL Server® to host a database that stores licensing and
user settings. Microsoft SQL Express is a free alternative to installing a licensed edition of Microsoft
SQL Server.
The Sharperlight Excel Add-in is compatible with Microsoft Excel 2007, 2010, 2013, 2016, 2019, 2021
and a local off-line install of Office 365. The Add-in will be automatically registered into Microsoft
Excel, during the installation process.
II
Preparation 7
2 Preparation
Installing Sharperlight on a client computer is relatively simple because after the installation, only
the remote connections in Client Setup need to be updated and the connectivity tested. Installing
Sharperlight on an application server requires some preparation because their are network and
database accounts to be confirmed and a System Database to be created.
A newly created System Database is an empty container waiting for the Sharperlight system tables.
These tables are created when the System Connection in Client Setup is validated using the Test
button. If the database is empty an Installation Required message will appear, prompting the user to
install the missing tables. Selecting the Yes button will run an installation script which creates the
system tables.
Installation Required
The System Database only has a few tables and will rarely grow bigger than 20 megabytes.
However, it still needs to be backed up on a regular basis and it is extremely unwise to install the
system tables in the database of another application. Keeping the system tables self-contained in a
System Database makes it easier to recover and Sharperlight needs full rights to this database
because the application and datamodels may need to create and update database artefacts.
Unfortunately, Database Server authentication is not always available with some installations of
SQL Server due to it being disabled or due to more rigid security requirements. If database access
has to be achieved using Windows authentication, then it is still relatively simple exercise but their
are a few challenges that administrators need to consider. Windows authenticated access to a SQL
Server database means the user or a Windows Group they are a member of, has to be added as a
SQL Server login, with rights to the source database.
Windows Authentication
If a user logged into a computer with Windows authenticated Local Connections and they tried to
open the Query Builder, then SQL Server uses their Windows authentication to validate their
database access. This is where it can get tricky because Windows authentication can give the user
access to Sharperlight but if they don't have query rights in SQL Server they will be blocked from
executing SQL queries.
Users don't normally directly access Local Connections to a SQL Server database, they should be
using a Remote Connections to a server hosting the Sharperlight data services. With the Remote
Connections the Windows authentication is completed on the server using the log on account that
started the Sharperlight Service. Windows Services default to using a Local System Account and it is
highly unlikely that this type of account will have access to SQL Server databases. Standard practice
for configuring the Sharperlight Service is to allocate a network account which would then need
database access if Windows authentication has been set on any of the SQL Server Local
Connections.
Item Description
Operating Systems
Microsoft Windows 7 Service Pack 1, Windows 2008 R2 SP1, Windows 8,
Windows 8.1, Windows 10, Windows 2012, Windows 2012 R2,
Windows Server 2016, Windows Server 2019 and Windows Server
2022
System Database Engine
Microsoft SQL Server 2005, SQL Server 2008, SQL Server 2008 R2, SQL Server
2012, SQL Server 2014, SQL Server 2016, SQL Server 2017, SQL
Server 2019 and SQL Server 2022
Microsoft Office for Excel Add-in
Microsoft Office 2007, Office 2010 (32/64 bit), Office 2013 (32/64 bit), Office
2016 (32/64 bit), Office 2019 (32/64 bit), Office 2021 (32/64bit)
and local off-line install of Office 365
heavily utilised because installing Sharperlight on a stressed computer will result in substandard
response times.
Virtualising hardware and deploying a virtual Sharperlight application server provides a flexible
environment where the number of processor cores and available RAM can be scaled. However, the
resourcing of the virtual machines should be reviewed on a regular basis to address performance
bottlenecks.
Item Description
Switches
/log Logs all the installer actions into a file. The filename should be
specified after the log switch.
/quiet Instructs the installer to not show any graphical interface during
the installation.
/passive This options displays a progress bar but no prompts or error
messages.
Features
XL Installs the Excel libraries and registers the Excel Add-in.
Server Installs the service runtime files and adds a Windows Service entry
for the Sharperlight Service.
Developer Adds menu shortcuts to the Studio and Foundry.
SchedShortCut Adds a menu shortcut to Scheduler.
Item Description
ExplorerShortCut Adds a menu shortcut to Explorer.
SiteSetupShortCut Adds a menu shortcut to Site Setup.
AppShortCut Adds a menu shortcut to the Application menu.
DMInstallerShortCut Adds a menu shortcut to the Datamodel Installer.
MQShortCut Adds a menu shortcut to Materialised Query.
RRShortCut Adds a menu shortcut to Report Rows.
StudioShortCut Adds a menu shortcut to the Studio.
FoundryShortCut Adds a menu shortcut to Foundry.
SolutionsShortCut Adds a menu shortcut to Solutions.
III
14 Sharperlight 6.0 Install Guide
3 Installation
When planning the installation of Sharperlight, consider how end-users will interact with its query
content. A client installation is only necessary if users are intending to create and maintain their
own queries, or they are planning to use the rich desktop client.
3.1 Checklist
This checklist covers the main installation and configuration actions that need to be completed at a
new site.
3.2 Steps
These instructions cover the main steps in installing and configuring Sharperlight.
The installation media for Sharperlight consists of MSI installer files in either 32bit or 64bit. The
64bit installer is only for a 64bit operating systems whilst the 32bit installer could be installed on a
64bit operating system but it is recommended that it is only used on 32bit operating systems. Each
pair of 64bit and 32bit installers are compiled one after the other, using the same source code and
with sequential builder numbers. The naming convention for Sharperlight installer files is the build
number and then a 32bit/64bit designator.
Installers
Manual Uninstall
Setup Wizard
Licence Agreement
Setup Type
The "Force the install..." checkbox at the bottom of the Setup Type window, allows the install to be
forced over the top of an existing Sharperlight installation. The primary purpose of this checkbox is
to allow upgrades from Sharperlight 4.1 to later releases, where for some reason the existing install
cannot be successfully uninstalled. Enabling the "Force the install..." checkbox will overwrite
existing files and registry keys, and subsequent upgrades will recognise the forced installation. The
use of this setting retains the existing Client Setup configuration and existing datamodels.
Custom Setup
The Query Engine, Server and Excel Add-in modules determine which files get installed in the
Sharperlight program directory. The core Query Engine is mandatory and all the features are
accessible from the same md.Application executable. Hence, all the features are available but the
program shortcuts may not be added to the Start Menu - Programs - Sharperlight menu.
Install
The installation is machine based where all users share the same application files and user settings.
To allow this scope, the user privileges will need to be elevated and an authorisation window for
User Account Control (UAC) will be displayed to confirm the software installation. If the current
user does not have the rights to install software then an alternative login and password will be
requested.
The UAC challenge window will not be displayed if User Account Control has been turned off on the
target computer. The install scope, per machine, means that the Start Menu program shortcuts will
be available to all users on the computer.
Setup Completed
Access to the Local Connections and Services settings in Client Setup are still possible with a Client
Only setup. There is a right hand mouse click menu on the tree with the option "Local Connections -
Show Configuration".
Datamodel Installer
Client Setup
Opening Client Setup will show all the local datamodels under Local Connections. The System
Connection is for the System Database where licensing, user settings and published queries are
stored. Read the topic Preparation - System Database to create the System Database and read
Preparation - SQL Server Authentication to understand the implications of Windows and Database
Server Authentication.
Many datamodels connect to relational databases and there connections details consist of the
Server Name, Database (Catalog), User Name and Password. Provide these details and use the Test
button to confirm a successful connection. Datamodels that are not currently in use, can be
disabled, by right hand mouse clicking on the datamodel name and using the Disable option. To save
the settings in the Client Setup window, use the OK button.
Remote Connections are not normally used on a server and should be disabled. To configure the
service on the server, select the first service template and review the Protocol, Port Number,
Service Code, Web Channel Port Number and Authentication. The default settings should work but
they may need to be tweaked to make them more consistent with the organisations network
policies and how Sharperlight will be secured.
There are three default service templates, only one can be used at any one time. The first enabled
template will be used and if all of them are disabled, then the top one will be used. Remember to
close the Client Setup window with the OK button to save configuration changes the services.
Manual Service
The Manual Service is for testing purposes and provides a service window of runtime information
that is not available when running the service as a Windows service. The Manual Service can be run
from the Service shortcut in the Start Menu - Programs - Sharperlight folder. It is recommended that
the Manual Service is used to confirm web server addresses and to see if firewalls are blocking the
operation of the service. After everything is working then move onto configuring the Sharperlight
Service.
Manual Service
Sharperlight Service
The Sharperlight Service is created as a Windows Service entry by the installer. This service is the
recommended method of providing remote access to the Sharperlight data services and web
services. The Sharperlight Service should have its start type set to automatic and thus, it will restart
if the server is rebooted. Read the topic Preparation - Sharperlight Service for assistance on
configuring the log on account.
Sharperlight Service
Site Setup
To open Site Setup, the user logging in must be an Administrator in Sharperlight. On a clean
installation of the System Database, the default administrator is named admin with no password.
From within Site Setup, license files can be loaded, global properties set, user and user groups define
and application security enforced. It is recommended that the software vendor or reseller is
involved in the licensing and configuration of Site Setup to ensure license compliance and to
properly secure the Sharperlight environment. Refer to the topic Configuration - Import License to
understand the steps in applying a new license.
IV
Configuration 27
4 Configuration
Site Setup and Client Setup are the two main configuration interfaces in Sharperlight. The Client
Setup window controls the connections to datamodels and the configuration of the Sharperlight
Service. Site Setup controls licensing, user security and it maintains settings that affect the
operation of each datamodel.
All the license forms in Site Setup look similar and some license forms may be left unlicensed
because the site is not utilising the functionality. On the license form there are two buttons, the
Clear button will wipe the existing license information whilst the Import License File button will
open a file navigation window for selecting a license file for import. Importing a new license will
completely wipe the existing settings and the Sharperlight Service has to be restarted for the new
license to be applied to remote and browser connections.
V
30 Sharperlight 6.0 Install Guide
5 Troubleshooting
5.1 Re-register Excel Add-in
The Sharperlight Excel Add-in loads into Microsoft Excel and makes the Query Builder available in
Excel to create query formulas. This Add-in must be registered in Microsoft Excel and when loaded
it will display a Sharperlight XL menu. Registration of the Excel Add-in is attempted during the
Sharperlight install, however the add-in can sometimes unload when Excel becomes unstable.
If the Sharperlight XL Add-in does dropped out of Excel, run the md.InstallExcelAddin.exe file
located in the Program Files\Philight\Sharperlight\bin or Program Files (x86)
\Philight\Sharperlight\bin, for 64bit and 32bit respectively. Make sure to close Microsoft Excel
before running the executable and then re-open Excel to confirm that the Sharperlight XL menu is
visible.
Index
-C-
Checklist 14
Command Line 11
-H-
Hardware Scaling 10
-I-
Import License 27
Installation 14
Authorisation 20
License Agreement 17
Manual Uninstall 16
Post Install 21
Prerequisites 15
Setup Types 17
Setup Wizard 16
Testing 25
-S-
Sharperlight Service 9
SQL Server Authentication 8
Supported Software 10
System Database 7