tis-imdisk 1.0.1-15

  • package : tis-imdisk
  • version : 1.0.1-15
  • description : imdisk
  • maintainer : TIS <technique@tranquil-it-systems.fr>
  • date : 2018-02-27 19:00:55

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')



    

Changelog

No changelog
    

manifest.sha256

[["imdiskinst/sys/amd64/imdisk.sys", "e187aebf0f60c4af54fc5fb5f0aa8a682a50131661296d49885f4e84f43f2170"], ["WAPT/certificate.crt", "79e5388683c0b6cb03f4f81e4e58e3a11463b2b6cf169dd9c453098027dcfaa4"], ["imdiskinst/runwait.exe", "f3bb10be86129d04fdc09e4727ac594b3e625180699622f54846fc8d6d0b2d22"], ["imdiskinst/install.bat", "1379b02b0c1a78225f58a742dba8ede6fad5e8f20ea9ba48847a47ee9e0ccbcc"], ["imdiskinst/cpl/ia64/imdisk.cpl", "d8a5593c9de480cbd5c2ae3ab69898e940c82634b28665815f3fcddec67824e9"], ["imdiskinst/awealloc/i386/awealloc.sys", "6b14a88d69b28963c2286fd2fa99b675eee428943d75c80dfe01c0b868327d8c"], ["imdiskinst/cli/i386/imdisk.exe", "e2bd0bd90ecea14934596786e0c7f6872d1208ada04a64c03fc8a6126cf03579"], ["README.txt", "f35c46262889cefd7e2105aaf94d25167674a0290d9c810856479a555af129dc"], ["imdiskinst/imdisk.inf", "404dc8089edc2c95909fe8c89de2985659f70ac74f25ab9d0aaed33d407952e5"], ["WAPT/wapt.psproj", "780bf4f00402e12322e3b7a04d8ba7cfb982c298b6008814e490afb34425f3cb"], ["imdiskinst/awealloc/ia64/awealloc.sys", "0f099e9e7c52ad1fa9189f05351a3c84a8d963f31ee215a2be06f11305bc8cd4"], ["imdiskinst/cpl/i386/imdisk.cpl", "786a4d93bc98eaeb2c15deb40b072681ab719e82860b3936512f1ab334547a57"], ["imdiskinst/gpl.txt", "da0eca0fb517ac939d167924c9d4b3f8750a6b7191932ef2cb145acfa624ac7e"], ["imdiskinst/svc/ia64/imdsksvc.exe", "40b83498862a6861310760a45b068f40ef4375063d56b27802f708a2f358548a"], ["imdiskinst/cli/ia64/imdisk.exe", "4153694dbee76176877d123fe75d2036ccb45c8bdd1aa7e87218a6ed248f669a"], ["imdiskinst/svc/i386/imdsksvc.exe", "2e37dbf60ad1b785f87551d9124d39de9b69430966651152a13a878bdb3a07b6"], ["imdiskinst/readme.txt", "ea585f5aef439a2842b8ea78ecd15ee7ec714c5ee6e8bd136405e93c4eb0c1c3"], ["imdiskinst/cpl/amd64/imdisk.cpl", "3d394b55b1b7764242cb5070e69e46959eb956359abf191dc571987df4387d20"], ["setup.py", "d5a21e4da5f4a32b136bffc2bc3d0e4118f3a6899384290ca1cc0ec7294d3aac"], ["imdiskinst/sys/i386/imdisk.sys", "011b8722820e27ca7de6d62ff9398575089f3b754e8fec88331c796c48617e84"], ["imdiskinst/sys/ia64/imdisk.sys", "a4a1dcf83ca3b1f94ce272b3c899d6abd98374ace6298ed7d4a4eee699f62b94"], ["imdiskinst/svc/amd64/imdsksvc.exe", "5d858e9c413eaf13d999c277969fa6447961630799f3085b9faecf9f867f65c3"], ["imdiskinst.exe", "e56a75b1c8f2c328937afe5a7bb489995398516387e7cbedc52ecc7520bb8ded"], ["imdiskinst/cli/amd64/imdisk.exe", "7f109ecadd95dfd1c23729078e4d09ddb434bf85342a4791d41b4fa5803e6ce0"], ["imdiskinst/awealloc/amd64/awealloc.sys", "894f2bb83b3315a72d5e4444817dcf2c5af4759a6952ae6a182ab3ef2ef40ced"], ["imdiskinst/msgbox.exe", "1b15f9e84d43e4917f6aea53cfc779c602d2ae67c0c4d129af5d07245edb0479"], ["WAPT/control", "5be6f1c4c3b6f647a9e5feb9af52e6708318319ce2cfdf34e10713d701dde1c1"]]