Results 1 to 2 of 2

Thread: Aaron Young I'm not sure

  1. #1

    Thread Starter
    Addicted Member
    Join Date
    Apr 1999
    Location
    Freeport
    Posts
    204

    Post

    I not sure where you want me to place the line. Here where I place it but it didnot work.
    [Setup]
    Title=Try
    DefProgramGroup=Try
    DefaultDir=$(ProgramFiles)\Try
    SaveSettingString HKEY_CURRENT_USER, "Path", "String", lblDestDir
    Setup=setup1.exe


  2. #2

    Thread Starter
    Addicted Member
    Join Date
    Apr 1999
    Location
    Freeport
    Posts
    204

    Post

    I remember now how to fix the setup where it will place the path in Windows Registry.
    Just place this line of code in the cmdInstall click event on the frmBegin
    SaveSettingString HKEY_CURRENT_USER, "Path", "String", lblDestDir and Registry.bas in the program.
    And save the program then make the setup.exe again and it work. Of course every time you make a new program you have to change the key are you copy over the old path. anyway if you have a better way I'm all ears.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width