ViewVC Help
View File | Revision Log | View Changeset | Root Listing
root/Oni2/AE/Installer/trunk/source/installer.cpp
(Generate patch)

Comparing AE/Installer/trunk/source/installer.cpp (file contents):
Revision 551 by gumby, Thu May 27 20:30:35 2010 UTC vs.
Revision 552 by gumby, Sat May 29 00:13:35 2010 UTC

# Line 1338 | Line 1338 | bool ProcessAEUpdate(Install_info_cfg *c
1338          bool readingVerAndDate = false;
1339          
1340   #ifdef WIN32
1341 <        //string strTrashDir = "Trash\\"; // string unused in Windows because files are simply deleted
1341 >        //remove readonly attrib from files.
1342 >        setStatusArea("Removing readonly attribute...");
1343 >        system("attrib -r ./* /s");
1344 >        system("attrib -r ../Oni.exe /s");
1345 >        system("attrib -r ../binkw32.dll /s");
1346 >        
1347   #else
1348          FILE *fUserName = NULL;
1349          char chrUserName[32];

Diff Legend

Removed lines
+ Added lines
< Changed lines (old)
> Changed lines (new)