|
|
#1 |
|
Major Dude
Join Date: Oct 2006
Posts: 1,892
|
Uninstalling files from Vista VirtualStore
I have an application that writes save files to its own directory. Assuming the user installs this application to $programfiles, this will cause Windows Vista UAC to put those files into $APPDATA\Local\VirtualStore\Program Files\NameOfApplication.
At first I thought that calling 'delete $INSTDIR\save.file' as the user (not as admin) would make Windows delete the file from virtualstore. But since the following code does not work, apparently I was wrong in that assumption: PHP Code:
I could of course get $INSTDIR and do a number of loops to cut out the xxx part from "C:\Program Files\xxx" and put it into "$APPDATA\Local\VirtualStore\Program Files\xxx", but that seems like the long way around to me. |
|
|
|
|
|||||||
| Thread Tools | Search this Thread |
| Display Modes | |
|
|