Actions:
|
2010-01-05 09:06 AEST by Arthur Barrett - Armin Müller reports to the TortoiseCVS team that during uninstall "I can't answer the question (Yes-
No). No clue what it is asking me."
The src\RunTimeInstaller\RunTimeInstaller.c installs the cvsnt client using msiexec and a series of
option depending on the parameters passed from the tortoisecvs ISS scripts:
DBG("Installing CVSNT\n");
lstrcpyA(buf, "msiexec ");
if (!WindowsVersionIs2K())
lstrcatA(buf, "/norestart "); // Win2K does not support this
// If custom, show default UI
if (lstrcmpA(argv[2], "custom"))
{
if (silent)
lstrcatA(buf, "/qn "); // No UI
else
lstrcatA(buf, "/qb "); // Basic UI
}
DBG("Installing CVSNT\n");
lstrcpyA(buf, "msiexec ");
if (!WindowsVersionIs2K())
lstrcatA(buf, "/norestart "); // Win2K does not support this
// If custom, show default UI
if (lstrcmpA(argv[2], "custom"))
{
if (silent)
lstrcatA(buf, "/qn "); // No UI
else
lstrcatA(buf, "/qb "); // Basic UI
}
lstrcatA(buf, "/i ");
lstrcatA(buf, argv[1]);
lstrcatA(buf, "\\" CVSNTINSTALLER);
if (!LaunchCommand(buf))
return 3;
This msiexec display options are:
/q[n|b|r|f]
Sets user interface level
n - No UI
b - Basic UI
r - Reduced UI
f - Full UI (default)
If the installer is called with no UI then prompts will not be visible to the user. |