Click here to Skip to main content
15,890,932 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi, so far i have created a program that has a checkbox option 'dont show this again'. When i check the option, the window not displayed again all goes well here. But the problem is when i have uninstalled the application and reinstall it again, the checkbox option window is still not displayed. Plz help how can i make it to display on every reinstallation, here is link from which i created this application-
http://www.codeproject.com/Articles/19681/Add-a-Dont-show-this-dialog-again-Checkbox-with-mi

I am using vs studio 2008 express and inno setup.
Posted
Comments
lukeer 24-Apr-13 5:56am    
Please don't post the same question twice[^]. Use the "Improve question" link instead to provide further detail.

1 solution

The most simple solution for storing the information whether to show the message again or not is in the project's Properties. Therefore, and since you didn't tell us how exactly you did it, I will assume that you used that facility.

Properties get saved on the target machine in an xml file somewhere in "Documents and Settings\#YourUserName\Application Data\#YourApplicationName\#Version\user.cfg" or something similar, depending on what version of Windows the target is running.

Check if that config file is deleted during de-installation. If not, then it will cause the application (of identical version) will still know that is shouldn't show the message again.
 
Share this answer
 
v2

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900