fixed no-compression but uninstaller mode
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@1151 212acab6-be3b-0410-9dea-997c60f758d6
This commit is contained in:
parent
ebd54dc8c9
commit
e52562fd70
1 changed files with 4 additions and 1 deletions
|
@ -1709,6 +1709,7 @@ int CEXEBuild::uninstall_generate()
|
|||
|
||||
GrowBuf udata;
|
||||
|
||||
#ifdef NSIS_CONFIG_COMPRESSION_SUPPORT
|
||||
if (build_compress_whole) {
|
||||
// compress uninstaller too
|
||||
udata.add(&fh,sizeof(fh));
|
||||
|
@ -1748,7 +1749,9 @@ int CEXEBuild::uninstall_generate()
|
|||
firstheader *_fh=(firstheader *)udata.get();
|
||||
_fh->length_of_all_following_data=udata.getlen()+(build_crcchk?sizeof(int):0);
|
||||
}
|
||||
else {
|
||||
else
|
||||
#endif//NSIS_CONFIG_COMPRESSION_SUPPORT
|
||||
{
|
||||
udata.add(&fh,sizeof(fh));
|
||||
udata.add(uhd.get(),uhd.getlen());
|
||||
udata.add(ubuild_datablock.get(),ubuild_datablock.getlen());
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue