I think your program is repacked by Inno. If you want to automatically pins it onto the taskbar, maybe you just need to modify the function CurPageChanged() , you can remove IsTaskSelected()function,and remove the [task] section. like following: procedure CurPageChanged(CurPageID: Integer); begin //When Finished page is shown, call the function //You can also call is when the "Finish" button clicked. if CurPageID = wpFinished then begin //if IsTaskSelected('pintaskbar') then //if Selected the [task] zylPinAppToTaskbar(ExpandConstant('{app}'), 'MyProg.exe'); end; end; Hope can help you. Regards... ;-)