Jump to content


Photo

AddFolderIcon and admin mode


  • Please log in to reply
1 reply to this topic

#1 Perotin

Perotin
  • Full Members
  • 407 posts

Posted 02 April 2012 - 14:28

Hi there!

I am still stuck to InstallShield 5 and would like to set the program icon to run in admin mode (on 64 bit windows, otherwise my program will not run correctly).

Is there any way to change to compatibility settings?

best regards
Thomas
Gruß / regards
Thomas

#2 Perotin

Perotin
  • Full Members
  • 407 posts

Posted 02 April 2012 - 15:00

OK, I found a way to set the compatibility mode without AddFolderIcon.

You have to set a registry value in key
HKCU\Software\Microsoft\Windows NT\CurrentVersion\AppCompatFlags\Layers
with program path as name and string "RUNASADMIN" as value in Win7 (in Win8 you have to use "~ RUNASADMIN").

That should work ...
Gruß / regards
Thomas