|
|
|
#1
|
|||
|
|||
|
#define SAVES1 "{userappdata}\Ubisoft"
;#define SAVES2 "{userdocs}\BioWare\Mass Effect" ;#define SAVES3 "{userdocs}\BioWare\Mass Effect" [CustomMessages] #ifdef SAVES1 del=Do you want to delete saved games? #endif #ifdef SAVES1 procedure CurUninstallStepChanged(CurUninstallStep: TUninstallStep); begin if CurUninstallStep = usUninstall then begin if DirExists(ExpandConstant('{#SAVES1}')) #ifdef SAVES2 or DirExists(ExpandConstant('{#SAVES2}')) #endif #ifdef SAVES3 or DirExists(ExpandConstant('{#SAVES3}')) #endif then begin if MsgBox(ExpandConstant('{cm:del}'),mbconfirmation, mb_yesno) = IDYES then begin DelTree(ExpandConstant('{#SAVES1}'), True, True, True); #ifdef SAVES2 DelTree(ExpandConstant('{#SAVES2}'), True, True, True); #endif #ifdef SAVES3 DelTree(ExpandConstant('{#SAVES3}'), True, True, True); #endif end; end; end; end; #endif |
| Sponsored Links |
|
#2
|
||||
|
||||
|
I appreciate your help
but does not work in the User folder name still not delete I used so #define SAVES1 "{%SYSTEMDRIVE%}\Users\UserName\Saved Games\id Software" |
![]() |
| Thread Tools | Search this Thread |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Splinter Cell, can't load previously saved games. | sajmondk | PC Games | 2 | 04-09-2007 11:48 |
| Saved games | Ols2k4 | XBox Games | 2 | 23-08-2004 02:46 |
| Problem with loading saved games... | Xtreme2K | PS2 Games | 0 | 19-02-2002 17:53 |
| Medal of Honor AA-Tries to connect when loading saved games | The One | PC Games | 2 | 13-02-2002 21:01 |
| Having Problems Burning Numerous *Recent* Games....Help is Appreciated | Protosstic | PSX Games | 2 | 15-01-2002 21:27 |