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.
Re: Inno Delete Registry Settings on uninstall
Krenshau,
If you had Inno install those registry settings then they will be removed unpon uninstall.
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.
Re: Inno Delete Registry Settings on uninstall
Krenshau,
Check Inno Setup's help section for the UnInstallDelete section. See if that helps you.
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.
Re: Inno Delete Registry Settings on uninstall
Krenshau,
What install??? You asked about uninstalling registry entries?????
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.