how i can register an ACTIVEX exe with inno setup?

dta
08-04-2002, 03:28 PM
how i can register an ACTIVEX exe with inno setup?

there is no example in the FAQ...anyone please...

Thinker
08-04-2002, 03:31 PM
Normally, to register an ActiveX EXE, you run it with the /regserver
option. If there is a way to run commands in Inno, just put the
name of the ActiveX EXE with /regserver after it and it should be
registered.

dta
08-04-2002, 04:02 PM
i put it like that

Filename: "{app}\prjSocketsInDLL.exe /RegServer"; Description: "Launch threads"; Flags: nowait skipifsilent

and it sais at the installation an error that

the system can not find the path specified...help

Flyguy
08-05-2002, 02:49 AM
You'd better read the faq (http://www.jrsoftware.org/isfaq.php) first.

dta
08-05-2002, 08:17 AM
i'm trying to register an activeX exe and is not working like that "activex.exe \regserver"...also i am using \unregister parameter but an error occurs too...how i can register it or unregister it?

Thinker
08-05-2002, 02:52 PM
I never said \regserver, I said /regserver. It makes a huge
difference which slash you use.

Arnout, I looked through the FAQ, and I don't see anything
relating to registering ActiveX EXEs. Following some links led me
to this page, http://www.jrsoftware.org/ishowto.phtml?a=vb,
which does explain it.

Flyguy
08-05-2002, 04:01 PM
That's true, but I didn't want to spoon feed to much. It is all there and he obviously didn't take the time to read the general & vb faq.

Thinker
08-05-2002, 04:11 PM
OK. :)

They really should have it on the main FAQ page.

GreyRandall
06-06-2003, 06:03 AM
FlyGuy and Thinker, or anyone else for that matter...

I've got this problem, and I can't find any answer in the FAQ for that matter.

I have a program that needs to have the following two lines run after installation

{app}\component.exe 32M {app}\component.INI /regserver
regsvr32 {app}\component.dll

This works great and with no problems if you're doing this in a directory with no spaces in its name. However, we're trying to set up the installer so the end user can put the application wherever they want to.

I've tried doing this in VB with the Package and Deployment wizard. I've tried it with the full application path, as well as the short pathname for the installation directory. Neither works.

I then tried it with Inno 3.0.7, but still am unable to get those two lines to execute unless in a directory without spaces.

Can anyone give me an answer or advice on how to get this last part done?

EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum