Hi,
I want to store the current installation folder into the registry so it can be reused by upgrades to change the default installation path to the one choosen by the user during a previous installation.
How can I use InstallDirRegKey to achive this ?
Many thanks
How to use InstallDirRegKey
3 posts
In a section use:
Then use (outside functions/sections):
; Write the installation path into the registry
WriteRegStr HKLM SOFTWARE\[YOURSOFTWARENAME] "Install_Dir" "$INSTDIR"
-Stu
; Registry key to check for directory (so if you install again, it will
; overwrite the old one automatically)
InstallDirRegKey HKLM SOFTWARE\[YOURSOFTWARENAME] "Install_Dir"
Hi Stu,
Thanks, quite simple to use.
Romain
Thanks, quite simple to use.
Romain