c#


Resolve unknown publisher of WPF windows installer through visual studio 2015 setup [duplicate]


When I start my application with administrative permissions (right click on the EXE | Run as administrator), the UAC dialog with an orange or yellow banner appears with the warning that the publisher is unknown. Instead of purchase a certificate, I would like to do it differently. I think there must be possibilities to accomplish that without a purchased certificate. Basically, I want the look and feel when I start, for example, the calc.exe (Calculator in Windows) with administrative permissions. Which options or alternatives do I have?
None!
For the publisher to be known, you application must have a digital signature and the certificate used to sign it must be trusted. The only possibility to achieve it is to buy a digital certificate from a well-known certificate authority.
The digital signature should also contain timestamp. It will keep your application trusted even when the certificate expires. If there's no timestamp on the digital signature, the application will become untrusted again as soon as the certificate expires.
You can create a self-signed digital certificate and sign your application with it. But it won't be trusted. There's a workaround: if users install this certificate into Trusted Root Certificate Authorities or Trusted Publishers, then and only then your application will become trusted, and UAC prompt would have blue background instead of yellow. But it requires users to explicitly express trust to your digital certificate.
So the only solution that requires no steps from the users is to buy a digital certificate.

Related Links

Searching for records on one exact day
Must declare the scalar variable “#ID” for insert parameter
How to get an Image from facebook and use ImageResizer MVC4 & C#
Launch another application [duplicate]
WriteAllLines arguments give an overload error
Calling a C# DLL from C; linking problems
Does C# application made in windows 7 will run in windows xp [closed]
String was not recognized as a valid boolean on sorting
ILMerge : predefined type defined in multiples assemblies
How to query if a website has SSL certificate?
RegEx to find if a string lies in a range of number strings
How to access and consume C# dlls in Java swings GUI applications
Process a List<Dictionary<int, T>> to a List<List<T>> C# generics [closed]
Possible to temporarily store a file locally before sending to ftp server?
WCF hybrid service
How to organize a HIERARCHY of non-UI threads and get status and progress back for UI consumption

Categories

HOME
internet-explorer
stata
azure-active-directory
alasql
mysqli
apache-storm
c++builder
localhost
kohana
genexus
drush
expo
camunda
infopath
css-float
google-street-view
android-wifi
ng-tags-input
inline-assembly
oracle-golden-gate
ps
cloudformation
libxml2
spock
federated
jboss-arquillian
textview
login-required
n1ql
dropdownbox
mootools
maven-2
abide
lex
gem-fury
blueimp
usernotifications
piranha-cms
stream-socket-client
cancan
px4
jcifs
sharpssh
androiddesignsupport
multi-targeting
robotc
suitesparse
therubyracer
stringbuilder
firebase-polymer
visual-web-developer
geokit
paypal-subscriptions
chomsky-normal-form
code-translation
jersey-test-framework
app-data
android-filterable
opennebula
minko
xmla
nsq
information-hiding
worklight-appcenter
atg-dynamo
rails-migrations
html5-filesystem
imaplib
thucydides
grunt-contrib-imagemin
usersettings
http-compression
generator-expression
phone-state-listener
invalidoperationexception
orchestration
jquery-1.8
django-admin-tools
diazo
helicontech
jquery-click-event
file-processing
jexcelapi
netduino
ironpython-studio

Resources

Mobile Apps Dev
Database Users
javascript
java
csharp
php
android
MS Developer
developer works
python
ios
c
html
jquery
RDBMS discuss
Cloud Virtualization
Database Dev&Adm
javascript
java
csharp
php
python
android
jquery
ruby
ios
html
Mobile App
Mobile App
Mobile App