Go Back   FileForums > Game Backup > PC Games > PC Games - CD/DVD Conversions > Conversion Tutorials

Reply
 
Thread Tools Display Modes
  #1  
Old 28-03-2022, 09:20
buttignol's Avatar
buttignol buttignol is offline
Registered User
 
Join Date: Sep 2012
Location: Brasil
Posts: 126
Thanks: 100
Thanked 16 Times in 13 Posts
buttignol is on a distinguished road
Icon TaskBar

I'm trying to create an icon on the taskbar
But I can not, Icone is created in ({userappdata}\Microsoft\Internet Explorer\Quick Launch\User Pinned\TaskBar)
but does not appear on the taskbar
Sera missing any entry in Regedit
or it is not possible to create icon on the taskbar
Thanks
script - Name: {userappdata}\Microsoft\Internet Explorer\Quick Launch\User Pinned\TaskBar\{#AppName}; Filename: {#path}; Check: Task; IconFilename: {app}\icon.ico
Reply With Quote
Sponsored Links
  #2  
Old 28-03-2022, 21:47
vint56 vint56 is offline
Registered User
 
Join Date: May 2011
Location: almaty
Posts: 52
Thanks: 118
Thanked 55 Times in 31 Posts
vint56 is on a distinguished road
buttignol
Attached Files
File Type: rar PinToTaskbar.rar (522.1 KB, 27 views)
Reply With Quote
The Following 2 Users Say Thank You to vint56 For This Useful Post:
buttignol (29-03-2022), Gehrman (29-03-2022)
  #3  
Old 29-03-2022, 08:54
buttignol's Avatar
buttignol buttignol is offline
Registered User
 
Join Date: Sep 2012
Location: Brasil
Posts: 126
Thanks: 100
Thanked 16 Times in 13 Posts
buttignol is on a distinguished road
Quote:
Originally Posted by vint56 View Post
buttignol
Thank you Vint56 works perfect
But I wanted to have the option in [icons] for the user to choose
Create or not icon on the taskbar
Reply With Quote
  #4  
Old 29-03-2022, 10:02
vint56 vint56 is offline
Registered User
 
Join Date: May 2011
Location: almaty
Posts: 52
Thanks: 118
Thanked 55 Times in 31 Posts
vint56 is on a distinguished road
buttignol
Attached Files
File Type: rar script.rar (856 Bytes, 14 views)
Reply With Quote
The Following User Says Thank You to vint56 For This Useful Post:
Gehrman (29-03-2022)
  #5  
Old 29-03-2022, 18:03
buttignol's Avatar
buttignol buttignol is offline
Registered User
 
Join Date: Sep 2012
Location: Brasil
Posts: 126
Thanks: 100
Thanked 16 Times in 13 Posts
buttignol is on a distinguished road
Quote:
Originally Posted by vint56 View Post
buttignol
It was very good I managed to wear with Botva2

I did not find how to modify the executable name

It creates icon in the progress bar as the name of the executable

It would be possible to create icone with the game name the type

Name: {Commandesktop} \ {# MyAppName}; Filename: {app} {# myappexename}; Check: Desktopiconscheck

But with the progress bar

Thanks
Reply With Quote
  #6  
Old 29-03-2022, 21:47
buttignol's Avatar
buttignol buttignol is offline
Registered User
 
Join Date: Sep 2012
Location: Brasil
Posts: 126
Thanks: 100
Thanked 16 Times in 13 Posts
buttignol is on a distinguished road
Quote:
Originally Posted by Cesar82 View Post
Try fixing shortcut, not executable.
Replace {#MyAppExeName} in code by {group}\{#MyAppName}.lnk
Thank you but it did not work.
Reply With Quote
  #7  
Old 30-03-2022, 20:36
Cesar82's Avatar
Cesar82 Cesar82 is offline
Registered User
 
Join Date: May 2011
Location: Brazil
Posts: 813
Thanks: 1,352
Thanked 1,753 Times in 591 Posts
Cesar82 is on a distinguished road
Quote:
Originally Posted by buttignol View Post
Thank you but it did not work.
Code:
procedure CurStepChanged(CurStep: TSetupStep);
begin
  if CurStep = ssDone then
  begin
    if userappdata.Checked then
      PinToTaskbar(ExpandConstant('{group}\{#MyAppName}.lnk'), true);
    PinToStartMenu(ExpandConstant('{group}\{#MyAppName}.lnk'), true);
  end;
end;

procedure CurUninstallStepChanged(CurUninstallStep: TUninstallStep);
begin
  if CurUninstallStep = usUninstall then
  begin
    PinToTaskbar(ExpandConstant('{group}\{#MyAppName}.lnk'), false);
    PinToStartMenu(ExpandConstant('{group}\{#MyAppName}.lnk'), false);
  end;
end;
Reply With Quote
The Following User Says Thank You to Cesar82 For This Useful Post:
buttignol (30-03-2022)
  #8  
Old 30-03-2022, 21:47
buttignol's Avatar
buttignol buttignol is offline
Registered User
 
Join Date: Sep 2012
Location: Brasil
Posts: 126
Thanks: 100
Thanked 16 Times in 13 Posts
buttignol is on a distinguished road
Quote:
Originally Posted by Cesar82 View Post
Code:
procedure CurStepChanged(CurStep: TSetupStep);
begin
  if CurStep = ssDone then
  begin
    if userappdata.Checked then
      PinToTaskbar(ExpandConstant('{group}\{#MyAppName}.lnk'), true);
    PinToStartMenu(ExpandConstant('{group}\{#MyAppName}.lnk'), true);
  end;
end;

procedure CurUninstallStepChanged(CurUninstallStep: TUninstallStep);
begin
  if CurUninstallStep = usUninstall then
  begin
    PinToTaskbar(ExpandConstant('{group}\{#MyAppName}.lnk'), false);
    PinToStartMenu(ExpandConstant('{group}\{#MyAppName}.lnk'), false);
  end;
end;
Now yes Solved
A small modification
Quote:
procedure CurStepChanged(CurStep: TSetupStep);
begin
if CurStep = ssDone then begin
if task then
//if userappdata.Checked then
PinToTaskbar(ExpandConstant('{group}\{#AppName}.ln k'), true);
//PinToTaskbar(ExpandConstant('{app}\{#AppExec}'), true);
end;
Reply With Quote
  #9  
Old 30-03-2022, 21:54
buttignol's Avatar
buttignol buttignol is offline
Registered User
 
Join Date: Sep 2012
Location: Brasil
Posts: 126
Thanks: 100
Thanked 16 Times in 13 Posts
buttignol is on a distinguished road
Thank you Vint56, Cesar82

Perfect the way I wanted

Hugs
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
inno setup problem and desktop icon under windows fabrieunko Conversion Tutorials 2 10-10-2021 23:18
How to change the icon of unins000.exe? nizcoz Conversion Tutorials 8 14-06-2017 12:51
Transformers: Rise of the Dark Spark 2xDVD5 *GBB+srep+FreeArc lzma* ahmetbtmn PC Games - CD/DVD Conversions 6 02-07-2014 13:46
Anyone know why some PS2 games waste memorycard space needlessly? Cyber Akuma PS2 Games 8 09-11-2006 16:54
Icon is always the same _SpRoKaT_ CD/DVD Copy Protections & Utilities 1 04-07-2001 09:07



All times are GMT -7. The time now is 17:16.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2022, vBulletin Solutions Inc.
Copyright 2000-2020, FileForums @ https://fileforums.com