Added !uninstfinalize (patch 280)
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@7294 212acab6-be3b-0410-9dea-997c60f758d6
This commit is contained in:
parent
1768555f2b
commit
41bb557cbc
11 changed files with 166 additions and 79 deletions
|
@ -714,6 +714,15 @@ char* create_file_view_readonly(const TCHAR *filepath, FILEVIEW&mmfv)
|
|||
#endif
|
||||
}
|
||||
|
||||
size_t write_octets_to_file(const TCHAR *filename, const void *data, size_t cb)
|
||||
{
|
||||
FILE *hfile = FOPEN(filename, ("wb"));
|
||||
if (!hfile) return 0;
|
||||
size_t ret = fwrite(data, 1, cb, hfile);
|
||||
fclose(hfile);
|
||||
return ret;
|
||||
}
|
||||
|
||||
TCHAR* create_tempfile_path()
|
||||
{
|
||||
TCHAR *tfpath = NULL;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue