mirror of
https://github.com/reactos/reactos.git
synced 2025-07-31 06:52:07 +00:00
[RAPPS] Automatically generate installer/uninstaller for downloaded zip/cab files (#6652)
With a single database line added to applications distributed as zip/cab allows rapps.exe to act as an installer that automatically extracts the files and creates a startmenu shortcut. It can also uninstall the extracted files (and optionally other files and registry entries created by the application).
This commit is contained in:
parent
ad8392602e
commit
57b775ef6e
43 changed files with 1638 additions and 137 deletions
|
@ -275,7 +275,7 @@ CMainWindow::RemoveSelectedAppFromRegistry()
|
|||
return FALSE;
|
||||
|
||||
if (MessageBoxW(szMsgText, szMsgTitle, MB_YESNO | MB_ICONQUESTION) == IDYES)
|
||||
return m_Db->RemoveInstalledAppFromRegistry(InstalledApp);
|
||||
return m_Db->RemoveInstalledAppFromRegistry(InstalledApp) == ERROR_SUCCESS;
|
||||
|
||||
return FALSE;
|
||||
}
|
||||
|
@ -290,7 +290,7 @@ CMainWindow::UninstallSelectedApp(BOOL bModify)
|
|||
if (!InstalledApp)
|
||||
return FALSE;
|
||||
|
||||
return InstalledApp->UninstallApplication(bModify);
|
||||
return InstalledApp->UninstallApplication(bModify ? UCF_MODIFY : UCF_NONE);
|
||||
}
|
||||
|
||||
VOID
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue