i try to make a running setup with setup factory and i need to add a registry entry. everything works fine except the regisry entry. the data must contain the installpath of the installed app but i'm not able to get it to work.
i tried allready %AppFolde% and _AppFolder but the second one i can't even find in the global funktions.
thats what i have set in my config in 'Actions' -> 'On Post Install':
after setup has finished i get only %AppFolder%\__Installer\Binary.dll in my registry but not the path where i installed the app.
what i'm doing wrong???
i tried allready %AppFolde% and _AppFolder but the second one i can't even find in the global funktions.
thats what i have set in my config in 'Actions' -> 'On Post Install':
Code:
Registry.SetValue(HKEY_LOCAL_MACHINE,"SOFTWARE\Microsoft\Windows\CurrentVersion\MyApp\{50358EA6-47E5-4877-9C15-FFBD8C952878}","BinaryPath","%AppFolder%\__Installer\Binary.dll",REG_SZ);
what i'm doing wrong???
Comment