Repository navigation
Windows installer: the bundle folder and Installed apps show the plug-in's icon - #85
Merged
Merged
Conversation
…-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.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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 /rleaves 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, Directoryand desktop.iniHidden, 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.