Windows Vista Tips

Windows Vista Tips > Newsgroups > Windows Vista General Discussion > COM component registration problem

Reply
Thread Tools Display Modes

COM component registration problem

 
 
batul
Guest
Posts: n/a

 
      10-04-2008
we have an application for which installer has been created using
installshield. this appilcation is installed for all user of that PC. it is
done by setting ALLUSERS property to 2 in installer. this application
consists of COM server exe, which is used by main application. Once this
application is installed by administrator on any PC it works perfectly fine
for that user but if any other user tries to execute an application for first
time, OS does some configuration for that user and PC restarts. different
behaviour has been observed on XP & vista.
Operating system XP
Operating system does configuration for each group(users group defined by
OS) once, when application is executed by user of that group for first time.
after that any user of a group for which configuration has been done can
sucessfully execute an application.
Operating system Vista
OS does configuration for each user of that Pc and do not retain this
information(i.e. is any other user access an application it configure for
this user and previous user setting has been destroyed) so at any time only
one user can successfully execute an application. it is been observed that
there is some problem related with COM server registration as if COM server
EXE has been executed before executing application no problem occurs who so
ever execute an application.
 
Reply With Quote
 
 
 
 
Paul Montgumdrop
Guest
Posts: n/a

 
      10-04-2008
batul wrote:
> we have an application for which installer has been created using
> installshield. this appilcation is installed for all user of that PC. it is
> done by setting ALLUSERS property to 2 in installer. this application
> consists of COM server exe, which is used by main application. Once this
> application is installed by administrator on any PC it works perfectly fine
> for that user but if any other user tries to execute an application for first
> time, OS does some configuration for that user and PC restarts. different
> behaviour has been observed on XP & vista.
> Operating system XP
> Operating system does configuration for each group(users group defined by
> OS) once, when application is executed by user of that group for first time.
> after that any user of a group for which configuration has been done can
> sucessfully execute an application.
> Operating system Vista
> OS does configuration for each user of that Pc and do not retain this
> information(i.e. is any other user access an application it configure for
> this user and previous user setting has been destroyed) so at any time only
> one user can successfully execute an application. it is been observed that
> there is some problem related with COM server registration as if COM server
> EXE has been executed before executing application no problem occurs who so
> ever execute an application.


Have you looked at this link about ALLUSERS?

http://msdn.microsoft.com/en-us/libr...59(VS.85).aspx

Are you running the installshield installation package exe using the Run
as Administrator setting on the exe when UAC is enabled?

About the COM registration, it seems that UAC can interfere with this
according to the link.

<http://chrisbensen.blogspot.com/2007/02/com-registration-under-microsoft.html>

It's also talking about using the hidden built-in Administrator account,
yes, that same built-in Administrator account on XP.

<http://www.computerperformance.co.uk/vista/vista_administrator_activate.htm#Benefits_of_Vista s_Hidden_Administrator_Account>

You should read the information in the link, like read the section about
the benefits of using the Administrator account, which is the account is
a admin account that has full admin rights all the time and UAC can
still be enabled.

As opposed to using your default out of the box user/admin account on
Vista that does not have full rights, because of the two access tokens
being used on the user/admin account, with the default being the
Standard user token. And that's why you must run something with Run As
Administrator to can access to the Admin Full rights token and escalate
privileges, not so with the built-in Administrator account.

<http://technet.microsoft.com/en-us/library/cc709691.aspx>



 
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Tom Clancy's Rainbow six vegas Registration problem leeds_rhinos Windows Vista Games 0 04-05-2008 03:49 PM
There is *definitely* a problem with Vista's VPN component tjahns Windows Vista Networking 1 07-21-2007 09:15 PM
ActiveX component John in Cumbria Windows Vista General Discussion 2 03-08-2007 06:22 PM
Component Services Dieter Windows Vista General Discussion 1 09-28-2006 12:34 AM
Vista 64bit registration problem malky Windows Vista Installation 2 08-08-2006 12:22 PM



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59