|
|
Rank: Member Groups: Member
Joined: 5/31/2006 Posts: 6 Points: 15
|
We have the problem of some people being unable to install the ActiveX control. It seems it happens most frequently when they installed it first using Facebook. I checked our code in the embed_iu5 file and it reads: this.activeXControlCodeBase="ImageUploader5-5.1.10.0-040308.cab"; this.activeXClassId="BA162249-F2C5-4851-8ADC-FC58CB424243"; From your blog post it appears that Class ID should be replaced with 5D637FAD-E202-48D1-8F18-5B9C459BD1E3 , but that one doesn't seem to work. Thanks, Baldy
|
|
Rank: Advanced Member Groups: Member
Joined: 9/19/2006 Posts: 352 Points: 177
|
Hi, Yes, that's right. You need to update iuembed.js to the last one. You can get it from Image Uploader SDK.
Best regards, Eugene Kosmin. Aurigma Development Team
|
|
Rank: Member Groups: Member
Joined: 5/31/2006 Posts: 6 Points: 15
|
Hmmm... I updated iuembed.js to the latest and could see there were several changes from the one I had, but some people are still unable to install. I'm checking the other files.
One bothersome thing is that when it doesn't install, the instructions for how to install it are unchanged, but the bar you click on in IE isn't there anymore. Then they're really stuck.
Shouldn't it have a message like, "The uploader failed to install. Please contact _____." Right now, when it doesn't install, we have people fix their registry. Unpleasant, but at least they have something they can do to fix the problem.
|
|
Rank: Newbie Groups: Member
Joined: 2/7/2008 Posts: 3 Points: 9
|
Got it working but on our test machines it forced one to re-load the ActiveX control (understandable if it detected an olde one) and on the other it forced the machine to reboot. Yikes.
|
|
Rank: Advanced Member Groups: Member
Joined: 9/19/2006 Posts: 352 Points: 177
|
Baldy wrote:Hmmm... I updated iuembed.js to the latest and could see there were several changes from the one I had, but some people are still unable to install. I'm checking the other files.
One bothersome thing is that when it doesn't install, the instructions for how to install it are unchanged, but the bar you click on in IE isn't there anymore. Then they're really stuck.
Shouldn't it have a message like, "The uploader failed to install. Please contact _____." Right now, when it doesn't install, we have people fix their registry. Unpleasant, but at least they have something they can do to fix the problem. Perhaps the old iuembed.js is just cached in your clients’ browsers. Maybe full page reload will help. Unfortunately there is no way to handle the result of installation process from JavaScript. You can only determine whether control is already installed: Code:
var iu = new ImageUploaderWriter("ImageUploader", "800", "600");
if (iu.getActiveXInstalled())
{
alert("Installed");
}
else
{
alert("Not installed");
}
iu.writeHtml();
or change installation instructions: Code:
var iu = new ImageUploaderWriter("ImageUploader", "800", "600");
iu.instructionsCommon = "Custom installation instructions";
iu.instructionsNotWinXPSP2 = "Custom instructions for old winXP";
iu.instructionsWinXPSP2 = "Custom instructions for winXP SP2";
iu.instructionsVista = "Custom instructions for Vista";
iu.instructionsCommon2 = "Custom instructions";
iu.writeHtml();
onethumb27 wrote:Got it working but on our test machines it forced one to re-load the ActiveX control (understandable if it detected an olde one) and on the other it forced the machine to reboot. Yikes. IE requires rebooting if you are installing new Image Uploader when the old one is loaded. This is a known issue but we didn’t fix it yet.
Best regards, Eugene Kosmin. Aurigma Development Team
|
|
Rank: Advanced Member Groups: Administration
, Member
Joined: 8/3/2003 Posts: 586 Points: 588
|
Hello, Here is the post describing the reason if this problem with Facebook Image Uploader PRB:Some clients are unable to load or install Image Uploader ActiveXYou may check version of currently installed Image Uploader. If it is not the same as one installed on the site, you can provide special instructions for users. Here is the script kindly provided by one of our customers: Code:
this.getActiveXInstalledToUpdate=function(){
if (this.activeXProgId){
try{
var a=new ActiveXObject(this.activeXProgId);
var installedVersionArray = a.Version.split(',');
var currentVersionArray = this.activeXControlVersion.split(',');
for (var i = 0; i < 4; i++)
{
if (parseInt(installedVersionArray[i]) < parseInt(currentVersionArray[i]))
{
return true;
}
}
}
catch(e){
}
}
return false;
}
If this finction returns true, the control is about to be updated.
Sincerely yours, Dmitry Sevostyanov.
|
|
|
Guest |