Launch vbs

Questions about Wine on Linux
Locked
latrij
Newbie
Newbie
Posts: 2
Joined: Thu May 12, 2022 2:25 am

Launch vbs

Post by latrij »

Hi and sorry for my ignorance but can't find a way to launch my .vbs correctly, tried using wine start and wine wscript with the same output:

Code: Select all

[centos@centtos7 bin]$ WINEPREFIX=/home/centos/ wine64 wscript importMonitor.vbs 
0240:fixme:vbscript:stack_pop_disp not disp 0000000000194688 {VT_EMPTY}
0240:fixme:vbscript:stack_pop_disp not disp 0000000000194688 {VT_EMPTY}
0240:fixme:vbscript:stack_pop_disp not disp 0000000000194688 {VT_EMPTY}
0240:fixme:vbscript:stack_pop_disp not disp 0000000000194688 {VT_EMPTY}
0240:fixme:vbscript:stack_pop_disp not disp 0000000000194688 {VT_EMPTY}
0240:err:ole:apartment_getclassobject DllGetClassObject returned error 0x80004002 for dll L"C:\\windows\\system32\\wbem\\wbemdisp.dll"
0240:err:ole:create_server class {172bddf8-ceea-11d1-8b05-00600806d9b6} not registered
0240:fixme:ole:com_get_class_object CLSCTX_REMOTE_SERVER not supported
0240:err:ole:com_get_class_object no class object {172bddf8-ceea-11d1-8b05-00600806d9b6} could be created for context 0x15
0240:fixme:wbemdisp:WinMGMTS_ParseDisplayName ignoring security settings
0240:fixme:wbemdisp:services_ExecNotificationQuery 
0240:fixme:vbscript:stack_pop_disp not disp 00000000001948B0 {VT_EMPTY}
0240:fixme:vbscript:stack_pop_disp not disp 0000000000194910 {VT_EMPTY}
0240:fixme:vbscript:Global_Mid len = -1
0240:fixme:vbscript:stack_pop_disp not disp 00000000001948B0 {VT_EMPTY}
0240:fixme:vbscript:stack_pop_disp not disp 0000000000194910 {VT_EMPTY}
0240:fixme:vbscript:Global_Mid len = -1
Then it just loops the 3 last lines, don't understand why i'm getting this errors and neither have found info on how to launch vbs properly in the wine guide. Any help would be highly appreciated. Thanks in advance.
aug
Level 3
Level 3
Posts: 75
Joined: Sat Oct 30, 2021 4:21 am

Re: Launch vbs

Post by aug »

You have tried the command below ? You need winetricks installed.
winetricks wsh57

The command install Scripts Host thus allowing run vbs scripts.
Locked