View Full Version : Remove the icon before the caption
eastsong
20th May 2008, 05:26
Hi
I am new, now i have a problem with the icon before the captoin in the installer and uninstaller.
My customer wants to remove the icon. I have looked for solution for a long times, but could not find one.
who can help me?
I will be very appreciated!
Red Wine
20th May 2008, 05:35
http://forums.winamp.com/showthread.php?s=&threadid=255618
eastsong
20th May 2008, 06:00
Hi, Red Wine
Firstly, thank you for you reply, and your link.
I saw that link and the wiki yesterday.
I added the following sentence at the end of my .nsh script:
!packhdr "exehead.tmp" '"C:\Program Files\ResHack\ResHacker.exe" -delete exehead.tmp, exehead.tmp, icongroup,103,'
It showed error:
Processed 1 file, writing output:
Error: invalid script: never had OutFile command
Error - aborting creation process
I thought the error means i did not write the OutFile command. But I wrote.
And, I used the ResHacker.exe directly to modify the icon resouce, i found my installer's icon which Windows displays changed. It is not my purpose.
Afrow UK
20th May 2008, 10:48
You are missing OutFile.
Stu
eastsong
21st May 2008, 00:29
Re: Afrow UK
Hi,Thank you.
I am not missing OutFile. I wrote the command in my .nsh script.
But it still showed error!
Afrow UK
21st May 2008, 10:10
You cannot argue with what the compiler says. Have you included the nsh file in your main script?
Stu
eastsong
22nd May 2008, 00:42
Re: Afrow UK
yes, I have included the nsh file in my script.
I would check the script again!
If you have other ideas, please tell me! waiting online!
And, thank you very much!
vBulletin® v3.8.6, Copyright ©2000-2013, Jelsoft Enterprises Ltd.