i'm writing an addon installer for world of warcraft and i need to get the WoW install path in order to install addon in the right folder wherever user has installed WoW
so i wrote this :
and the i use :Function .onInit
ReadRegStr ${InstallPath} HKLM "SOFTWARE\Blizzard Entertainment\World of Warcraft" "InstallPath"
FunctionEnd
InstallDir "${InstallPath}\Interface\AddOns"but it doesn't work 🙁here is my error message :
it seems that my ReadRegStr isn't right but i can't figure out where is my mistake...Fonction: "_WoWPath"
Usage: ReadRegStr $(var_utilisateur: destination) clé_racine sous_clé entrée
clé_racine=(HKCR|HKLM|HKCU|HKU|HKCC|HKDD|HKPD)
Erreur dans le script "stdin" a la ligne 2049 -- abandon du processus de creation
i hope you guys will help me, thx !