COCKOS
CONFEDERATED FORUMS
Cockos : REAPER : NINJAM : Forums
Forum Home : Register : FAQ : Members List : Search :

Go Back   Cockos Incorporated Forums > Other Software Discussion > WDL users forum

Reply
 
Thread Tools Display Modes
Old 07-25-2019, 07:11 PM   #1
Nonlinear
Human being with feelings
 
Join Date: Apr 2018
Posts: 396
Default How to get the AAX Avid icon to show up in Win file manager?

Question for those making AAX plugins for Windows: some AAX plugins show up in Windows file manager with the Avid plugin logo while others show up with just the basic Windows file folder icon (see attached screenshot).

I have copied the AAX plugin.ico file from the AAX SDK to my built aaxplugin folders and have set the file properties to use it - but it doesn't "stick". If the plugin is copied or moved it goes back to the default Win folder icon.

How is that icon being set? Does it require a compiler post build setting of some kind?
Attached Images
File Type: png AAX icon.png (4.9 KB, 237 views)
Nonlinear is offline   Reply With Quote
Old 07-26-2019, 04:52 PM   #2
earlevel
Human being with feelings
 
Join Date: Dec 2015
Posts: 331
Default

Quote:
Originally Posted by Nonlinear View Post
How is that icon being set? Does it require a compiler post build setting of some kind?
You need to set the system attribute, and have the desktop.ini and PlugIn.ico files (which are hidden).

For example, if you have another AAX plugin showing the icon correctly, you can open PowerShell as administrator and...

cd "c:\Program Files\Common Files\Avid\Audio\Plug-Ins"
copy-item OtherPlug.aaxplugin\desktop.ini YourPlug.aaxplugin\desktop.ini
copy-item OtherPlug.aaxplugin\PlugIn.ico YourPlug.aaxplugin\PlugIn.ico
attrib +s YourPlug.aaxplugin
earlevel is offline   Reply With Quote
Old 07-26-2019, 06:42 PM   #3
Nonlinear
Human being with feelings
 
Join Date: Apr 2018
Posts: 396
Default

Quote:
Originally Posted by earlevel View Post
You need to set the system attribute, and have the desktop.ini and PlugIn.ico files (which are hidden).

For example, if you have another AAX plugin showing the icon correctly, you can open PowerShell as administrator and...

cd "c:\Program Files\Common Files\Avid\Audio\Plug-Ins"
copy-item OtherPlug.aaxplugin\desktop.ini YourPlug.aaxplugin\desktop.ini
copy-item OtherPlug.aaxplugin\PlugIn.ico YourPlug.aaxplugin\PlugIn.ico
attrib +s YourPlug.aaxplugin
Thank you. It does apply the icon BUT it's not preserved if I zip the aaxplugin folder afterwards (for distribution). For some reason zipping/unzipping removes the icon - even though the plugin.ico and desktop.ini files are still in the folder.

In other words, the icon shows before zipping but after unzipping it shows the standard Windows yellow folder icon.

Any idea why THAT is happening?
Nonlinear is offline   Reply With Quote
Old 07-29-2019, 12:19 AM   #4
earlevel
Human being with feelings
 
Join Date: Dec 2015
Posts: 331
Default

I don't know. Check your Desktop.ini and PlugIn.ico file attributes to make sure they are system (they're typically "H"idden and "R"eadonly too, but that shouldn't matter).
earlevel is offline   Reply With Quote
Old 07-29-2019, 09:15 PM   #5
Nonlinear
Human being with feelings
 
Join Date: Apr 2018
Posts: 396
Default

Quote:
Originally Posted by earlevel View Post
I don't know. Check your Desktop.ini and PlugIn.ico file attributes to make sure they are system (they're typically "H"idden and "R"eadonly too, but that shouldn't matter).
OK, I see what's happening here. Before zipping the files have SYSTEM ownership. After zipping they have local user ownership, even if marked as read only before zipping.

I tried zipping/unzipping some commercial plugins and zip removed their icon as well.

So, apparently the AAX plugins that show up with icons in the file tree had their ownership set by their installer after file copy/unpacking.

I noticed many 3rd party developers (two big ones, Izotope and Waves) don't even bother with the plugin icon. The plugin.ico file is not even in their aaxplugin folders. So...
Nonlinear is offline   Reply With Quote
Old 07-30-2019, 03:12 PM   #6
earlevel
Human being with feelings
 
Join Date: Dec 2015
Posts: 331
Default

Makes sense.
earlevel is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -7. The time now is 09:00 AM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.