This is a migrated thread and some comments may be shown as answers.

redeploying the editor

8 Answers 91 Views
WebParts for SharePoint
This is a migrated thread and some comments may be shown as answers.
Stuart
Top achievements
Rank 1
Stuart asked on 05 Mar 2008, 03:58 PM
As part of our maintenance procedures we run patch builds on our sharepoint servers. These patches are re-running RadEditorMOSS.wsp, in case it's been upgraded to a new version. Unfortunately this fails because the solution exists.  Is there a way of doing this without retracting/redeploying?

8 Answers, 1 is accepted

Sort by
0
George
Telerik team
answered on 06 Mar 2008, 03:49 PM
Hi Stuart,

Could you, please, give us more information about what exactly do you want to achieve? By design, when you upgrade to a new version you have to first retract and then redeploy the application.


Best regards,
George
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
0
Stuart
Top achievements
Rank 1
answered on 07 Mar 2008, 02:23 PM
Hi George,

We have a product which is a highly customised version of Sharepoint. We update the live servers by running a custom installer which patches them to the latest version. When this installer updates features, it does a force install, and service is uninterrupted. However, if we need to revoke/redeploy the radEditor wsp, presumably pages that use the editor will be broken during the process?  If so, is there a way around this?
0
George
Telerik team
answered on 11 Mar 2008, 07:22 AM
Hi  Stuart,

Retracting and deploying the editor solution will not affect the content of your sites. Note that, after you re-deploy the editor solution you will need to re-activate the RadEditor features on at least one site.

I hope this helps. 

Best regards,
George
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
0
Stuart
Top achievements
Rank 1
answered on 11 Mar 2008, 12:38 PM
Hi George,

As far as I understand it, using the revoke/reinstall method, the content will be preserved, but the editing pages will be unavailable for a period of time. The system this is being used on will have thousands of users, and no scheduled downtime. We have to be able to upgrade/patch, it with no interruption to service, in an automated way. This is possible with features etc, but not WSPs it would seem.

Could you provide an alternative install method, even if it requires more than 1 step?

Cheers,

Stuart.
0
George
Telerik team
answered on 12 Mar 2008, 11:40 AM
Hi Stuart,

An alternative install method is to made the installation manual (without using the *.wsp solution) - you will have to copy all the new files to the exact locations.

If you prefer this approach, please let us know - we will provide you with a step-by-step guide.


Best regards,
George
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
0
Stuart
Top achievements
Rank 1
answered on 12 Mar 2008, 11:56 AM
Hi Gerorge,

I think a step by step guide would be very useful.

Cheers,

Stuart
0
Accepted
Lini
Telerik team
answered on 13 Mar 2008, 02:53 PM
Hello Stuart,

Here is what you need to do in order to manually deploy a RadEditor for MOSS solution to your server:

1. rename the .wsp file to .cab. Open the .cab file with any archiving software (e.g. WinRAR) and extract it to a convenient location.

2. install all the DLL files (RadEditor.Net2, RadSpell.Net2, RadEditorSharePoint) in the server's GAC.

3. open the Web.config file and add the appropriate SafeControl entries for the three assemblies you put in the GAC (make sure the versions match):

<SafeControl Assembly="RadEditor.Net2, Version=7.3.2.0, Culture=neutral, PublicKeyToken=852c9eb6525c1b53" Namespace="Telerik.WebControls" TypeName="*" Safe="True" /> 
<SafeControl Assembly="RadEditor.Net2, Version=7.3.2.0, Culture=neutral, PublicKeyToken=852c9eb6525c1b53" Namespace="Telerik.RadEditorUtils" TypeName="*" Safe="True" /> 
<SafeControl Assembly="RadEditor.Net2, Version=7.3.2.0, Culture=neutral, PublicKeyToken=852c9eb6525c1b53" Namespace="Telerik.RadEditorConverters" TypeName="*" Safe="True" /> 
<SafeControl Assembly="RadEditor.Net2, Version=7.3.2.0, Culture=neutral, PublicKeyToken=852c9eb6525c1b53" Namespace="Telerik.RadEditorDesigners" TypeName="*" Safe="True" /> 
<SafeControl Assembly="RadSpell.Net2, Version=3.2.4.0, Culture=neutral, PublicKeyToken=b5dad7bf2bf594c2" Namespace="Telerik.WebControls" TypeName="*" Safe="True" /> 
<SafeControl Assembly="RadEditorSharePoint, Version=4.5.1.0, Culture=neutral, PublicKeyToken=1f131a624888eeed" Namespace="Telerik.SharePoint" TypeName="*" Safe="True" /> 
<SafeControl Assembly="RadEditorSharePoint, Version=4.5.1.0, Culture=neutral, PublicKeyToken=1f131a624888eeed" Namespace="Telerik.SharePoint.FieldEditor" TypeName="*" Safe="True" /> 
<SafeControl Assembly="RadEditorSharePoint, Version=4.5.1.0, Culture=neutral, PublicKeyToken=1f131a624888eeed" Namespace="Telerik.SharePoint.ListFieldEditor" TypeName="*" Safe="True" /> 
 

4. copy the RadControls folder to \Program Files\Common Files\Microsoft Shared\web server extensions\wpresources\RadEditorSharePoint\4.5.1.0__1f131a624888eeed\. (change 4.5.1 with the version you have).

5. copy the RadEditor.gif file from the Images folder to \Program Files\Common Files\Microsoft Shared\web server extensions\12\TEMPLATE\IMAGES\

6. copy the RadEditorFeature and RadEditorFeatureIE to the \Program Files\Common Files\Microsoft Shared\web server extensions\12\TEMPLATE\FEATURES\ folder.

7. Install the two features by executing the following commands from the command prompt:

stsadm -o installfeature -name RadEditorFeature
stsadm -o installfeature -name RadEditorFeatureIE

8. Import the RadEditorSharePoint.dwp file if you plan to use the RadEditor web part.

Regards,
Lini
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
0
Stuart
Top achievements
Rank 1
answered on 13 Mar 2008, 05:00 PM
Hi George/Lini,

Thanks very much,. that's what we needed.

Cheers,
Stuart.
Tags
WebParts for SharePoint
Asked by
Stuart
Top achievements
Rank 1
Answers by
George
Telerik team
Stuart
Top achievements
Rank 1
Lini
Telerik team
Share this question
or