Skip to content

Windows installer: the bundle folder and Installed apps show the plug-in's icon - #85

Merged
bdbarnett merged 1 commit into
mainfrom
bundle-folder-icon
Nov 17, 2026
Merged

bdbarnett merged 1 commit into
mainfrom
bundle-folder-icon

Conversation

@bdbarnett

Copy link
Copy Markdown
Contributor

After installing 0.3.5.dev1 with its setup.exe, the MPVST.vst3 folder in the VST3 folder shows as a plain yellow folder in Explorer, although the bundle carries desktop.ini and PlugIn.ico. Explorer only reads a folder's desktop.ini when the folder has the System attribute and desktop.ini is Hidden and System, and the installer's File /r leaves both unmarked. The installer now sets them after copying the bundle. It also writes DisplayIcon in the uninstall key, pointing at the uninstaller, which already carries the plug-in's icon, so the Installed apps entry has an icon to draw.

Checked on Windows 11: built the installer with the fetched NSIS (v3.09-4) from this branch, staging the 0.3.5.dev1 bundle, and ran it silently over the 0.3.5.dev1 install. The folder is then System, Directory and desktop.ini Hidden, System, the shell draws the bundle folder with the amber knob at 16, 24, 32, 48 and 256 px (it drew a plain folder before), and DisplayIcon reads "...\MPVST\Uninstall.exe",0, whose icon is the knob.

Not checked: the Settings page itself was not opened; only the registry value and the uninstaller's icon were. A bundle installed from the zip still lands without the attributes, since a zip can't carry them.

…-in's icon

The bundle's desktop.ini names PlugIn.ico, but Explorer reads it only when
the folder is marked System and desktop.ini is Hidden and System; the
installer copied both without those marks, so the bundle showed as a plain
folder. Installed apps had no DisplayIcon to draw the entry with.
@bdbarnett
bdbarnett merged commit 4d2223d into main Nov 17, 2026
5 checks passed
@bdbarnett
bdbarnett deleted the bundle-folder-icon branch November 17, 2026 17:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

1 participant