tis-imdisk 1.0.1-15

  • package : tis-imdisk
  • version : 1.0.1-15
  • description : imdisk
  • maintainer : TIS <technique@tranquil-it-systems.fr>
  • date : 2017-07-20 11:20:54

setup.py

#!/usr/bin/python
# -*- 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
#    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
#    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/>.
#
# -----------------------------------------------------------------------
import platform
from setuphelpers import *

uninstallstring=['rundll32.exe setupapi.dll,InstallHinfSection DefaultUninstall 132 C:\\WINDOWS\\INF\\imdisk.inf']
uninstallkey=[]

def install():
    print ("closing imdisk")
    #killalltasks('imdsksvc.exe')
    os.chdir('imdiskinst')
    
    for svc in ('imdsksvc','awealloc','imdisk'):
        try:
            if service_installed(svc) and service_is_running(svc):
                service_stop(svc)
        except Exception as e:
            print "Service %s not installed (%s)" % (svc,e)
    
    run('rundll32 setupapi.dll,InstallHinfSection DefaultInstall 132 .\\imdisk.inf')
    
    service_start('imdsksvc')



    

manifest.sha1

[["imdiskinst/sys/amd64/imdisk.sys", "3bdf40c007f9bcd6217f4422c287f7867958579b"], ["WAPT/certificate.crt", "0db563dc9077b268ca07ba834322d0fc5e21f8e5"], ["imdiskinst/runwait.exe", "42dfdf4e3cb44cba7ef18cb8501445f5efe2518c"], ["imdiskinst/install.bat", "69e691ddeac28e88108b97c0f04a33463d0940bd"], ["imdiskinst/cpl/ia64/imdisk.cpl", "4c68531cf290409d229179384f1ec0ea1e780344"], ["imdiskinst/awealloc/i386/awealloc.sys", "37032bf96c445d23ec123f246f2d9cf0e0aee782"], ["imdiskinst/cli/i386/imdisk.exe", "4b983dbbba8a0cb2dd107a4354c58497facd5ebc"], ["README.txt", "dfbd691ebbeac62fab08b0cca9177a24a2f96160"], ["imdiskinst/imdisk.inf", "376567f4515f0cac90297c33bab269a154fa0057"], ["WAPT/wapt.psproj", "8aaab2e1e1cdc916f388cf0216c8b6aea3bf9b29"], ["imdiskinst/awealloc/ia64/awealloc.sys", "4a6d5a1a001eadcec5ad5ae0f2e0b1d1b6db4c6c"], ["imdiskinst/cpl/i386/imdisk.cpl", "31f55234b2a7d43aff8df7b47618cf059a1b5572"], ["imdiskinst/gpl.txt", "b9e28040de9d8773c5b0cc8108869e8f3f287798"], ["imdiskinst/svc/ia64/imdsksvc.exe", "25742d58922429af622a76df9eed8809042f8b8b"], ["imdiskinst/cli/ia64/imdisk.exe", "0814d1573bed956642b844c8635808c91436858c"], ["imdiskinst/svc/i386/imdsksvc.exe", "61230567d9cdd84ab9cbd10b01d9ee00a983ee75"], ["imdiskinst/readme.txt", "6648d334e4023f5687835b66909c558fbae4f9bf"], ["imdiskinst/cpl/amd64/imdisk.cpl", "77ba25c6cb2973055dac20218930b5fbe6f2757d"], ["setup.py", "35a269deaddd4210fbbfb0cf99526209756a87e7"], ["imdiskinst/sys/i386/imdisk.sys", "23eef33e7cd425b0540359185c27da286905297d"], ["imdiskinst/sys/ia64/imdisk.sys", "77fc68a44e1ea4c56bc00dd7cf3938abde4669df"], ["imdiskinst/svc/amd64/imdsksvc.exe", "f947cb17f565212040cb8d649636dac362a1acd5"], ["imdiskinst.exe", "74a6eadf01e6eb586cd9ea95136e7839117bc305"], ["imdiskinst/cli/amd64/imdisk.exe", "9defd072b30f4a2395f0e4d45aa6f6dc08b8859b"], ["imdiskinst/awealloc/amd64/awealloc.sys", "1e90f12902c3b4d649ebb624e4aa679b4e2dc75e"], ["imdiskinst/msgbox.exe", "6aa5ac1a965b5f4d395339e79a1b9fc784303c1f"], ["WAPT/control", "be634741fba995418cf20789e3d07f4825c2667e"]]