Results 1 to 7 of 7

Thread: Inno Delete Registry Settings on uninstall

  1. #1

    Thread Starter
    Hyperactive Member
    Join Date
    Apr 2005
    Location
    Indiana
    Posts
    451

    Resolved Inno Delete Registry Settings on uninstall

    I was wondering if I could get some help with this. I need inno to uninstall registry settings on uninstall. I found the code listed below but am not sure how to adapt it to my application.

    Root: HKCU; Subkey: "Software\My Company\My Program"; Flags: uninsdeletekey

    In the setup script things get installed in app.path & ... if I need a subdirectory. When I look in the registry to see where it puts things from the IDE it is under VB and VBA program settings. I don't know if that is where it will install on all machines though.

    Any help with this would be great.

    Thank you.
    Last edited by Krenshau; Jun 17th, 2005 at 12:27 PM.

  2. #2
    Banned randem's Avatar
    Join Date
    Oct 2002
    Location
    Maui, Hawaii
    Posts
    11,385

    Re: Inno Delete Registry Settings on uninstall

    Krenshau,

    If you had Inno install those registry settings then they will be removed unpon uninstall.

  3. #3

    Thread Starter
    Hyperactive Member
    Join Date
    Apr 2005
    Location
    Indiana
    Posts
    451

    Re: Inno Delete Registry Settings on uninstall

    I did not have inno add the registry settings. They are added by the program after the install.

  4. #4
    Banned randem's Avatar
    Join Date
    Oct 2002
    Location
    Maui, Hawaii
    Posts
    11,385

    Re: Inno Delete Registry Settings on uninstall

    Krenshau,

    Check Inno Setup's help section for the UnInstallDelete section. See if that helps you.

  5. #5

    Thread Starter
    Hyperactive Member
    Join Date
    Apr 2005
    Location
    Indiana
    Posts
    451

    Re: Inno Delete Registry Settings on uninstall

    I checked there and it gave me what I posted. I hardcoded it. I just hope that it will install the same in all machines.

  6. #6
    Banned randem's Avatar
    Join Date
    Oct 2002
    Location
    Maui, Hawaii
    Posts
    11,385

    Re: Inno Delete Registry Settings on uninstall

    Krenshau,

    What install??? You asked about uninstalling registry entries?????

  7. #7

    Thread Starter
    Hyperactive Member
    Join Date
    Apr 2005
    Location
    Indiana
    Posts
    451

    Re: Inno Delete Registry Settings on uninstall

    Where it puts the registry. In my code the settings are placed in app.exename, "Registry", "name", "Default"

    This installs the settings on my machine under VB and VBA ... , I wasn't sure if it would install in the same place on all machines. I have tried it on three computers so far and it seems to be ok.

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