tis-intellij-idea-community icon

IntelliJ IDEA Community

Silent install package for IntelliJ IDEA Community

2025.1.1.1-2

  • package: tis-intellij-idea-community
  • name: IntelliJ IDEA Community
  • version: 2025.1.1.1-2
  • categories: Development
  • maintainer: WAPT Team,Tranquil IT,Flavien SCHELFAUT
  • editor: JetBrains
  • licence: Freemium
  • locale: all
  • target_os: windows
  • impacted_process: idea64,idea,jetbrains_client64,jetbrains_client
  • architecture: x64
  • signature_date:
  • size: 843.51 Mo
  • installed_size: 3.37 Go
  • homepage : https://www.jetbrains.com/webstorm/

package           : tis-intellij-idea-community
version           : 2025.1.1.1-2
architecture      : x64
section           : base
priority          : optional
name              : IntelliJ IDEA Community
categories        : Development
maintainer        : WAPT Team,Tranquil IT,Flavien SCHELFAUT
description       : IntelliJ IDEA Community is an integrated development environment (IDE) written in Java for developing computer software written in Java, Kotlin, Groovy, and other JVM-based languages
depends           : 
conflicts         : 
maturity          : PROD
locale            : all
target_os         : windows
min_wapt_version  : 2.4
sources           : 
installed_size    : 3366191772
impacted_process  : idea64,idea,jetbrains_client64,jetbrains_client
description_fr    : IntelliJ IDEA Community est un environnement de développement intégré (IDE) écrit en Java pour développer des logiciels écrits en Java, Kotlin, Groovy et autres langages basés sur la JVM
description_pl    : IntelliJ IDEA Community to zintegrowane środowisko programistyczne (IDE) napisane w języku Java do tworzenia oprogramowania komputerowego napisanego w językach Java, Kotlin, Groovy i innych językach opartych na JVM
description_de    : IntelliJ IDEA Community ist eine in Java geschriebene integrierte Entwicklungsumgebung (IDE) für die Entwicklung von Computersoftware, die in Java, Kotlin, Groovy und anderen JVM-basierten Sprachen geschrieben wurde
description_es    : IntelliJ IDEA Community es un entorno de desarrollo integrado (IDE) escrito en Java para desarrollar software informático escrito en Java, Kotlin, Groovy y otros lenguajes basados en JVM
description_pt    : O IntelliJ IDEA Community é um ambiente de desenvolvimento integrado (IDE) escrito em Java para desenvolver software de computador escrito em Java, Kotlin, Groovy e outras linguagens baseadas em JVM
description_it    : IntelliJ IDEA Community è un ambiente di sviluppo integrato (IDE) scritto in Java per lo sviluppo di software informatico scritto in Java, Kotlin, Groovy e altri linguaggi basati su JVM
description_nl    : IntelliJ IDEA Community is een geïntegreerde ontwikkelomgeving (IDE) geschreven in Java voor het ontwikkelen van computersoftware geschreven in Java, Kotlin, Groovy en andere JVM-gebaseerde talen
description_ru    : IntelliJ IDEA Community - это интегрированная среда разработки (IDE), написанная на Java и предназначенная для разработки программного обеспечения на Java, Kotlin, Groovy и других языках, основанных на JVM
audit_schedule    : 
editor            : JetBrains
keywords          : intellij,idea,ide,integrated,development,environment
licence           : Freemium
homepage          : https://www.jetbrains.com/webstorm/
package_uuid      : e6b1468c-7553-4f4f-ab81-97361c842b47
valid_from        : 
valid_until       : 
forced_install_on : 
changelog         : 
min_os_version    : 
max_os_version    : 
icon_sha256sum    : 9f31eb1ae0060823265242b972a22055f243876f8a1740fbe88dcce3afc70a73
signer            : Tranquil IT
signer_fingerprint: 8c5127a75392be9cc9afd0dbae1222a673072c308c14d88ab246e23832e8c6bb
signature_date    : 2025-05-28T08:17:25.000000
signed_attributes : package,version,architecture,section,priority,name,categories,maintainer,description,depends,conflicts,maturity,locale,target_os,min_wapt_version,sources,installed_size,impacted_process,description_fr,description_pl,description_de,description_es,description_pt,description_it,description_nl,description_ru,audit_schedule,editor,keywords,licence,homepage,package_uuid,valid_from,valid_until,forced_install_on,changelog,min_os_version,max_os_version,icon_sha256sum,signer,signer_fingerprint,signature_date,signed_attributes
signature         : sdhrxs6o9CUBLJf5BG9Bv1J4+vXrHH6k1s1JNE55myuOZkEX/Y+xPpEGCg/tLW6qTZq6a2rB6tqpFfSl7Hsp7tlkxKdeCyxyoug/mVecv7/lPB98k9eQN8drIuhveyttqpBB4o2P/bZjT6eXYasJENTDD17WGSe/cl9XOJdA2x5G4MXXWnec8xBSlvMEkPuTK8MYCD6OhNlFSh91Pto4GND7WrEyCcvB5mWudwEM28CnsvZq+jiTLNW41EDFzrtuyB3c1cHriQCvU5B9vsbhqP6UgQSSbgH6h27WM+XYsTwl6FqJdGsdEKe8/UUqqs7lI/UL9HtZARnnP6PrH9rZWA==

# -*- coding: utf-8 -*-
from setuphelpers import *

#
# Silent Conf: https://www.jetbrains.com/help/idea/installation-guide.html#silent-config
#

def install():
    # Specific app values
    bin_name = glob.glob("ideaIC-*.exe")[0]

    # Uninstalling older versions of the software
    for to_uninstall in installed_softwares("IntelliJ IDEA Community Edition"):
        if Version(to_uninstall["name"].split(" ")[-1]) < Version(control.get_software_version()) or force:
            print("Removing: %s (%s)" % (to_uninstall["name"], to_uninstall["version"]))
            killalltasks(ensure_list(control.impacted_process))
            run(uninstall_cmd(to_uninstall["key"]))
            wait_uninstallkey_absent(to_uninstall["key"])

    # Installing the package
    install_exe_if_needed(
        bin_name,
        silentflags="/S /CONFIG=silent.conf",
        name="IntelliJ IDEA Community Edition %s" % control.get_software_version(),
        accept_returncodes=[0, 3010, 1223],
        min_version=control.get_software_version(),
        timeout=2000,
        get_version=get_installed_version
    )


def get_installed_version(key):
    return key["name"].split(" ")[-1]

# -*- coding: utf-8 -*-
from setuphelpers import *
from setupdevhelpers import *
import waptlicences


def update_package():
    # Declaring local variables
    package_updated = False
    proxies = get_proxies()
    if not proxies:
        proxies = get_proxies_from_wapt_console()
    app_name = control.name

    releases = wgets("https://data.services.jetbrains.com/products/releases?code=IIC&latest=true&type=release", proxies=proxies, as_json=True)['IIC'][0]
    version = releases['version']
    downloads = releases['downloads']

    download_dict = {
        'windows-x64': downloads['windows']['link'],
        'debian_based-x64': downloads['linux']['link'],
        'debian_based-arm': downloads['linuxARM64']['link'],
        'darwin-x64': downloads['mac']['link'],
        'darwin-arm': downloads['macM1']['link']
    }

    os_type = control.target_os + "-" + ensure_list(control.architecture)[0]
    download_url = download_dict[os_type]
    latest_bin = download_url.rsplit("/", 1)[-1]
    latest_bin_extension = latest_bin.rsplit(".", 1)[-1]

    # Downloading latest binaries
    print(f"Latest {app_name} version is: {version}")
    print(f"Download URL is: {download_url}")
    if not isfile(latest_bin):
        print(f"Downloading: {latest_bin}")
        wget(download_url, latest_bin, proxies=proxies)
    else:
        print(f"Binary is present: {latest_bin}")

    expected_issuer = "JetBrains s.r.o."
    sign_name = waptlicences.check_msi_signature(latest_bin)[0]
    if sign_name != expected_issuer:
        error(f'Bad issuer {sign_name} != {expected_issuer} ')

    # Changing version of the package
    if Version(version) > Version(control.get_software_version()):
        print(f"Software version updated (from: {control.get_software_version()} to: {Version(version)})")
        package_updated = True
    else:
        print(f"Software version up-to-date ({Version(version)})")

    for f in glob.glob(f'*.{latest_bin_extension}'):
        if f != latest_bin:
            remove_file(f)

    control.set_software_version(version)
    control.save_control_to_wapt()

    return package_updated

38d056ab130f7bf7c481c12636a4e9959de36561d3dfcbe54c6e3571bc0c1dc3 : WAPT/certificate.crt
df97cbece3adec0d90c354ce03ca074e1755956d7f3f7c485ad44b546a729f2a : WAPT/control
9f31eb1ae0060823265242b972a22055f243876f8a1740fbe88dcce3afc70a73 : WAPT/icon.png
84e4febcb4b1cc4876a836f714063e48f517b6d7ac60ecb97a495a9155d5e9d0 : ideaIC-2025.1.1.1.exe
35fcbab367b1c503ba209997fe3d05db548c14b7e1d53b6932824ecd3ea41eae : luti.json
fed850bb212d938691a32124ccca9acb6155cc40f1490647ae945a7d829cc7c6 : setup.py
532b16a6dbae61b78273adbe74e8ccd8b0cc89081d58b2cc146a22ce19cc88cb : silent.conf
8e1e99a2181689161f8a256d16e8d91cc6b6fab0d903c514d917e5c44a158600 : update_package.py