Go Back   FileForums > Game Backup > PC Games > PC Games - CD/DVD Conversions > Conversion Tutorials
Register FAQ Community Calendar Today's Posts Search

 
 
Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1  
Old 31-10-2016, 06:58
buttignol's Avatar
buttignol buttignol is offline
Registered User
 
Join Date: Sep 2012
Location: Brasil
Posts: 126
Thanks: 102
Thanked 16 Times in 13 Posts
buttignol is on a distinguished road
Arrow [Solved] Help Delete Saved Games

I am unable to add the User name

I'm using so but does not delete

Quote:
procedure DeleteSavedGames(CurUninstallStep: TUninstallStep);
begin
if CurUninstallStep=usPostUninstall then
if DirExists(ExpandConstant('{%SYSTEMDRIVE%}')+'\User s\{username}\Saved Games\id Software') then
if MsgBox(ExpandConstant('{cmeleteSave}'), mbInformation, MB_YESNO) = idYes then
DelTree(ExpandConstant('{%SYSTEMDRIVE%}')+'\Users\{username}\Saved Games\id Software', True, True, True);
end;

Solved


With {%SystemDrive%} and {username} all tiny worked

#define SAVES "{%SystemDrive%}\Users\{UserName}\Saved Games\id Software" not
#define SAVES "{%SystemDrive%}\Users\{Username}\Saved Games\id Software" not
#define SAVES "{%SystemDrive%}\Users\{username}\Saved Games\id Software" working

Thanks

Last edited by buttignol; 03-11-2016 at 03:50. Reason: Solved
Reply With Quote
Sponsored Links
 


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

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



All times are GMT -7. The time now is 11:51.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
FileForums @ https://fileforums.com