|
-
Jan 19th, 2006, 06:34 AM
#1
Thread Starter
Frenzied Member
-
Jan 25th, 2006, 04:48 PM
#2
Re: Inno5 Not Deleting All Files After Uninstalling App!
in the setup section of your script, you should be able to put a directive "LicenseFile"
It may look like
LicenseFile=EULA.TXT
where EULA.TXT is the file that will be displayed for them to read and agree to. If you set this directive, then INNO will automatically add this page to the setup, and force them to click the accept option before continuing the install.
I personally use INNO 4, but I imagine they have not changed this in INNO 5
Also, about uninstalling files. INNO should by default uninstall any files in the [files] section of your app when you uninstall the program. If you are talking about other files that maybe your app creates during its normal use or whatever, then you need to specify to delete them.
for example, lets say your app generates files with extensions of .abc, and when uninstalled you want them removed, you would want to put this in your setup
[UninstallDelete]
Type: files; Name: "{app}\*.abc"
BUT BE CAREFUL!!!!
you don't want to put anything in that will delete all files in the directory
do not put
Type: files; Name: "{app}\*.*"
and think it will be a good solution.
Lets say the user installs your app to the system32 directory under windows
Sure they would be a complete idiot for doing so, but that doesn't mean it doesn't happen. If they uninstalled your app, it would delete their system32 directory and totally crap out their computer.
Inno's setup help file even has a similar warning in its documentation
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|