Page 1 of 1

Resolved: VBScript in administrator mode

Published: February 15, 2016 - 3:01 PM
by tienou
Good morning,

I have the impression that the VBS files are not being run as administrator because it's not working.
I did put the vbs in the root of the package and, of course, the script works when launched as admin on the machine.

Do you have any tips?

Thanks in advance.

Code: Select all

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

uninstallkey = ["{0C36FE75-8782-479A-8309-D72270D13BA2}"]

def install():
    print('installing wapt-firstclassclient')
    run(r'"fcc12110.msi" /q /norestart')
    run("install.vbs")
    

Re: Solved: VBScript in administrator mode

Published: September 13, 2016 - 11:15 AM
by the Challans Town Hall
Try:
run("cscript.exe install.vbs")