Need help to figure out how updates for users work.
-
Hi, everyone! I'm using White Packages for macOS to make an installer for a plugin.
Problem 1:
Why when I install a new version of the plugin _1.1.0 (with the same name as the previous one) in the folder /Library/Audio/Plug-Ins/Components and VST3 after the installation (which was successful) the old plugins of version 1.0.0 are still there and there are no new plugins? I can not understand why it does not replace files automatically? Is it really necessary to ask the user to manually delete the .vst3 and .component files on their computer before installing the update?
Problem 2:
The plugin update has new presets (read articulations) (I use presets to switch articulations and the user cannot change them) and I changed the old ones a bit. So when I install the update and before that, if I do not manually delete plugin folder in ~Library(the one that is hidden)/Application Support/' my company'/'my plugin this folder with files, then new presets are not added to this folder. If I manually delete all the files before installing the new version of the plugin, then everything is fine.
And Windows I have the same problem. Before installing update - I need to go to Roaming/AppData/Company etc and manually delete folder with presets.What can be the solution to make it automatically without no asking users to do it manually before upgrade? Thank's
-
@nouslou said in Need help to figure out how updates for users work.:
Hi, everyone! I'm using White Packages for macOS to make an installer for a plugin.
Problem 1:
Why when I install a new version of the plugin _1.1.0 (with the same name as the previous one) in the folder /Library/Audio/Plug-Ins/Components and VST3 after the installation (which was successful) the old plugins of version 1.0.0 are still there and there are no new plugins? I can not understand why it does not replace files automatically? Is it really necessary to ask the user to manually delete the .vst3 and .component files on their computer before installing the update?
Problem 2:
The plugin update has new presets (read articulations) (I use presets to switch articulations and the user cannot change them) and I changed the old ones a bit. So when I install the update and before that, if I do not manually delete plugin folder in ~Library(the one that is hidden)/Application Support/' my company'/'my plugin this folder with files, then new presets are not added to this folder. If I manually delete all the files before installing the new version of the plugin, then everything is fine.
And Windows I have the same problem. Before installing update - I need to go to Roaming/AppData/Company etc and manually delete folder with presets.What can be the solution to make it automatically without no asking users to do it manually before upgrade? Thank's
Build your own installer?
-
@Lindon Looks like it sin't an option for me right now) How do you manage your updates procedure?
-
@nouslou - I built our own installer...
-
Are you changing the name or bundle ID of your plugin each time you release an update? By default installing a new version that has the same name/id will overwrite the old version and you will see "Update" displayed in the installer window when you click the Customize button.
-
@d-healey is there a way to know what plugin code I set for previous version?) Because looks like I changed it every time I exported plugins for test)
-
@nouslou There probably is but I don't know what the command is, you'll probably need to search around on Google. The AuVal tool might also provide some info.
-
@d-healey Great, thank you very much!