Designer For Wix Toolset error putting File System Icon

Add-in Express™ Support Service
That's what is more important than anything else

Designer For Wix Toolset error putting File System Icon
 
tttmack




Posts: 9
Joined: 2015-02-17
I get an error building my project, when I add an icon to a file in the Wix File Types Editor.


The error is:
The ProgId/@Icon attribute's value, 'Resources\myext.ico', is not a legal identifier. Identifiers may contain ASCII characters A-Z, a-z, digits, underscores (_), or periods (.). Every identifier must begin with either a letter or an underscore.

the generated XML in Product.wds looks like:
<ProgId Id="MyExt" Advertise="yes" Icon="Resources\myext.ico">
<Extension Id="myext">
<Verb Id="open" Command="&amp;Open" Argument="&quot;%1&quot;" Sequence="1" />
</Extension>
</ProgId>

I fixed this by following Draco's answer at: http://stackoverflow.com/questions/638201/how-can-i-set-an-icon-for-an-asscociated-file-using-wix


<ProgId Id="MyExt" Advertise="yes" Icon="MyExtIcon">
<Extension Id="myext">
<Verb Id="open" Command="&amp;Open" Argument="&quot;%1&quot;" Sequence="1" />
</Extension>
</ProgId>

and then putting:
<Icon Id="MyExtIcon" SourceFile="Resources\myext.ico" />
before </Product> at the end of the file.
Posted 31 Jul, 2016 13:24:35 Top
Dmitry Kostochko


Add-in Express team


Posts: 2731
Joined: 2004-04-05
Hello,

Thank you for the bug report. I have just reproduced this error, it will be fixed in the next build of Designer.
Posted 01 Aug, 2016 08:42:56 Top
Fabrice Caporal




Posts: 1
Joined: 2016-09-14
Is there anything new on this topic?
Posted 14 Sep, 2016 13:52:37 Top
Andrei Smolin


Add-in Express team


Posts: 14136
Joined: 2006-05-11
Hello Fabrice,

No news. We will send you a note when the new build of WiX Designer is available.

Regards from Belarus (GMT+3),

Andrei Smolin
Add-in Express Team Leader
Posted 15 Sep, 2016 09:12:54 Top
Andrei Smolin


Add-in Express team


Posts: 14136
Joined: 2006-05-11
Hello Fabrice,

We've published the new build; please see https://www.add-in-express.com/downloads/wix-designer.php.

Regards from Belarus (GMT+3),

Andrei Smolin
Add-in Express Team Leader
Posted 10 May, 2017 05:18:33 Top