Hi,

I have created a activex contorl using vb6, whick checks whether the applicaiton is installed in client machine or not, if not it downloads from the server using wininet api and runs the setup.

I have created this as ocx.
Made the package using Package and deployment wizard. I selected internet package, so i got cab file and I marked my control is safe for scripting. so now my cab file inludes my activex control as well as dependency files.

Then i Signed this cab file using one of the reputed digital signing authority.

and deployed the cab file in my web server.

But, in windows 2000/xp it shows the certificate and then gives the error object doesnt support this property or method.(script error)

when i saw the winnnt/downloadedprogramefiles/ - there is no component downloaded pertaining to us.

my html code is as follows:

HTML>
<HEAD>
<TITLE>ipdiskLauncher.CAB</TITLE>
</HEAD>
<BODY>

<OBJECT ID="Launch"
CLASSID="CLSID:2D67D240-2430-415B-9DB9-B580F43383B6"
CODEBASE="ipdiskLauncher.CAB#version=1,0,0,5">
</OBJECT>

<script language="javascript">
<!--
document.Launch.UserID = "xxxx";
document.Launch.Password= "xxxx";
document.Launch.ServerIP = "xxxx";
document.Launch.Launch();
window.close();
//-->
</script>

</BODY>
</HTML>



what could be the problem ?

Please suggest me.

Thanking you

Regards
Praveenp