Quote:

so, to clarify, if you want to go remote, you most likely need to take control of the machine and a way to do that is to impersonate yourself as the systems' local admin.
now, that local admin has no rights to go around in your network and thus no, you can't install from remote drive.

you need to first copy the stuff there and then do exec and then clean the install files.
anyways, you shouldn't consider any directory cleaning.
many installs don't even release all files before next reboot.

thus, you just copy the installer, do the job and remove it.
rest of the files are most likely just garbage and suitable for the system's drive.
and no, it won't go to the users temp.




i have it working now to where it copies the files to the users temp directory on c:, then rexec as administrator, then reboots the pc.
-i was thinking of using "cleandirectory()" to delete the file after the install is over.