Install .net com component without administrative rights

Got a problem you cannot solve? Try here.
Post Reply
tzachk
Posts: 171
Joined: Wed Jul 18, 2012 12:14 am

Install .net com component without administrative rights

Post by tzachk »

Hi,

I need to create a web based msi installer that shall register a .net COM component (regasm) for the current user.
I don't expect the end user to have administrative rights on his machine, thus the registration should write to current user.

Any ideas?

Regards,
T.
FrancescoT
Site Admin
Posts: 5361
Joined: Sun Aug 22, 2010 4:28 am

Re: Install .net com component without administrative rights

Post by FrancescoT »

Dear Tzachk,

... Admin privileges are required to allow Regasm.exe to update the registry.
If UAC is enabled there isn't too much to do.

Regards
Francesco Toscano
InstallAware Software

White Papers (HowTos) - http://www.installaware.com/publication ... papers.htm
Publications - http://www.installaware.com/publications-review.htm
InstallAware Help -F1 anywhere in the InstallAware IDE
tzachk
Posts: 171
Joined: Wed Jul 18, 2012 12:14 am

Re: Install .net com component without administrative rights

Post by tzachk »

Hi Francesco,

It is doable even with UAC as long as you write to HKCU.

Regards,
T.
FrancescoT
Site Admin
Posts: 5361
Joined: Sun Aug 22, 2010 4:28 am

Re: Install .net com component without administrative rights

Post by FrancescoT »

Dear Tzachk,

... but NET runtimes are installed per machine and not per user and for what I know, they can be installed per machine only.

Regards
Francesco Toscano
InstallAware Software

White Papers (HowTos) - http://www.installaware.com/publication ... papers.htm
Publications - http://www.installaware.com/publications-review.htm
InstallAware Help -F1 anywhere in the InstallAware IDE
Post Reply