Unusual destination folder for installation
Bug #494355 reported by
David Bolton
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Inkscape |
Invalid
|
Undecided
|
Chris Morgan |
Bug Description
Installed Inkscape 0.47 on Windows XP.
I expected it to install to "C:/Program Files/Inkscape/"
After it had finished installing I noticed it had installed to the same folder as the installer (see attachment). I had to uninstall, reinstall, specifically specify "C:/Program Files/Inkscape/" in order to get it in the location you would expect.
tags: | added: packaging win32 |
Changed in inkscape: | |
status: | New → Invalid |
To post a comment you must log in.
This is definitely not expected behaviour if you have never installed Inkscape before. The relevant lines of the installer:
!define PRODUCT_DIR_REGKEY "Software\ Microsoft\ Windows\ CurrentVersion\ App Paths\inkscape.exe" Inkscape" DIR_REGKEY} " ""
...
InstallDir "$PROGRAMFILES\
InstallDirRegKey HKLM "${PRODUCT_
The installation directory default goes like this; InstallDirRegKey is checked, if it exists, it is used. Then InstallDir is used. So, if the (default) key [as it appears in regedit] in 'HKEY_LOCAL_ MACHINE\ Software\ Microsoft\ Windows\ CurrentVersion\ App Paths\inkscape.exe' existed it would have used its location, otherwise C:\Program Files\Inkscape would be where it would go. (and it's not overwritten in any pre-directory-page code.)
Seeing as you're getting it there, I presume that you have you installed another version of Inkscape (development or official). If you were to run the installer again now (just to the directory selection page) you would (should) find that it would have C:\Program Files\Inkscape as its default once more.