Results 1 to 2 of 2

Thread: Register OCX upon deployment.

  1. #1

    Thread Starter
    Hyperactive Member
    Join Date
    May 2006
    Posts
    426

    Register OCX upon deployment.

    So....i have this ocx i use in my application, i can be able to register it manually on my machine by using regsvr32. I was wondering how i can be able to do a self registering routine on the target machine upon deployment...since i will not always be there.
    I suppose i will need some scripting.Is there any that can help me?
    By the way i always uses the normal VS-IDE SETUP Wizard.

  2. #2
    Super Moderator jmcilhinney's Avatar
    Join Date
    May 2005
    Location
    Sydney, Australia
    Posts
    111,222

    Re: Register OCX upon deployment.

    I believe that you need to select the component from your Setup project in the Solution Explorer then go to the Properties window and set the Register property to vsdrfCOMSelfReg. It may also be vsdrfCOM but The SelfReg option sounds right.

    By the way, there is a Deployment forum for deployment questions. This is not VB.NET related.
    Why is my data not saved to my database? | MSDN Data Walkthroughs
    VBForums Database Development FAQ
    My CodeBank Submissions: VB | C#
    My Blog: Data Among Multiple Forms (3 parts)
    Beginner Tutorials: VB | C# | SQL

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width