Alaska Software Inc. - Regsvr32
Username: Password:
AuthorTopic: Regsvr32
Jorge LRegsvr32
on Sun, 25 Jan 2009 09:42:36 -0300
Hello to all

my problem is that regsvr32.exe not work in windows vista home

i must register the activex in xp, copy the 4 to 8 key that generate, export 
to file and import those keys in vista with reg.exe command

are any way to make easy this proccess ?


regards
Rodd Graham Re: Regsvr32
on Sun, 25 Jan 2009 20:29:57 +0000
Hello Jorge,

> my problem is that regsvr32.exe not work in windows vista home
> 
> i must register the activex in xp, copy the 4 to 8 key that generate,
> export to file and import those keys in vista with reg.exe command
> 
> are any way to make easy this proccess ?

It is hard to believe that regsvr32.exe is not part of vista home.  I would 
think that too many software installers would fail.  Nevertheless, I do not 
know for sure since I do not use any non-business OSes.

FWIW, doing a direct registry insert does not necessarily complete the instalation 
for every activex component.  RegSvr32 is about giving process control to 
the component to perform any installation steps the component requires.  
For most components it is nothing more than adding the components GUID and 
symbolic names to the registry.

Regards,

Rodd Graham, Consultant
Graham Automation Systems, LLC
Jorge LRe: Regsvr32
on Sun, 25 Jan 2009 20:23:15 -0300
Hi Rodd,

From that the commands that we execute do not run as administrator and it is 
because of it that always we must authorize, on not having seen l 
authorization, fault

then, if you run cmd like administrator, regsvr32 work !  ( tell me this 
héctor pezzoa, and it´s true ! )

now, how excute an external command like administrator inside xbase ?


"Rodd Graham" <rgraham@grahamautomation.com> escribió en el mensaje de 
noticias news:6c56a922481a08cb4d1087fedece@news.alaska-software.com...
> Hello Jorge,
>
>> my problem is that regsvr32.exe not work in windows vista home
>>
>> i must register the activex in xp, copy the 4 to 8 key that generate,
>> export to file and import those keys in vista with reg.exe command
>>
>> are any way to make easy this proccess ?
>
> It is hard to believe that regsvr32.exe is not part of vista home.  I 
> would think that too many software installers would fail.  Nevertheless, I 
> do not know for sure since I do not use any non-business OSes.
>
> FWIW, doing a direct registry insert does not necessarily complete the 
> instalation for every activex component.  RegSvr32 is about giving process 
> control to the component to perform any installation steps the component 
> requires.  For most components it is nothing more than adding the 
> components GUID and symbolic names to the registry.
>
> Regards,
>
> Rodd Graham, Consultant
> Graham Automation Systems, LLC
>
>
>
Rodd Graham Re: Regsvr32
on Sun, 25 Jan 2009 22:52:35 +0000
Hello Jorge,

> From that the commands that we execute do not run as administrator and
> it is because of it that always we must authorize, on not having seen
> l authorization, fault
> 
> then, if you run cmd like administrator, regsvr32 work !  ( tell me
> this hctor pezzoa, and its true ! )
> 
> now, how excute an external command like administrator inside xbase ?

RUNAS.EXE - Included with the (NT Kernel) OS to allow you to start a process 
using specified credentials.  You can also spawn new processes directly using 
the appropriate Win32 apis necessary to specify the process credentials which 
is all RUNAS.EXE is doing.

Of course, your application will need credentials for an administrator on 
the machine that it is running on.  Computer security is a difficult balancing 
act of preventing unauthorized logic access to machine resources while allowing 
legitimate activities to occur.  If applications could self certify their 
legitimacy, then rogue software would just do the same.  It takes external 
action for applications to get the green light.

If you are delivering software to external clients, you need to identify 
the portions of the code that need administrative rights (typically installation 
time) and make sure the instructions document where these rights are required. 
 Beyond this, you should gracefully fail whenever your application is executing 
without the necessary rights.

Regards,

Rodd Graham, Consultant
Graham Automation Systems, LLC