Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

using Regsvr32.exe inside a Installshield project

647 views
Skip to first unread message

Emily Chang

unread,
Sep 22, 1999, 3:00:00 AM9/22/99
to
I try to use Regsvr32.exe /s to register some DLLs for our products.
I use the LaunchApp to call up the Regsvr32.exe and use '/s' to run the
Regsvr32.exe program silently...
However, I don't know why it is not registering the DLLs correctly in the
install program, if I take out the '/s' parameter, then the DLLs are
registered correctly.

I am using WinNT 4.0, service pack 5, IE 5 and IS Prof. 5.53.

Anyone has similar experience or solutions, please help me... Thanks!

- Emily

chuck santos

unread,
Sep 23, 1999, 3:00:00 AM9/23/99
to
Hi Emily i have the same problem when i run the Regsvr32.exe /s when i try
to register a ocx
if i use the /s it will not register but if i take out the /s it registers
fine but then i have to live with the msg box that comes up and tells you
that it was succesfull.I havent figured it out yet myself ..

chuck

Emily Chang wrote in message <37e97...@news.installshield.com>...

Mickey Ferguson

unread,
Sep 23, 1999, 3:00:00 AM9/23/99
to
Emily Chang wrote in message <37e97...@news.installshield.com>...
>I try to use Regsvr32.exe /s to register some DLLs for our products.
>I use the LaunchApp to call up the Regsvr32.exe and use '/s' to run the
>Regsvr32.exe program silently...
>However, I don't know why it is not registering the DLLs correctly in the
>install program, if I take out the '/s' parameter, then the DLLs are
>registered correctly.


I would be willing to bet that the problem is that the lone argument to
LaunchApp (or LaunchAppAndWait) needs to be specifically Regsvr32.exe, and
then the second parameter needs to be "/s " + the file to be registered, or
something like that. The problem is probably that you're putting the /s as
part of the first argument, and the LaunchApp functions want only a file
name.

e.g.

LaunchApp("regsvr32.exe", "/s " + szFile);

instead of

LaunchApp("regsvr32.exe /s", szFile);


Emily Chang

unread,
Sep 23, 1999, 3:00:00 AM9/23/99
to
Thanks for your help. The install program seems working fine now after I
made the changes according to your suggestion.
Thank You!

- Emily

Mickey Ferguson wrote in message <37ea4...@news.installshield.com>...

Tan

unread,
Oct 3, 1999, 3:00:00 AM10/3/99
to

Hello,

Pls tell me how to setup dialup networking programatically under Win95,
Win98 and WinNT with VC4.0 or above, i.e., what APIs should be used to setup
dialup networking.

If you know where I can find useful information to this question, pls also
tell me.

Any help will be appreciated.

My Email addr. is: zh...@public.cs.hn.cn

Tan


0 new messages