Environment to create setup.exe or install.exe installation systems for windows


  • package : tis-innosetup
  • version : 6.0.5-11
  • architecture : all
  • categories : Development
  • maintainer : TIS <technique@tranquil-it-systems.fr>
  • description : Environment to create setup.exe or install.exe installation systems for windows
  • locale :
  • target_os : windows
  • min_os_version :
  • max_os_version :
  • min_wapt_version :
  • sources :
  • installed_size : 479232
  • impacted_process :
  • description_fr : Environnement pour créer des systèmes d'installation setup.exe ou install.exe. pour windows
  • description_pl :
  • description_de :
  • description_es :
  • description_pt :
  • description_it :
  • description_nl :
  • description_ru :
  • editor : Jordan Russell
  • licence : BSD 4-clauses
  • signature_date : 2020-08-19T16:57:08.424572
  • Homepage : http://www.jrsoftware.org/isinfo.php


# -*- coding: utf-8 -*-
# -----------------------------------------------------------------------
#    This file is part of WAPT
#    Copyright (C) 2013  Tranquil IT Systems http://www.tranquil.it
#    WAPT aims to help Windows systems administrators to deploy
#    setup and update applications on users PC.
#    WAPT is free software: you can redistribute it and/or modify
#    it under the terms of the GNU General Public License as published by
#    the Free Software Foundation, either version 3 of the License, or
#    (at your option) any later version.
#    WAPT is distributed in the hope that it will be useful,
#    but WITHOUT ANY WARRANTY; without even the implied warranty of
#    GNU General Public License for more details.
#    You should have received a copy of the GNU General Public License
#    along with WAPT.  If not, see <http://www.gnu.org/licenses/>.
# -----------------------------------------------------------------------
from setuphelpers import *

uninstallkey = []

def install():
    print('installing tis-innosetup')

    version = control['version'].split('-',1)[0]
    install_exe_if_needed("innosetup-%s.exe" % version,'/VERYSILENT /SUPPRESSMSGBOXES /NORESTART',key='Inno Setup 6_is1',min_version=version)

    # Kill at end of installation

def update_package():    
        import bs4 as BeautifulSoup
        import BeautifulSoup

    # Getting proxy informations from WAPT settings
    proxy = {}
    if isfile(makepath(application_data(),'waptconsole','waptconsole.ini')):
        proxywapt = inifile_readstring(makepath(user_local_appdata(),'waptconsole','waptconsole.ini'),'global','http_proxy')
        if proxywapt :
            proxy = {'http':proxywapt,'https':proxywapt}

    urlversion = 'http://www.jrsoftware.org/isdl.php'
    page = wgets(urlversion,proxies=proxy)
    bs = BeautifulSoup.BeautifulSoup(page)

    bs_raw_string = str(bs.findAll('tr')[2]).split('innosetup-',1)[1]
    version = bs_raw_string.split('.exe',1)[0]

    url = 'https://mlaan2.home.xs4all.nl/ispack/'

    filenamex64 = "innosetup-%s.exe" % version
    url64 = url + filenamex64

    for fileexe in glob.glob('*.exe'):
        if fileexe != filenamex64 :
            print('Delete ' + fileexe)

    if not isfile(filenamex64):
        print('Download ' + url64)

    control.version = version + '-10'



5.6.1 (2018-06-14)

    /LOG: Now logs some additional information about uninstall info saving.
    The {sendto} constant has been renamed to {usersendto} and now can correctly trigger a used user areas warning. It still returns the same directory: the path to the current user's Send To folder. (There is no common Send To folder.)
    Minor fixes to the registry entries logging and improved syntax highlighting introduced by the previous version.
    Minor tweaks.

5.6.0 (2018-06-08)

    /LOG: Now logs registry entries.
    Compiler IDE change: Syntax highlighting and syntax error underlining support for #include and ISPP has been significantly improved (with ISPP installed: before and after, without ISPP installed: before and after
    Change in default behavior: If [Setup] section directive DisableWelcomePage is set to yes (which it is by default), then the title of the wizard now includes AppVerName instead of AppName, in other words: it now includes the version number of the application. If WindowVisible is set to yes this applies to the background window instead.
    Regardless of the version of Windows, if the installation is administrative then you should be careful about making any per-user area changes: such changes may not achieve what you are intending. The compiler will now warn you about this, which can be disabled using new [Setup] section directive UsedUserAreasWarning.
    Improved support for high DPI systems:
        The WizardImageFile and WizardSmallImageFile [Setup] section directives now may list multiple files. This support wildcards. When multiple files are specified, Setup will automatically select the one which best matches the system's DPI setting. See the help file for a list of recommended sizes. Note: when you test this be sure to first log out and back in after any DPI change.
        If the WizardImageStretch [Setup] section directive is set to yes (which it is by default) then the quality of the stretching that occurs if the best matching wizard image is still larger or smaller than required has been improved (before and after). Also applies to any TBitmapImage which uses stretching.
    Digital signing changes:
        Added new [Setup] section directive: SignToolRetryDelay, which defaults to 500. Specifies the number of milliseconds the Setup Compiler should wait before any automatic digital signing retries specified by SignToolRetryCount.
        Added new [Setup] section directive: SignToolMinimumTimeBetween, which defaults to 0. If not set to 0, specifies the minimum number of milliseconds that should have elapsed between consecutive digital signing actions by the Setup Compiler. For example, if set to 5000 then the Setup Compiler will perform 1 digital signing per 5 seconds at most. Can be used to avoid being rejected by rate limiting timestamp services.
    Added new [Setup] section directive ArchitecturesAllowed value: arm64. This can be used to not allow Setup to run on Windows 10 on ARM64. Note that Windows 10 on ARM64 only supports 32-bit (x86) binaries and therefore Setup (even older versions) will never install in 64-bit mode on Windows 10 on ARM64.
    Pascal Scripting changes:
        Unicode Inno Setup: Unicode is now supported for the input source. For example, where before you had to write S := #$0100 + #$0101 + 'Aa'; you can now write S := 'AaAa'; directly. Also see the new UnicodeExample1.iss example script.
        Added new IsX86, IsX64, IsIA64 and IsARM64 support functions.
        Added new IsWildcard and WildcardMatch support functions.
        /LOG: Now logs DLL function imports.
    Any [Files] entries with the deleteafterinstall flag or with DestDir set to {tmp} or a subdirectory of {tmp} are no longer included in the EstimatedSize value in the Uninstall registry key.
    Fix: In 5.5.9 it was no longer possible to include a drive colon in [Setup] section directive OutputManifestFile.
    Unicode [Code] based on RemObjects Pascal Script Git commit 76e377efa5fddc55b3a6a3a3d944317bdfde4a12.
    Minor tweaks.

Contributions via GitHub: Thanks to ElSanchez, DRON and jogo- for their contributions for respectively Unicode input source support, improved image stretching, and various improvements. Thanks to KngStr for his proof of concept for ISPP compiler directive highlighting.

Inno Setup 5.5 & Earlier Revision History