Jump to content

How to install a com dll with non-admin a/c, per-user


Recommended Posts

Guest CHANDRA
Posted

Hi,

 

I'm using Windows Vista Ultimate, Version 6.0, Service Pack 1.0

I've developed a com dll setup file, which gets installed properly with

administrator a/c. But I want it be installed by non-admin a/c and it

should be accessible just for that user. When I try to install the setup

with non-admin a/c, it throws an error message saying "You do not have

sufficient privileges to complete this installation for all users of the

machine. Logon as administrator and retry this installation". I tried

the installation by turning UAC on and off - but no impact. Also I tried

changing the "Words" field of my setup.exe through msiinfo.exe (Some

where its mentioned to change this value for per-user installation). But

that too hasn't given me any success.

 

Please note, the intention is to install as non-admin and not admin

level installation.

 

Thanks,

Chandra

 

 

--

CHANDRA

  • Replies 2
  • Created
  • Last Reply

Popular Days

Guest Bruce Chambers
Posted

CHANDRA wrote:<span style="color:blue">

> Hi,

>

> I'm using Windows Vista Ultimate, Version 6.0, Service Pack 1.0

> I've developed a com dll setup file, which gets installed properly with

> administrator a/c. But I want it be installed by non-admin a/c and it

> should be accessible just for that user. When I try to install the setup

> with non-admin a/c, it throws an error message saying "You do not have

> sufficient privileges to complete this installation for all users of the

> machine. Logon as administrator and retry this installation". I tried

> the installation by turning UAC on and off - but no impact. Also I tried

> changing the "Words" field of my setup.exe through msiinfo.exe (Some

> where its mentioned to change this value for per-user installation). But

> that too hasn't given me any success.

>

> Please note, the intention is to install as non-admin and not admin

> level installation.

>

> Thanks,

> Chandra

>

> </span>

 

 

Sorry, but what you want is completely contrary to proper security

practices. No regular user should ever have such system-level access.

You might as well be asking for for help developing malware. If that's

not your intent, then redesign your application to be Vista-compatible.

 

 

--

 

Bruce Chambers

 

Help us help you:

http://www.catb.org/~esr/faqs/smart-questions.html

 

http://support.microsoft.com/default.aspx/kb/555375

 

They that can give up essential liberty to obtain a little temporary

safety deserve neither liberty nor safety. ~Benjamin Franklin

 

Many people would rather die than think; in fact, most do. ~Bertrand Russell

 

The philosopher has never killed any priests, whereas the priest has

killed a great many philosophers.

~ Denis Diderot

Guest Anthony Wieser
Posted

You want to search MSDN for:

"Configuring COM Components for Registration-Free Activation"

 

That seems to be what you're asking for.

 

Anthony Wieser

Wieser Software Ltd

 

"Bruce Chambers" <bchambers@cable0ne.n3t> wrote in message

news:ub4G3FtWJHA.5052@TK2MSFTNGP04.phx.gbl...<span style="color:blue">

> CHANDRA wrote:<span style="color:green">

>> Hi,

>>

>> I'm using Windows Vista Ultimate, Version 6.0, Service Pack 1.0

>> I've developed a com dll setup file, which gets installed properly with

>> administrator a/c. But I want it be installed by non-admin a/c and it

>> should be accessible just for that user. When I try to install the setup

>> with non-admin a/c, it throws an error message saying "You do not have

>> sufficient privileges to complete this installation for all users of the

>> machine. Logon as administrator and retry this installation". I tried

>> the installation by turning UAC on and off - but no impact. Also I tried

>> changing the "Words" field of my setup.exe through msiinfo.exe (Some

>> where its mentioned to change this value for per-user installation). But

>> that too hasn't given me any success.

>>

>> Please note, the intention is to install as non-admin and not admin

>> level installation.

>>

>> Thanks,

>> Chandra</span></span>

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


×
×
  • Create New...