Unistall icon default of inno setup -


i using inno setup (5.5.3) create executable. wish use default uninstall icon (ex: same uninstall icon of program inno setup example). when create executable, uninstall icon of program same icon of program, , can generate confusion users.

; script generated inno setup script wizard. ; see documentation details on creating inno setup script files!  #define myappname "remove xyz-duplicate lidar points" #define myappversion "0.2 beta" #define myappexename "remove_duplicate_xyz_executable_project.exe"  [setup] ; note: value of appid uniquely identifies application. ; not use same appid value in installers other applications. ; (to generate new guid, click tools | generate guid inside ide.) appid={{73f937b9-0cd9-44f1-b07e-17cd2399ee13} appname={#myappname} appversion={#myappversion} ;appvername={#myappname} {#myappversion} defaultdirname={pf}\{#myappname} defaultgroupname={#myappname} allownoicons=yes outputbasefilename=remove xyz-duplicate lidar points setupiconfile=c:\pythonscript\script_fun\remove_duplicate_xyz\lidar_remove_xyz_duplicate_point_executable_project\iconremoveduplicate_two_80res_small.ico compression=lzma solidcompression=yes  [languages] name: "english"; messagesfile: "compiler:default.isl" name: "brazilianportuguese"; messagesfile: "compiler:languages\brazilianportuguese.isl" name: "danish"; messagesfile: "compiler:languages\danish.isl" name: "french"; messagesfile: "compiler:languages\french.isl" name: "german"; messagesfile: "compiler:languages\german.isl" name: "italian"; messagesfile: "compiler:languages\italian.isl" name: "norwegian"; messagesfile: "compiler:languages\norwegian.isl" name: "russian"; messagesfile: "compiler:languages\russian.isl" name: "spanish"; messagesfile: "compiler:languages\spanish.isl"  [tasks] name: "desktopicon"; description: "{cm:createdesktopicon}"; groupdescription: "{cm:additionalicons}"; flags: unchecked name: "quicklaunchicon"; description: "{cm:createquicklaunchicon}"; groupdescription: "{cm:additionalicons}"; flags: unchecked; onlybelowversion: 0,6.1  [files] source: "c:\program files (x86)\inno setup 5\examples\myprog.exe"; destdir: "{app}"; flags: ignoreversion source: "c:\pythonscript\script_fun\remove_duplicate_xyz\lidar_remove_xyz_duplicate_point_executable_project\dist\_ctypes.pyd"; destdir: "{app}"; flags: ignoreversion source: "c:\pythonscript\script_fun\remove_duplicate_xyz\lidar_remove_xyz_duplicate_point_executable_project\dist\_hashlib.pyd"; destdir: "{app}"; flags: ignoreversion source: "c:\pythonscript\script_fun\remove_duplicate_xyz\lidar_remove_xyz_duplicate_point_executable_project\dist\_socket.pyd"; destdir: "{app}"; flags: ignoreversion source: "c:\pythonscript\script_fun\remove_duplicate_xyz\lidar_remove_xyz_duplicate_point_executable_project\dist\_ssl.pyd"; destdir: "{app}"; flags: ignoreversion source: "c:\pythonscript\script_fun\remove_duplicate_xyz\lidar_remove_xyz_duplicate_point_executable_project\dist\bz2.pyd"; destdir: "{app}"; flags: ignoreversion source: "c:\pythonscript\script_fun\remove_duplicate_xyz\lidar_remove_xyz_duplicate_point_executable_project\dist\library.zip"; destdir: "{app}"; flags: ignoreversion source: "c:\pythonscript\script_fun\remove_duplicate_xyz\lidar_remove_xyz_duplicate_point_executable_project\dist\python27.dll"; destdir: "{app}"; flags: ignoreversion source: "c:\pythonscript\script_fun\remove_duplicate_xyz\lidar_remove_xyz_duplicate_point_executable_project\dist\remove_duplicate_xyz_executable_project.exe"; destdir: "{app}"; flags: ignoreversion source: "c:\pythonscript\script_fun\remove_duplicate_xyz\lidar_remove_xyz_duplicate_point_executable_project\dist\select.pyd"; destdir: "{app}"; flags: ignoreversion source: "c:\pythonscript\script_fun\remove_duplicate_xyz\lidar_remove_xyz_duplicate_point_executable_project\dist\unicodedata.pyd"; destdir: "{app}"; flags: ignoreversion ; note: don't use "flags: ignoreversion" on shared system files  [icons] name: "{group}\{#myappname}"; filename: "{app}\{#myappexename}" name: "{group}\{cm:uninstallprogram,{#myappname}}"; filename: "{uninstallexe}" name: "{commondesktop}\{#myappname}"; filename: "{app}\{#myappexename}"; tasks: desktopicon name: "{userappdata}\microsoft\internet explorer\quick launch\{#myappname}"; filename: "{app}\{#myappexename}"; tasks: quicklaunchicon  [run] filename: "{app}\{#myappexename}"; description: "{cm:launchprogram,{#stringchange(myappname, '&', '&&')}}"; flags: nowait postinstall skipifsilent 

you can customize icon want appear in menu adding iconfilename parameter icon entry, this:

[icons] name: "{group}\{cm:uninstallprogram,{#myappname}}"; filename: "{uninstallexe}" iconfilename: "{app}\myuninstallericon.ico 

more info in help

iconfilename

the filename of custom icon (located on user's system) displayed. can executable image (.exe, .dll) containing icons or .ico file. if parameter not specified or blank, windows use file's default icon. parameter can include constan


Comments

Popular posts from this blog

monitor web browser programmatically in Android? -

Shrink a YouTube video to responsive width -

wpf - PdfWriter.GetInstance throws System.NullReferenceException -