Announcement

Collapse
No announcement yet.

Installpath into registry

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Installpath into registry

    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':

    Code:
    Registry.SetValue(HKEY_LOCAL_MACHINE,"SOFTWARE\Microsoft\Windows\CurrentVersion\MyApp\{50358EA6-47E5-4877-9C15-FFBD8C952878}","BinaryPath","%AppFolder%\__Installer\Binary.dll",REG_SZ);
    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???

  • #2
    Originally posted by karla View Post
    what i'm doing wrong???
    Please read the FAQ and/or the documentation to understand how to use Session Variables correctly.

    Ulrich

    Comment

    Working...
    X