<< Previous thread | Next thread >> |
Changing X-Launcher icons Go to page << >> |
Author | Post |
Nuvolari |
| ||
Registered Member #4173 Joined: Mon 16 Apr 2007 - 12:27Posts: 294 | Taf wrote ... It's a pleasure Thanks to Nuvolari for the support! | ||
Back to top |
sl23 |
| ||
Registered Member #39172 Joined: Fri 30 Jul 2010 - 21:42Location: a Galaxy S7 far far away... Posts: 25 | Nuvolari wrote ... Please, tell me exactly which app-icon are you trying to change using Resource Hacker (is it an X-launcher or winPenPackNet.exe?), I will try to reproduce your case. About AutoIt3, I write in few steps how to compile an X-launcher: 1) download AutoIt3 -Link- , unpack it, it should already contain SciTe subfolder (can't remember), if not get it from -Link- (SciTE4AutoIt3_Portable.zip) 2) download -Link- and unpack into a folder named X-Launcher_source 3) run .\AutoIt3\SciTe\SciTE.exe 4) open x-compiler.au3 from X-Launcher_source 5) move your x-icon.ico into subfolder .\graphics, by default it's wPP icon 6) in SciTe click on Tools\Compile (Ctrl+F7)\Compile Script 7) your brand new X-launcher.exe is created in the main directory X-Launcher_source having icon = x.icon.ico By playing with the lines of the code in x-compiler.au3 you may choose icon, product name, product version, etc. Hope this helps P.S.: if you run into issues using old Windows OS with the latest AutoIt 3.3.x version, try with the 3.2.12.1 -Link- That's a great help, thanks for the detailed reply Sorry for my inadequate posts lacking information! I am using the latest versions of these apps: AutoIT Portable Resource Hacker X-Launcher SyMenu PortableAppsMenu A little background info so you may understand my purpose: I started my portable venture with PortableAppsMenu around 2008, purely for portability. As my interest and knowledge grew, as well as my app collection, I realised the importance of auto-updates, hence I stuck with this menu to this day. Though I have searched for a replacement due to it's slow progress and few apps, plus you can't just add your own. Recently I came across SyMenu, which has an amazing concept, add any app to the database and it can be auto-updated! So I have both menu's, though I'm trying to rid myself of PA.com menu. I also found useful the X-Launcher for creating portable versions of my favourite semi-portable apps. Though I have very basic knowledge on how to use it!!! But it saves most apps that use AppData so that's pretty much solved the issues I have with apps such as PartitionWizard, WinRAR, MacriumReflect, KnobMan and a few others. So I tried changing my X-KnobMan X-Launcher icon but if I rename or move the exe it changes to the default wPP icon? I will however try out your instructions at a more appropriate time and let you know how I get on. One other issue that eludes me... How do I change the text that appears in either menu? Rather than have to rename apps within menu's, I'd like to know how to change the default name - 'winPenPack X-Launcher' - to the $AppName$. Which file from the source folder would need editing and what line do I need to change? Thank you again for your kind help [ Edited Fri 22 Jan 2016 - 00:20 ] | ||
Back to top |
Nuvolari |
| ||
Registered Member #4173 Joined: Mon 16 Apr 2007 - 12:27Posts: 294 | sl23 wrote ... I've just used RH on X-launcher.exe (generic one with wPP ico):So I tried changing my X-KnobMan X-Launcher icon but if I rename or move the exe it changes to the default wPP icon? I will however try out your instructions at a more appropriate time and let you know how I get on. - icon successfully changed - exe renamed and icon changed - exe moved and icon changed sl23 wrote ... Using RH on X-launcher.exe:One other issue that eludes me... How do I change the text that appears in either menu? Rather than have to rename apps within menu's, I'd like to know how to change the default name - 'winPenPack X-Launcher' - to the $AppName$. Which file from the source folder would need editing and what line do I need to change? - it's enough to edit "Version Info" -> Product Name from 'winPenPack X-Launcher' to 'whatever-you-want' (remember to compile it) Using AutoIt3: - x-compiler.au3 is the file to edit sl23 wrote ... You are welcome Thank you again for your kind help | ||
Back to top |
sl23 |
| ||
Registered Member #39172 Joined: Fri 30 Jul 2010 - 21:42Location: a Galaxy S7 far far away... Posts: 25 | Thanks for confirming that Nuvolari. I don't know why, though I suspect it was my fault it didn't work as I don't think I compiled and saved after making changes. I just saved it, I think?! Anyway, I figured it out, but it's good to know RH works and has been confirmed from someone who knows what they're doing! Although it's not important now that RH does the job, but I'm curious how to change the ProductName in AutoIT, as you mention the file to edit is the one I searched for the 'winPenPack' string and it found it only in comments. I've changed my X-Launchers icons and names using RH and they seem to be fine, fantastic! I do have some further questions about the use of X-Launcher to copy/move folders, but I'll start another thread when ready. I want to try figure it out for myself if I can. But, for now, it's great to finally get these icons and names sorted after all these years, thanks! EDIT: Ah! I've just changed the icon in X-MuLab x32 X-Launcher. Manually updated the X-Launcher from 1.4.2 to 1.5.4. 1. The new version has an incorrect version number, I believe it's showing the version of AutoIT used to compile the exe? 2. On deleting the old, pasting the new and renaming new to match the old ie, X-MuLab x32 the icon remained even though I updated it ONLY in the old version? 3. I then manually copied the updated exe to my F drive used for backup, but that copied exe does NOT have the icon? This tells me that the exe is only updated in Windows registry and not the EXE. If RH is compiling the icon into v1.4.2 then why does v1.5.4 have the icon showing but only on the drive it was originally edited? Doesn't make sense??? On another note... Using RH I noticed v1.4.2 has a single VERSIONINFO section, whereas v1.5.4 has two but the second is blank. Well, not blank but sort of like default. Is this meant to be here? it seems like it's overriding the required info from VERSIONINFO/1040? I tested this thoery by deleting the second section namely VERSIONINFO/1/2057 and the launcher has reverted to showing the required info regarding version number and exe details in windows. Possible bug? Sorry if my explanations aren't too great! [ Edited Sun 24 Jan 2016 - 10:36 ] | ||
Back to top |
Nuvolari |
| ||
Registered Member #4173 Joined: Mon 16 Apr 2007 - 12:27Posts: 294 | Happy that finally is working for you too About your further doubts (registry behaviour) or possible bug, you may directly try to contact the author of RH -Link- , it may be appreciated. And/Or test the same cases using other apps like XN Resource Editor or the small cmd tool "changeexeicon" -Link- EDIT: hmm, I tested it a little bit, are you running Windows 8 or superior? In Windows 8.1 I think I face similar issue as you: after using RH to change the icon of winPenPack.exe (same using the other two apps) I can see the new icon in another folder, while in the original folder, where the exe is placed by ages, it keeps the old one. Besides, if I rename a random X-launcher.exe (e.g. X-Audacity.exe, N.B. only an X-, not any other exe) into winPenPack.exe, this immediately gets the new icon set with RH! In Windows 7, where I have made all the tests about your case so far, it looks working good, instead. [ Edited Mon 25 Jan 2016 - 11:07 ] | ||
Back to top |
sl23 |
| ||
Registered Member #39172 Joined: Fri 30 Jul 2010 - 21:42Location: a Galaxy S7 far far away... Posts: 25 | Thanks for testing again, glad it's not just me!!! I did forget to mention I'm on Win10. Oh, and thanks for the author link, I couldn't find it on his site for some reason?! Just tried XNReEd, it doesn't show the same info for changing naming in the VERSIONINFO section. Not tried icons yet as it looks a lot more hassle changing each individual icon! Will need time to figure out "changeexeicon" as not used cmd tools before except NirCmd, and that has examples! | ||
Back to top |
sl23 |
| ||
Registered Member #39172 Joined: Fri 30 Jul 2010 - 21:42Location: a Galaxy S7 far far away... Posts: 25 | I've just realised my stupid mistake regarding AutoIT! I've been opening the wrong file! Teach me to not read replies properly! I can see now how it works, which has simplified things a bit. Same though that RH doesn't work as it's so much easier. Never mind, I've contacted the author about it, I can only hope he will sort it out. OK, I just attempted compiling using AutoIT, but, it simply creates an x-compiler.exe with no icon? [ Edited Mon 25 Jan 2016 - 23:26 ] | ||
Back to top |
Nuvolari |
| ||
Registered Member #4173 Joined: Mon 16 Apr 2007 - 12:27Posts: 294 | sl23 wrote ... Because it's not in the home page but under the link "Software Programming", don't know why.Oh, and thanks for the author link, I couldn't find it on his site for some reason?! sl23 wrote ... Nice, let me know please if something moves ahead Never mind, I've contacted the author about it, I can only hope he will sort it out. sl23 wrote ... Having the tool, the icon and the file.exe all in the same directory you should run Will need time to figure out "changeexeicon" as not used cmd tools before except NirCmd, and that has examples!
changeexeicon newicon.ico source.exe destination.exe
sl23 wrote ... It should be a matter of path, you should put your icon in subfolder \graphics (where you should see x-icon.ico by the way)OK, I just attempted compiling using AutoIT, but, it simply creates an x-compiler.exe with no icon? | ||
Back to top |
sl23 |
| ||
Registered Member #39172 Joined: Fri 30 Jul 2010 - 21:42Location: a Galaxy S7 far far away... Posts: 25 | I got a reply from the author of RH, and, I quote: Sorry, can't help. er... that's it! Re: AutoIT - That is exactly what I did. I even downloaded the older v3.2.12.1 as you previously suggested, but still all I get when compiling is an exe called x-compiler.exe with no icon! Am I doing it wrong? Or is this another Win10 issue? | ||
Back to top |
Nuvolari |
| ||
Registered Member #4173 Joined: Mon 16 Apr 2007 - 12:27Posts: 294 | sl23 wrote ... I got a reply from the author of RH, and, I quote: Sorry, can't help. er... that's it! sl23 wrote ... Re: AutoIT - That is exactly what I did. I even downloaded the older v3.2.12.1 as you previously suggested, but still all I get when compiling is an exe called x-compiler.exe with no icon! Am I doing it wrong? Or is this another Win10 issue? This is the latest (1.5.4) x-compiler.au3:
; winPenPack X-Launcher
The icon line:
#AutoIt3Wrapper_Icon=graphics\x-icon.ico ;Filename of the Ico file to use
The exe line:
#AutoIt3Wrapper_Res_Field=OriginalFilename|X-Launcher.exe
Try default settings, it should create X-Launcher.exe having wPP icon. Is it true? | ||
Back to top |
Moderators: Danix, Taf, Rcs, Energy, zandet2, ZioZione, Admin, LordJim60 |