Details
-
Bug
-
Resolution: Unresolved
-
P2: Important
-
None
-
4.7.0
-
None
Description
The installer unnecessarily asks for the administrator password in following cases:
1. After clicking the "ok" button with the message "Another instance is running"
2. When canceling authorization after clicking the Finish button
This is due to the fact that at the end of the work the installer tries to save the log file in a targetDir(password-protected directory, ex: C:\Program Files).
I code it's in:
PackageManagerCore::~PackageManagerCore(){
..
QString logFileName = targetDir.absoluteFilePath(value(QLatin1String("LogFileName"),
..
VerboseWriter::instance()->flush(&adminOutput)
My config.xml like that:
<?xml version="1.0" encoding="UTF-8"?> <Installer> <Name>Sigillum Manager 1.0.5</Name> <Version>1.0.5</Version> <Title>Sigillum Manager</Title> <Publisher></Publisher> <TargetDir>@ApplicationsDirX64@/myApplication</TargetDir> </Installer>
Adding targetDir to config.xml is needed to reproduce the situation from point 1.