Page 1 of 1

Install .net com component without administrative rights

Posted: Mon Dec 02, 2013 4:17 am
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.

Re: Install .net com component without administrative rights

Posted: Mon Dec 02, 2013 11:42 am
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

Re: Install .net com component without administrative rights

Posted: Mon Dec 30, 2013 10:53 am
by tzachk
Hi Francesco,

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

Regards,
T.

Re: Install .net com component without administrative rights

Posted: Mon Dec 30, 2013 1:45 pm
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