1
votes

I have a ClickOnce Wpf application which needs .Net 4.5 to run. My users are all over the country (about 60 of them) and organizing admin rights for each pc is going to be a very difficult task. Is there a way to embed .Net 4.5 into my application so I don't have to install .Net 4.5 on each user's pc ? I have already statically linked the sqlite database to remove the VC Redistributable installation.

Thx for any suggestions.

2

2 Answers

2
votes

you must be administrator to install .net framework, there is NO sane way around this.

there are some tricks like once mentioned in:

.NET Framework install w/o admin rights

but thats generally a very bad idea.

WIN8 users will have it installed.

WIN7 will have only 3.5 maybe downgrade to .net 3.5? do you really use 4.5 features?

0
votes

If you use ClickOnce and your user doesn't have the Framework 4.5 installed the installer will check this and will automatically download the correct Framework.

To summarize you have nothing to do, ClickOnce process handle this for you.