Click here to Skip to main content
15,891,431 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: CListCtrl Border Pin
john563223-Sep-10 4:17
john563223-Sep-10 4:17 
QuestionReason for UAC prompt , porting for Win7 Pin
Moak22-Sep-10 6:14
Moak22-Sep-10 6:14 
AnswerRe: Reason for UAC prompt , porting for Win7 Pin
Eugen Podsypalnikov22-Sep-10 6:33
Eugen Podsypalnikov22-Sep-10 6:33 
GeneralRe: Reason for UAC prompt , porting for Win7 Pin
Moak22-Sep-10 6:38
Moak22-Sep-10 6:38 
GeneralRe: Reason for UAC prompt , porting for Win7 Pin
Eugen Podsypalnikov22-Sep-10 6:57
Eugen Podsypalnikov22-Sep-10 6:57 
GeneralRe: Reason for UAC prompt , porting for Win7 Pin
Moak23-Sep-10 5:49
Moak23-Sep-10 5:49 
AnswerRe: Reason for UAC prompt , porting for Win7 Pin
krmed22-Sep-10 7:05
krmed22-Sep-10 7:05 
GeneralRe: Reason for UAC prompt , porting for Win7 Pin
Moak22-Sep-10 12:58
Moak22-Sep-10 12:58 
krmed wrote:
UAC also uses heuristics to determine if an application needs admin privilege.


Yes that's it! The file is a software_updater.exe, the text "update" in file name or version info triggers the "installer detection". Now have to find a way around that, I am curious if I can do the following: 1) keep file name without UAC prompt, 2) elevate privileges on runtime when actually needed. Most time my software updater justs needs to run with normal user rights, only when the main application is updated it would need more privileges.

Btw, if someone is interested, I would have never mentioned the problem if my MSI installer wouldn't have failed. You can't run (non-deferred) custom actions which will then trigger a UAC prompt, they fail silently.

Thanks for the info! Smile | :)

QuestionCreate a new menu in the MDI appliaction [modified] Pin
VulcanYang22-Sep-10 0:14
VulcanYang22-Sep-10 0:14 
AnswerRe: Create a new menu in the MDI appliaction Pin
Sauro Viti22-Sep-10 0:19
professionalSauro Viti22-Sep-10 0:19 
AnswerRe: Create a new menu in the MDI appliaction Pin
tayyebe5-Oct-10 1:31
tayyebe5-Oct-10 1:31 
GeneralRe: Create a new menu in the MDI appliaction Pin
VulcanYang5-Oct-10 3:02
VulcanYang5-Oct-10 3:02 
QuestionTime Format Pin
john563222-Sep-10 0:14
john563222-Sep-10 0:14 
AnswerRe: Time Format Pin
Shivanand Gupta22-Sep-10 0:36
Shivanand Gupta22-Sep-10 0:36 
AnswerRe: Time Format Pin
Richard MacCutchan22-Sep-10 1:44
mveRichard MacCutchan22-Sep-10 1:44 
AnswerRe: Time Format Pin
Member 392263922-Sep-10 2:08
Member 392263922-Sep-10 2:08 
GeneralRe: Time Format Pin
john563222-Sep-10 3:34
john563222-Sep-10 3:34 
AnswerRe: Time Format Pin
Aescleal22-Sep-10 3:38
Aescleal22-Sep-10 3:38 
GeneralRe: Time Format Pin
sharp prospector22-Sep-10 3:56
sharp prospector22-Sep-10 3:56 
GeneralRe: Time Format Pin
john563222-Sep-10 6:47
john563222-Sep-10 6:47 
GeneralRe: Time Format Pin
sharp prospector22-Sep-10 7:44
sharp prospector22-Sep-10 7:44 
QuestionUsing pdb file Pin
VVVimal21-Sep-10 23:47
VVVimal21-Sep-10 23:47 
AnswerRe: Using pdb file Pin
Niklas L22-Sep-10 1:59
Niklas L22-Sep-10 1:59 
QuestionHow to give mouse event on rectangle and resize Pin
raju_shiva21-Sep-10 18:55
raju_shiva21-Sep-10 18:55 
AnswerRe: How to give mouse event on rectangle and resize Pin
«_Superman_»21-Sep-10 19:14
professional«_Superman_»21-Sep-10 19:14 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.