« PreviousNext »

HOWTO: Deploy Project Web Access 2007 ActiveX controls via SMS

3 May 2007

One of our support engineers, Anil Kumar, created the following instructions for using SMS to remotely install these controls.

If you are implementing Project Server 2007, your users will have to download the ActiveX controls before they can view Project Center and Resource Center.  In order to do this, you have to have the rights to perform the installation.  Many corporations have this capability locked down.  The alternative is to use a tool like SMS to deploy the controls to your user’s machines.

Deploy Active X controls of Project Server 2007 via SMS

  1. Active X controls reside in two .cab files located on your project server site in C:\Program Files\Common Files\Microsoft Shared\web server extensions\12\TEMPLATE\LAYOUTS\PWA\OBJECTS\1033.
  2. You will need the following two .cab files:
  3. Copy the .cab files and extract to a location on your SMS Server.  This is technically called as “Data Source” in SMS
  4. Create a batch file using the following script. For example, you can name the batch file activex.bat
  5.    1:  ================================================================
       2:   
       3:  CLS
       4:   
       5:  XCOPY *.* “%windir%Downloaded Program Files” /q /r /h /y
       6:   
       7:  regsvr32 /s “%windir%Downloaded Program Filespj12enuc.dll”
       8:   
       9:  regsvr32 /s %windir%“Downloaded Program Files”pjres12c.dll
    lnum">  10:   
      11:  regsvr32 /s %windir%”Downloaded Program Files”PJPrint12.dll
    lnum">  12:   
      13:  regsvr32 /s %windir%”Downloaded Program Files”PJTEXTCONV12.dll
    lnum">  14:   
      15:  regsvr32 /s %windir%”Downloaded Program Files”PJGRID12.ocx
    lnum">  16:   
      17:  regsvr32 /s %windir%”Downloaded Program Files”PJQUERY12.ocx
    lnum">  18:   
      19:  del “%windir%Downloaded Program Filespjcintl.cab” /f /q
    lnum">  20:   
      21:  del “%windir%Downloaded Program FilesPJClient.cab” /f /q
    lnum">  22:   
      23:  del “%windir%Downloaded Program Filesactivex.bat” /f /q
      24:   
      25:  EXIT
      26:   
      27:  =================================================================  
      28:   

  6. Copy the batch file to the same location as mentioned in Step 3.
  7. Create a “Package” and mention “Data Source” as the location we have extracted the files as in steps 3 in SMS Console.
  8. Expand the “Package” and select “Program” and point the batch file in SMS console.
  9. Create an “Advertisement” and mention the name of the “Package” and “Program” as created in Step 7 in SMS Console.
  10. Run the “Advertisement”
  11. Once you get the message that it is successful, login to PWA of Project Server 2007 and click on “Resource Center” or “Project center” and you should see the data without prompting you to download Active X controls.

This script is presented as is with no warranty.  Please test in your environment before running broadly.

Technorati Tags: , , ,

Originally by Treb Gatte from Microsoft Office Project 2007 on May 2, 2007, 7:00pm

Popularity: 1% [?]

If you enjoyed this post, make sure you subscribe to my RSS feed!

Posted in Uncategorized | Trackback | del.icio.us |

Other posts like this one:

  • Microsoft Project Server and Portfolio Server 2007 ActiveX Controls
  • PWA 2007 ActiveX Controls
  • ActiveX controls won’t load
  • Microsoft Project Server 2010 – No More Active X Control !!!!!
  • MS08-070: Vulnerabilities in Visual Basic 6.0 Runtime Extended Files (ActiveX Controls) could allow remote code execution
  • Top Of Page

    No comments yet

    Leave a Reply