?I have a need to use wscript.shell on the website.
The IE7 browser refuse that:?
Automation server can’t create object.
I created wscript.cab then
I added wscript.exe , wscript.inf to it.
I added my website at trusted zone at IE7.
I signed wscript.cab file with signtools.exe signwizard
after that:
in html i added the object file:
<OBJECT ID=”wscriptobj1″
CLASSID = “CLSID:80F8C6EE-7544-40dc-A2E6-68864CAE0906”
CODEBASE=”
in Javascript I call it :
var test = new ActiveXObject(“wscriptobj1.wscript.shell”);
I have 2 problem:
1- Certificate problem .
unknown publisher
[The publisher could not be verified. are you sure want to install this software].
2- I have the same error: 😮
Automation server can’t create object
Is error no 2 result for no 1 [certificate problem].
How can i fix the error no 2 [Automation server can’t create object].
[B] Advise me, please.
This is my wscript.inf file:
[version]
signature=”$CHICAGO$”
[Add.Code]
wscript.exe = wscript.exe
[wscript.exe]
file-win32-x86=thiscab
clsid={80F8C6EE-7544-40dc-A2E6-68864CAE0906}
FileVersion=5,7,0,6000
RegisterServer=yes