rem: if ( this.target && !this.target.isExecutable() ) { this.enable( "launch" ); 
add: try { if ( this.target && !this.target.isExecutable() ) { this.enable( "launch" ); } } catch(e) { 
context:     setCompleted: function() {        // If dialog hasn't loaded yet, defer this.        if ( !this.loaded ) {            this.dialog.setTimeout( function(obj){obj.setCompleted()}, 100, this );            return false;        }        if ( !this.mCompleted ) {            this.mCompleted = true;            // If the "keep dialog open" box is checked, then update dialog.            if ( this.dialog && this.dialogElement( "keep" ).checked ) {                // Indicate completion in status area.                this.setValue( "status", this.replaceInsert( this.getString( "completeMsg" ),                                                             1,                                                             this.formatSeconds( this.elapsed/1000 ) ) );                // Put progress meter at 100%.                this.percent = 100;                // Set time remaining to 00:00.                this.setValue( "timeLeft", this.formatSeconds( 0 ) );                // Change Cancel button to Close, and give it focus.                var cancelButton = this.dialogElement( "cancel" );                cancelButton.label = this.getString( "close" );                cancelButton.focus();                // Activate reveal/launch buttons.                this.enable( "reveal" );                if ( this.target && !this.target.isExecutable() ) {                    this.enable( "launch" );                }                // Disable the Pause/Resume buttons.                this.dialogElement( "pauseResume" ).disabled = true;                // Fix up dialog layout (which gets messed up sometimes).                this.dialog.sizeToContent();            } else if ( this.dialog ) {                this.dialog.close();            }        }        return this.mCompleted;    },
meta: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/9421/54781df812bfb848355089fd0d7ef8b7d7b6256a/nsProgressDialog.js/clean/embedding/components/ui/progressDlg/nsProgressDialog.js