INTELLIGENT WORK FORUMS
FOR COMPUTER PROFESSIONALS

Log In

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!

*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Jobs

Create object of System.EnterpriseServices.Internal.Publish requires .net framework 3.5

Create object of System.EnterpriseServices.Internal.Publish requires .net framework 3.5

Create object of System.EnterpriseServices.Internal.Publish requires .net framework 3.5

(OP)
In VB Script Creating object for System.EnterpriseServices.Internal.Publish requires .net framework 3.5 to be installed but the same class in available in higher versions of .net framework. No where it is mentioned this feature is deprecated. Basically we don't want to install .net framework 3.5 just only for this purpose.

'Create object for installing to GAC
Set myGacUtilObj = CreateObject("System.EnterpriseServices.Internal.Publish")
myGacUtilObj.GacInstall(assemblyName)
myGacUtilObj.GacRemove(assemblyName)

if .net framework 3.5 is installed/enabled the above code works fine otherwise it throws a pop up while creating object saying this requires .net framework 3.5 to be installed(if pop up is not been thrown please try debugging script so that pop up will be displayed. I am wondering why higher versions of .net framework are not supporting this. I couldn't find any alternative way to do it.

Thanks and Regards,
Chenna

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Tek-Tips Forums free from inappropriate posts.
The Tek-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members!

Resources

Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close