Welcome Guest! You need to login or register to make posts.

Notification

Icon
Error

Options
Go to last post Go to first unread
Baldy  
#1 Posted : Monday, July 21, 2008 9:08:12 AM(UTC)
Baldy

Rank: Member

Groups: Member
Joined: 5/31/2006(UTC)
Posts: 6

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




Eugene Kosmin  
#2 Posted : Monday, July 21, 2008 11:28:03 AM(UTC)
Eugene Kosmin

Rank: Advanced Member

Groups: Member, Administration, Moderator
Joined: 9/19/2006(UTC)
Posts: 505

Was thanked: 41 time(s) in 41 post(s)
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
The Aurigma Development Team
Baldy  
#3 Posted : Tuesday, July 22, 2008 5:41:34 AM(UTC)
Baldy

Rank: Member

Groups: Member
Joined: 5/31/2006(UTC)
Posts: 6

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.

Edited by user Tuesday, July 22, 2008 5:42:44 AM(UTC)  | Reason: Not specified

onethumb27  
#4 Posted : Tuesday, July 22, 2008 9:28:33 AM(UTC)
onethumb27

Rank: Newbie

Groups: Member
Joined: 2/7/2008(UTC)
Posts: 3

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.
Eugene Kosmin  
#5 Posted : Tuesday, July 22, 2008 12:09:12 PM(UTC)
Eugene Kosmin

Rank: Advanced Member

Groups: Member, Administration, Moderator
Joined: 9/19/2006(UTC)
Posts: 505

Was thanked: 41 time(s) in 41 post(s)
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
The Aurigma Development Team
Dmitry  
#6 Posted : Tuesday, July 22, 2008 2:21:31 PM(UTC)
Dmitry

Rank: Advanced Member

Groups: Member, Administration, Moderator
Joined: 8/3/2003(UTC)
Posts: 1,070

Thanks: 1 times
Was thanked: 12 time(s) in 12 post(s)
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 ActiveX

You 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:

// Similar to getActiveXInstalled but checks also if the activex has to be updated
this.getActiveXInstalledToUpdate=function(){
    if (this.activeXProgId){
        try{
             var a=new ActiveXObject(this.activeXProgId);

             // A version is installed, but is it the current one?
             var installedVersionArray = a.Version.split(',');
             var currentVersionArray = this.activeXControlVersion.split(',');

             for (var i = 0; i < 4; i++)
             {
                  if (parseInt(installedVersionArray[i]) < parseInt(currentVersionArray[i]))
                 {
                     // installed version is older then the current one
                     return true;
                 }
             }
        }
        catch(e){
        }
    }    
// no update required
return false;
}
If this finction returns true, the control is about to be updated.

Edited by user Tuesday, July 22, 2008 2:22:14 PM(UTC)  | Reason: Not specified

Sincerely yours,
Dmitry Sevostyanov

UserPostedImage Follow Aurigma on Twitter!
Users browsing this topic
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.