Install Shield 2010 Ver 16

I have a file txole151.ocx which is placed in the \InstallDir\Bin folder.

I need it to selfreg.  When I add it to the ISSelfReg in Direct Editor it places it in the System32 folder.

How can I get it to register in its default folder?
weephAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Vadim RappCommented:
It's not good idea to use direct editor, and it's not good idea to self-register COM objects.

The recommended way is to right-click the dll (which should have key icon on the left) in Project Assistant/files and folders/destination computer files, and "extract COM data for key file".

If you still prefer to self-register, right-click the dll, open Properties, and check "Self Register".
0
weephAuthor Commented:
I've tried that but I notice that the Self Register is greyed out.

Also there is no "extract COM data for key file" when I right click
Txole.jpg
0
Vadim RappCommented:
Assuming that this is the same installation we've been working with you - it would be available if it was .ism file, and you had the source file.

I guess, it wouldn't be too hard to recreate it, compared to the effort you are spending to fight the fact of its absence.
0
Introduction to Web Design

Develop a strong foundation and understanding of web design by learning HTML, CSS, and additional tools to help you develop your own website.

weephAuthor Commented:
I know. It's a pain.  I was thinking if there was a way to create a batch file that could register txole151.ocx.  It would probably have to have Admin privileges tho.

I've tried with the .ism file but when I build the project I get stacks of errors, mainly the missing files that the bloke took with him.

I've opened the .ism file & I see that I can tick the Self Register.
0
Vadim RappCommented:
>  mainly the missing files that the bloke took with him.

When you install the MSI, all the files that are needed, are installed, right? so take them from the computer where the product is installed, and place on the development computer where .ism wants them.

But, as I said, that installation needs much work anyways. Maybe the best would be to recreate it from scratch.
0
weephAuthor Commented:
I don't think I'm clever enough to start from scratch.

All the files are there for an .msi.  Works 100% except for the registering of the txole151.ocx.

Can't take the files from the .ism file due to the file locations no longer exist if you know what I mean.

I've tried the .ism file but get 100's of errors.

The only problem is registering txole.

I must be driving you nuts
0
Vadim RappCommented:
If you look closely at your installation, you will notice that txole151.ocx gets installed twice - one copy in system folder, another in bin. Since COM objects that are installed into system folder, get self-registered automatically, you probably can simply remove the one that goes into bin.

> I don't think I'm clever enough to start from scratch.

remember the last sentence from this comment
0
weephAuthor Commented:
Thanks I tried that and it appears to be working.

I'll do a clean install of win 7 and try it from scratch.

Let you know
0
Vadim RappCommented:
It's right step to always try on clean installation. The best is to have virtual machine (I personally use VirtualBox), with saved machine snapshot taken immediately after the installation. That way you can test over and over again, every time reverting the machine to the clean state with a single mouse click.
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
weephAuthor Commented:
Works perfectly.  Thanks again

Just asked another
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Installation

From novice to tech pro — start learning today.