Compiled Icon Stuck

Started by richardh, October 02, 2013, 02:16:47 PM

Previous topic - Next topic

richardh

Have an interesting problem...  :o

I can't change the icon for one of my compiled programs
I tried changing to default icon
I deleted the original executable
I created a new .wbt with the code and renamed the file
I rebooted - Cleared all system cache
I removed the icon file from my system entirely and it's still compiling with it

I finally managed to get it changed back to the default icon after creating a brand new .wbt but now I can't compile using any of my icon files.
They are sized correctly.. I've never had a problem using them in the past

Suggestions?

Deana

Difficult to say what could be going on. Keep in mind that when you successfully compile a .wbt into an EXE, a Compiler configuration file gets created that remembers your compile settings. That file is is the same root name as your source .WBT with the file extension .CMP.

A .CMP file is a configuration file that contains all the compile options used.  A .CMP file automatically gets generated each time you successfully compile any script.  The .WBT source file must be located in the same directory as the .CMP file.

The format of the .CMP file is as follows:

[Main]
Type=1
Src=test1.wbt
Targ=C:\WBProjects\test1.exe
Icon=C:\WBProjects\myicon.ico
CmpVersion=4

[Options]
TechWebPage=
UACManifestSelection=highestAvailable
UACManifestUI=false
CodeSign=0
CodeSignDetails=WWWTEST~~
RunHidden=0
LargeExtractDest=0
PreventAutoExtract=0

[Version Info]
Comments=
CompanyName=Wilson WindowWare Inc
FileDescription=test3
FileVersion=1.0
InternalName=test3.exe
LegalCopyright=Wilson WindowWare Inc
LegalTrademarks=
OriginalFilename=test3.exe
ProductName=test3
ProductVersion=1.0

[Other Files]
Count = 2
File001 = C:\sample1.txt
File002 = C:\sample2.txt

[Extenders]
Count =  2
File001 = wwctl44i.dll
File002 =  wwwnt34i.dll


I currently suspect you had a CMP file with outdated information. Next time this occurs. Try modifying or deleting the .CMP file, first.
Deana F.
Technical Support
Wilson WindowWare Inc.

Deana

I see the you state you are no longer able to compile using any icon files.
Keep in mind the icon must be created using specific icon format.
1. Icon files must be named with the standard .ICO file extension.

2. The icon (.ICO) file can contain a single icon group. An icon group is a set of one or more associated icon images, of different dimensions and color depths.

3. Supported image formats:


Dimension/ Color Depth
16x16 4 bit (16 color)
16x16 8 bit (256 color)
32x32 4 bit (16 color)
32x32 8 bit (256 color)
48x48 4 bit (16 color)
48x48 8 bit (256 color)


Note :32 bit (True color) color depth is not currently supported. In the compiled EXEs.

Where are your icons located on your system?
What Windows platform are you running on?
Deana F.
Technical Support
Wilson WindowWare Inc.

richardh

Deleting cmp and recompiling solved the problem.  :)

Thanks!!!

richardh

Deana,

I export icons with 16x16 32x32 48x48 : 4 & 8 bit formats for WinBatch.

It would be nice if WinBatch updated to the current formats.
It's always disappointing to see icon files get reduced to the currently supported WinBatch format.

They are reduced from professionally designed icons to something that looks like it was created with MS paint.
While the icon has absolutely nothing to do with the program itself.

It's the perception of clients... in short, if they see a low quality icon... they assume the associated program is too.

Thanks for your assistance,
RH



Deana

We appreciate the input. Your request has been noted.
Deana F.
Technical Support
Wilson WindowWare Inc.

kdmoyers

Quote from: richardh on October 03, 2013, 10:36:30 AMIt would be nice if WinBatch updated to the current formats.
I'd like to second that request.
-Kirby
The mind is everything; What you think, you become.