iSECPartners / yontma

You'll never take me alive.
Other
86 stars 18 forks source link

Install to Permanent Location #11

Closed mlynch-isec closed 11 years ago

mlynch-isec commented 11 years ago

yontma should make a copy of the executable to a permanent location (like %PROGRAMFILES%\yontma).

It's currently assuming that the location where the file was downloaded / built is the location it can always be launched from, but users are likely to delete or move this file after install.

mlynch-isec commented 11 years ago

It's now installing to a permanent location, but when we uninstall, we should get the location of the Yontma binary from the ServiceManager rather than using %PROGRAMFILES%. Also, this probably makes it so that we don't have to duplicate the naming of yontma.exe in Installer.exe; we can just use GetModuleFileName to get the name of the installing binary and then use whatever path the ServiceManager gives us back for the uninstall.

mlynch-isec commented 11 years ago

Fixed.