You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When source folder name differs from package name, the package cannot be uninstalled properly.
Why?
When user installs package via "Install from Folder" button, method TDNSetupCore.GetInstallDirectoryForDirectory returns path based on source folder name.
Result - installation target path is based on source folder name.
Uninstaller is looking for "Delphinus.Uninstall.json" file in path based on package name.
...and then uninstallation fails. 💥
😁
The text was updated successfully, but these errors were encountered:
My guess is that installation destination path should be based on Delphinus.Info.json contents rather than source folder name.
Why? Because (I guess) intalling same package twice (= parallel) probably should not be allowed?...
God spot!
Thanks, i'll look into it. Don't worry about the stalling pull-requests. I am very busy right now and spend my sparetime a bit differently. maybe i can take a proper look at all of these at the weekend :)
InstallDirectory should work without the need of a package isntance(since that is what you usually just don't have there). I'll look into this problem later, but the current proposed fix does not seem to be the optimal case.
When source folder name differs from package name, the package cannot be uninstalled properly.
Why?
When user installs package via "Install from Folder" button, method TDNSetupCore.GetInstallDirectoryForDirectory returns path based on source folder name.
Result - installation target path is based on source folder name.
Uninstaller is looking for "Delphinus.Uninstall.json" file in path based on package name.
...and then uninstallation fails. 💥
😁
The text was updated successfully, but these errors were encountered: