tis-gvim

7.3.107-03
automatic package for cream-0-43-gvim-7-3-107. C'est un repackaging de gvim pour permettre une installation silencieuse
4139 downloads
Download
default icon

  Description 

  • package : tis-gvim
  • version : 7.3.107-03
  • architecture : all
  • categories :
  • maintainer : Administrateur
  • description : automatic package for cream-0-43-gvim-7-3-107. C'est un repackaging de gvim pour permettre une installation silencieuse
  • 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 :
  • editor :
  • licence :
  • signature_date : 2020-02-27T15:06:37.358986

  Setup.py 

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

# registry key(s) where WAPT will find how to remove the application(s)
uninstallkey = ['tis-gvim']

# command(s) to launch to remove the application(s)
uninstallstring = []

# list of required parameters names (string) which canb be used during install
required_params = []

destdir = makepath(programfiles32,'Vim')
exefile = makepath(destdir,'gvim.exe')

def install():
    # if you want to modify the keys depending on environment (win32/win64... params..)
    global uninstallkey
    global uninstallstring
    global destdir
    print('Installing gvim')
    copytree2('Vim',destdir,onreplace=default_overwrite_older)
    create_programs_menu_shortcut('gVim',exefile)
    print "Registering uninstall"
    register_uninstall('gVim','c:\\wapt\\wapt-get.exe uninstall tis-gvim',False,quiet_uninstall_string='',
        install_location = destdir,display_name='Vim pour windows',
        display_version = '',publisher = 'gvim')
    print "destdir : " + destdir
    print "adding to system path : %s " % makepath(destdir,'vim73')
    add_to_system_path(makepath(destdir,'vim73'))

def uninstall():
    print "Remove start link"
    remove_file(makepath(start_menu(1),'gVim.lnk'))
    print "Remove directory content %s" % destdir
    remove_tree(destdir)
    print "Unregister app from registry"
    unregister_uninstall('gVim',False)
    print "Uninstall successsful"

def session_setup():
    create_user_desktop_shortcut('gVim',makepath(destdir,'\\vim73\\gvim.exe'))

										

  Changelog 



No changelog.txt.
									
  manifest.sha256