UI: Updated Windows File Registration Correction
Removal of thumbnail via regsvr32 requires /s argument to be silent to not show any messageboxes during WIX uninstallation Pull Request: #107013
This commit is contained in:
@@ -276,7 +276,7 @@ bool BLI_windows_unregister_blend_extension(const bool all_users)
|
||||
BLI_windows_get_executable_dir(install_dir);
|
||||
GetSystemDirectory(system_dir, sizeof(system_dir));
|
||||
const char *thumbnail_handler = "BlendThumb.dll";
|
||||
SNPRINTF(reg_cmd, "%s\\regsvr32 /u \"%s\\%s\"", system_dir, install_dir, thumbnail_handler);
|
||||
SNPRINTF(reg_cmd, "%s\\regsvr32 /u /s \"%s\\%s\"", system_dir, install_dir, thumbnail_handler);
|
||||
system(reg_cmd);
|
||||
}
|
||||
# endif
|
||||
|
||||
Reference in New Issue
Block a user