Skip to content

Why does the setup run Taiga after installation only when in silent mode? #1123

Answered by erengy
sorashi asked this question in Questions
Discussion options

You must be logged in to vote

Silent mode is used by Taiga's updater here:

taiga/src/taiga/update.cpp

Lines 263 to 266 in b6f440e

// /S runs the installer silently, /D overrides the default installation
// directory. Do not rely on the current directory here, as it isn't
// guaranteed to be the same as the module path.
std::wstring parameters = L"/S /D=" + GetPathOnly(app.GetModulePath());

The process works as following:

  • User agrees to upgrade Taiga to its latest version.
  • Taiga downloads the installer and executes it using /S and /D flags.
  • Installer sends a WM_DESTROY message to Taiga and waits 3 seconds for Taiga to close.
    (Correction: In silent mode, installer skips sending the mess…

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by sorashi
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
3 participants