Archive: Product_dir_regkey


Product_dir_regkey
May I ask, what is the relationship between PRODUCT_DIR_REGKEY and the default directory displayed in the directory page?


Here's why I'm asking:

!define PRODUCT_DIR_REGKEY "Software\Microsoft\Windows\CurrentVersion\App Paths\Jack&Jack Kennels.exe"

My actual exe is Jack&Jack Kennels 1.exe, but the parent directory is Jack&Jack Kennels. If I add " 1" to the statement above, my directory page displays "...\Jack&Jack Kennels 1\". If I type anything else or nothing else after "...App Paths\Jack&Jack Kennels", my page displays exactly this (except for the ellipsis): "... Jack&Jack Kennels" . Even the slash is absent, yet that is actually the correct directory.


I guess the explanation is what I find in the InstallDirRegKey documentation.