jt_swanson
Posts: 4
Joined: Thu Aug 29, 2013 3:09 pm

Provide option to keep or remove custom settings on uninstal

I am having a little trouble figuring out this scenario, any pointers are welcome.

Right now, I install into Program Files and if if the user wants to uninstall the program, everything is removed. Works great.

I am considering also installing a folder in one of the users folders where I can store custom settings for the program. I think this would be a subfolder of the AppData folder. If the user upgrades, I would like to leave this folder in place, so they will not lose their settings. I think I understand how to handle that. The name must be the same across versions, as well. Finally, if the user uninstalls the program, they should be given the option of removing everything or removing everything but the custom settings folder. That last part is where I am having trouble seeing how I would set things up.

Could someone point me in the right direction.
Eusebiu
Posts: 4959
Joined: Wed Nov 14, 2012 2:04 pm

Re: Provide option to keep or remove custom settings on unin

Hi,

In order to achieve what you want you can go in the Files and Folders page, right-click on the folder that you want to keep on the uninstall and use the "Uninstall Cleanup" option. Choose the options you need from the wizard dialogs then build and run the project.

Let us know if this helped and do not hesitate to ask us any other question.

Best regards,
Eusebiu
Eusebiu Aria - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
jt_swanson
Posts: 4
Joined: Thu Aug 29, 2013 3:09 pm

Re: Provide option to keep or remove custom settings on unin

OK, I think I see how this is done. Thank you.
Eusebiu
Posts: 4959
Joined: Wed Nov 14, 2012 2:04 pm

Re: Provide option to keep or remove custom settings on unin

You're welcome. Glad to help.

Best regards,
Eusebiu
Eusebiu Aria - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Building Installers”