Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Updating on windows still opens old version #882

Closed
4 of 13 tasks
bendiknesbo opened this issue Nov 25, 2016 · 12 comments
Closed
4 of 13 tasks

Updating on windows still opens old version #882

bendiknesbo opened this issue Nov 25, 2016 · 12 comments
Labels

Comments

@bendiknesbo
Copy link

bendiknesbo commented Nov 25, 2016

Details for the issue

When updating from 3.9.0 to 3.9.1 (x64 version), using the binaries, opening "DB Browser for SQLite" from the start menu opens the newly installed 3.9.1 version, but double-clicking a ".sqlite" file still opens the old 3.9.0 version.

Useful extra information

I'm opening this issue because:

  • DB4S is crashing
  • DB4S has a bug
  • DB4S needs a feature
  • DB4S has another problem

I'm using DB4S on:

  • Windows: ( 10 version: Pro, 64 bit )
  • Linux: ( distro: ___ )
  • Mac OS: ( version: ___ )
  • Other: ___

I'm using DB4S version:

  • 3.9.1
  • 3.9.0
  • Other: ___

I have also:

@justinclift
Copy link
Member

Interesting. In theory, the installer for 3.9.1 is supposed to remove the previous version. Sounds like that didn't happen.

Aside from that, the ".sqlite" file association isn't something the installer changes (yet). It's a known issue for Windows, and ideally we'll have that fixed with the next release.

For now you'll need to change it manually (sorry). Hopefully the info here helps: #279 (comment)

@justinclift
Copy link
Member

justinclift commented Nov 25, 2016

@chrisjlocke Also made a screencast showing the process, if that's useful too. 😄

    https://github.com/sqlitebrowser/sqlitebrowser/wiki/Windows-File-Associations

@bendiknesbo
Copy link
Author

When running the binary for installing 3.9.1 I was prompted that a previous version was installed, and had to be uninstalled first, and so it did. After install, this is now my folder in program files, if that may be helpful (note the folder of 3.9.0):

image

@justinclift
Copy link
Member

Ahhh yeah, that's definitely a left over 3.9.0 folder. 😦

Are there files inside the "3.9.0" folder, or is that folder empty?

@bendiknesbo
Copy link
Author

Folder PATH listing
Volume serial number is 0000008A 688F:D639
C:.
|   DB Browser for SQLite.exe
|   libeay32.dll
|   Qt5Core.dll
|   Qt5Gui.dll
|   Qt5Network.dll
|   Qt5PrintSupport.dll
|   Qt5Widgets.dll
|   sqlcipher.dll
|   ssleay32.dll
|   tree.txt
|   Uninstall.exe
|   
+---3.9.0
|   |   Uninstall.exe
|   |   
|   +---bin
|   |   |   DB Browser for SQLite.exe
|   |   |   libeay32.dll
|   |   |   Qt5Core.dll
|   |   |   Qt5Gui.dll
|   |   |   Qt5Network.dll
|   |   |   Qt5PrintSupport.dll
|   |   |   Qt5Widgets.dll
|   |   |   sqlcipher.dll
|   |   |   ssleay32.dll
|   |   |   
|   |   \---platforms
|   |           qwindows.dll
|   |           
|   \---tmp
|           vcredist_x64.exe
|           
+---platforms
|       qwindows.dll
|       
\---redist
        vcredist_x64.exe

@justinclift
Copy link
Member

justinclift commented Nov 25, 2016

Ouch. That 3.9.0 uninstaller really didn't work then. 😦

If you manually run the Uninstall.exe in the "3.9.0" folder, does that remove the older version?

@bendiknesbo
Copy link
Author

Yes. it deleted the files and folders related to 3.9.0, and the shortcuts from the Start Menu (according to the log)

@bendiknesbo
Copy link
Author

By the way, the Windows File Association-wiki you linked seems to be outdated for Windows 10 / the current version of DbBrowser.

The Reg-key is located at HKEY_CLASSES_ROOT\Applications\sqlite_auto_file\shell\open\command and there exists a key (REG_SZ) with name (Default) with the value of "C:\Program Files\DB Browser for SQLite\3.9.0\bin\DB Browser for SQLite.exe" "%1" (which i will now update)

@justinclift
Copy link
Member

justinclift commented Nov 25, 2016

Ahhh cool. 😄

Err... any interest in updating that wiki entry with the correct registry info for Win10?

(I don't have Win10 personally, so it's not something I can easily do)

@justinclift
Copy link
Member

@XplittR Thanks for updating the wiki page, that kind of thing really does help. 😄

@justinclift
Copy link
Member

@XplittR We're ok to close this issue aren't we?

@justinclift
Copy link
Member

Closing this, as there's nothing to really do at the moment. 😄

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants