Results 1 to 3 of 3

Thread: Setup Wiz to anybody

  1. #1

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

    Post

    I want to write the Dir the user uses to install the program into when they use setup.exe I have done this before but lose the way to do it. I'm Registry.bas in VB-World and the command line
    SaveSettingString HKEY_CURRENT_USER, "DIR", "String", lblDestDir
    I have place it in the frmBegin cmdInstall but that does work. Can sombody help me to remember

  2. #2

    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
    AppExe=Try.exe
    AppToUninstall=Try.exe
    AppPath=

  3. #3
    Guru Aaron Young's Avatar
    Join Date
    Jun 1999
    Location
    Red Wing, MN, USA
    Posts
    2,176

    Post

    Check the Setup.lst File that gets Generated when you create your Setup files, there should be a section called [Setup] with a Line called Defaultdir, set it here.

    ------------------
    Aaron Young
    Analyst Programmer
    aarony@redwingsoftware.com
    ajyoung@pressenter.com


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