[SOLVED] Creating Sphinx v5 software package
Published: Dec 14, 2017 - 09:38
Good morning,
I am opening a new thread to finalize my Sphinx software installation package.
I found a simpler silent installation procedure than my initial approach in the "character encoding error" thread. Simply create a license.dat file with the correct information in it at the root of the installation folder.
Next, we launch the setup with the following command: install.exe /s
The installation works without problems outside of wapt, however once packaged the installation proceeds but without the license.
Upon closer inspection, I notice that as soon as the install.exe file is executed, the temporary folder for the package is deleted.
I assume, therefore, that the setup doesn't have time to read the license file; is it possible to delay the deletion of the temporary folder?
Just FYI, here's my code:
For your information:
- Installed WAPT version: 1.3.13
- Server OS: Debian Jessie
- Operating system of the administration/package creation machine: Windows 10
THANKS
I am opening a new thread to finalize my Sphinx software installation package.
I found a simpler silent installation procedure than my initial approach in the "character encoding error" thread. Simply create a license.dat file with the correct information in it at the root of the installation folder.
Next, we launch the setup with the following command: install.exe /s
The installation works without problems outside of wapt, however once packaged the installation proceeds but without the license.
Upon closer inspection, I notice that as soon as the install.exe file is executed, the temporary folder for the package is deleted.
I assume, therefore, that the setup doesn't have time to read the license file; is it possible to delay the deletion of the temporary folder?
Just FYI, here's my code:
Code: Select all
# -*- coding: utf-8 -*-
from setuphelpers import *
uninstallkey = []
def install():
print('installing wapt-sphinxv5')
install_exe_if_needed("SphinxV5\Install.exe",'/s')
def uninstall():
run(r'"C:\SphinxV5\licence\UNWISE.EXE" /s C:\SphinxV5\licence\install.log')
remove_tree(r'C:\SphinxV5')- Installed WAPT version: 1.3.13
- Server OS: Debian Jessie
- Operating system of the administration/package creation machine: Windows 10
THANKS