Changing .exe After Upgrade

After every upgrade, the .exe to run the program must be changed accordingly as well, so that the program runs correctly.
 |
WARNING
The program version and database version must be the same.
|
The first log in to PANTHEON after a database upgrade on the Microsoft SQL server will take about a minute longer. The person responsible logs in as normal. In the background, the program will download a new version of the program .exe from our FTP onto your work station, which is the same version as the database.
 |
WARNING
The program only knows how to upgrade itself, but not how to downgrade.
|
The person responsible waits for the notification that says "There is a new version of PANTHEON on the server, which will now be installed on your work station!"
The actual speed of the automatic upgrade depends on your internet connection.

The person responsible confirms the notification, and the login window on the old version will automatically close and reopen on the new version. In order to make sure that they are logging on to the synchronised version of the program, the person responsible can check this on the login window, on the refreshed database list in the dropdown list of the field Company.

 |
WARNING
If PANTHEON client does not know how to update itself, "Pantheon.exe" must be changed manually!
|
2.1. Downloading the corresponding version
The person responsible finds the corresponding version of PANTHEON at http://ftp.datalab.si/upgrade/si/release/ and downloads it to their computer. On the website above, the person responsible first sorts the data by date descending. The person responsible searches for the file named dlPantheon_SQL_SI_SI_100XXyy.7z, which is XXyy the corresponding version of the program (XX – patch, yy – build). Before downloading the file, the person responsible checks the upgraded version of their database. This information is usually known by the person who upgraded the database.
2.2. Searching for the path of the installed program package
The person responsible selects the existing PANTHEON shortcut by right-clicking on it and selecting Open file location from the menu. A window will open, with the location of the installed program.

The person responsible saves the archived file to where they have PANTHEON installed. The person responsible extracts the file and replaces the existing Pantheon.exe with the one downloaded from the website above.
 |
WARNING
When manually changing .exe, PANTHEON must be completely closed, including in the Task Manager.
The downloaded archive can be unpacked with the proper extractor. The most common one is 7zip, which is also free, and available at https://www.7-zip.org/a7z2201-x64.exe
|
|

After manually changing .exe, the person responsible also checks the paths for an automatic upgrade in the configuration file .ini and inside of the administration panel.
4.1. .INI file parameters
PANTHEON opens the .ini file, which is attached inside the folder, using the notepad. The person responsible makes sure that lines for the path and the temporary folder path are added where PANTHEON is installed
Example:
PathToTemp=C:\Datalab LS\Temp
PathToUpgrade=C:\Datalab LS\
Which means:
PathToTemp – a path to a temporary folder
PathToUpgrade – a path to the folder where PANTHEON is installed.

4.2. Administration panel settings
After the manual change, the person responsible also checks the paths to the program in the Program | Administration panel. The person responsible selects the Upgrade tab in Versions/Upgrades. The person responsible checks the paths to new features, the safety copy and the path to the program. The person responsible makes sure that the checkbox Download Executable directly from FTP site is checked.

4.3. Write permissions in the folder where the program is installed
In order for PANTHEON to upgrade itself correctly, the person responsible makes sure that the Windows user has sufficient write permissions for the folder where PANTHEON is installed. With the right mouse click, the person responsible selects Properties in the explorer, then selects Security in the pop-up window and enables the write permission for the Administrator and the Users.

If you are still having issues with the automatic changing of .exe, write to pomoc@datalab.si for support.