Thread: BlackBox v2
View Single Post
  #468  
Old 15-08-2015, 02:07
ivanlakersss666 ivanlakersss666 is offline
Registered User
 
Join Date: Mar 2015
Location: Miami beach
Posts: 105
Thanks: 10
Thanked 11 Times in 11 Posts
ivanlakersss666 is on a distinguished road
Quote:
Originally Posted by Razor12911 View Post
I forgot about that. Either way, I could make it work. It is very simple.
Make two functions name them GetAppExec and GetAppDir.
The result in GetAppExec must be ExpandConstant ('{#AppExec}');
The result in GetAppDir must be
ExtractFileDir(ExpandConstant ('{#AppExec}'));
then under Icon section.
the filename must be {code:GetAppExec}
and WorkingDir must be {code:GetAppDir}
Simple as that.

[Icons]
Name: {group}\Uninstall {#AppName}; Filename: {app}\unins000.exe; WorkingDir: {app}; Check: CheckError
Name: {group}\{#AppName}; Filename: {app}\{#AppExec}; WorkingDir: {app}; Check: CheckError
Name: {commondesktop}\{#AppName}; Filename: {app}\{#AppExec}; WorkingDir: {app}; Check: CheckError

Edit me this please....i need you suport M,R Razor for the game Lord of Fallen
Reply With Quote