Install .net com component without administrative rights

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

Install .net com component without administrative rights

Postby tzachk » Mon Dec 02, 2013 4:17 am

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

Postby FrancescoT » Mon Dec 02, 2013 11:42 am

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

Postby tzachk » Mon Dec 30, 2013 10:53 am

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

Postby FrancescoT » Mon Dec 30, 2013 1:45 pm

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


Return to “Technical Support”

Who is online

Users browsing this forum: Google [Bot], Majestic-12 [Bot] and 81 guests