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

[BUG] Installer: Wrong registry value #3595

Open
un-pogaz opened this issue Oct 18, 2019 · 1 comment
Labels
bug
Milestone

Comments

@un-pogaz
Copy link

@un-pogaz un-pogaz commented Oct 18, 2019

The Windows installer writes incorrect values to the registry, preventing a DB SQlite file from opening.

The "HKCR\SQLiteStudio.db\shell\Open\Command" value uses a slash (and not a backslash) in the exe path: Executable file not found.

This same value uses single quotes ' instead of a double quotes " around the variable %1: DB file not loaded.

These errors are present in the other registry entries of SQLiteStudio.

Strangely, the slash does not interfere with the "HKCR\SQLiteStudio.db\DefaultIcon" value (Meh, Windows...)

Operating system

Windows 7, Windows 10

SQLiteStudio v3.2.1

@pawelsalawa pawelsalawa added the bug label Oct 25, 2019
@pawelsalawa pawelsalawa added this to the 3.2.2 milestone Oct 25, 2019
@AlexVallat

This comment has been minimized.

Copy link

@AlexVallat AlexVallat commented Oct 29, 2019

Also, if the path to SQLiteStudio.exe has spaces in, that needs to be quoted too. So instead of
C:\Program Files\SQLiteStudio/SQLiteStudio.exe '%1'
it should be
"C:\Program Files\SQLiteStudio\SQLiteStudio.exe" "%1"
or even
"%ProgramFiles%\SQLiteStudio\SQLiteStudio.exe" "%1" (but then the type has to be REG_EXPAND_SZ, not REG_SZ)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
3 participants
You can’t perform that action at this time.