This commit is contained in:
Igor Pavlov
2021-11-28 19:03:01 -08:00
committed by fn ⌃ ⌥
parent d789d4137d
commit 1194dc9353
152 changed files with 6049 additions and 946 deletions

View File

@@ -1,5 +1,5 @@
/* 7zipInstall.c - 7-Zip Installer
2021-02-23 : Igor Pavlov : Public domain */
2021-09-02 : Igor Pavlov : Public domain */
#include "Precomp.h"
@@ -926,6 +926,9 @@ static void WriteShellEx()
wcscpy(destPath + 1, path);
CatAscii(destPath, "Uninstall.exe\"");
MyRegistry_SetString(destKey, L"UninstallString", destPath);
CatAscii(destPath, " /S");
MyRegistry_SetString(destKey, L"QuietUninstallString", destPath);
MyRegistry_SetDWORD(destKey, L"NoModify", 1);
MyRegistry_SetDWORD(destKey, L"NoRepair", 1);