QtIFW - Maintenance Tool Generates Multiple Registry Entries
-
Hi,
I have an installer that adds a registry entry in HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Uninstall, and as a unique randomly-generated name. The problem is that sometimes, when I generate a new installer or if I wait some time, the registry entry is not updated nor deleted and a new one is generated. This is an issue because this results in my "Add or Remove Program" window to be full of older version of the software that I can't remove.
I did see that when the new generation occurs, this line is added in the log :
[10109] Warning: Found binary data file "C:\Program Files (x86)/Boreas Dev-Kit Controller/maintenancetool.dat" but deliberately not used. Running as installer requires to read the resources from the application binary.I wasn't able to attach the log file so here it is:
************************************* Invoked: Thu Mar 26 14:27:45 2020
[0] Language: en-US
[0] Arguments: C:\mgagnon-workspace\BOS1901_KIT_GUI\Boreas-Dev-Kit-Installer-2.1.0.exe, -v
[10] Operations sanity check succeeded.
[10] Resource tree:
[10] :/translations
[10] :/translations/ifw_zh_CN.qm
[11] :/translations/qt_da.qm
[11] :/translations/qt_de.qm
[11] :/translations/qt_en.qm
[11] :/translations/qt_es.qm
[11] :/translations/qt_fr.qm
[12] :/translations/qt_ja.qm
[12] :/translations/qt_it.qm
[12] :/translations/qt_pl.qm
[12] :/translations/qt_ru.qm
[13] :/translations/ifw_de.qm
[13] :/translations/ifw_da.qm
[13] :/translations/ifw_es.qm
[13] :/translations/ifw_en.qm
[13] :/translations/ifw_fr.qm
[14] :/translations/ifw_it.qm
[14] :/translations/ifw_ja.qm
[14] :/translations/ifw_pl.qm
[14] :/translations/ifw_ru.qm
[14] :/translations/qt_zh_CN.qm
[14] :/uninstall.png
[14] :/installer.png
[14] :/installer.ico
[14] :/keepinstalled.png
[14] :/installer.icns
[15] :/install.png
[15] :/keepuninstalled.png
[17] :/metadata
[17] :/metadata/ca.boreas.root
[17] :/metadata/ca.boreas.root/installscript.qs
[17] :/metadata/rccprojectf36456.qrc
[17] :/metadata/config
[17] :/metadata/config/config-internal.ini
[17] :/metadata/installer-config
[18] :/metadata/installer-config/controlScript_qs.qs
[18] :/metadata/installer-config/logo_png.png
[18] :/metadata/installer-config/boreas.ico
[18] :/metadata/installer-config/config.xml
[18] :/metadata/Updates.xml
[794] Loaded control script ":/metadata/installer-config/controlScript_qs.qs"
[794] Using control script: ":/metadata/installer-config/controlScript_qs.qs"
[806] Control script callback "IntroductionPageCallback" does not exist.
[2336] Url is: "://metadata/"
[2340] Starting elevated process "C:\mgagnon-workspace\BOS1901_KIT_GUI\Boreas-Dev-Kit-Installer-2.1.0.exe" with arguments " --startserver PRODUCTION,{f3db1cc1-d244-4521-ace5-c63705a40685},{c4e6dce8-2ee9-4391-8b43-9ebb42ed804e}"
[4399] Finished starting elevated process.
[4459] Tmp and install directories are on the same volume. Volume mount point: "C:\" Free space available: "42.44 GB"
[4459] Installation space required: "84.63 MB" Temporary space required: "0.00 bytes" Local repository size: "0.00 bytes"
[5106] Control script callback "ReadyForInstallationPageCallback" does not exist.
[6707] Control script callback "PerformInstallationPageCallback" does not exist.
[6741] backup operation: Mkdir
[6741] - arguments: C:/Program Files (x86)/Boreas Dev-Kit Controller
[6747] Done
[6749] perform operation: Mkdir
[6749] - arguments: C:/Program Files (x86)/Boreas Dev-Kit Controller
[6751] Done
[6752] Install size: 1 components
[6781] backup ca.boreas.root operation: Extract
[6782] - arguments: installer://ca.boreas.root/2.1.0audio.7z, C:\Program Files (x86)/Boreas Dev-Kit Controller
[6783] Done
[6791] perform ca.boreas.root operation: Extract
[6792] - arguments: installer://ca.boreas.root/2.1.0audio.7z, C:\Program Files (x86)/Boreas Dev-Kit Controller
[6811] Done
[6812] backup ca.boreas.root operation: Extract
[6813] - arguments: installer://ca.boreas.root/2.1.0bearer.7z, C:\Program Files (x86)/Boreas Dev-Kit Controller
[6817] Done
[6818] perform ca.boreas.root operation: Extract
[6819] - arguments: installer://ca.boreas.root/2.1.0bearer.7z, C:\Program Files (x86)/Boreas Dev-Kit Controller
[6840] Done
[6842] backup ca.boreas.root operation: Extract
[6844] - arguments: installer://ca.boreas.root/2.1.0content.7z, C:\Program Files (x86)/Boreas Dev-Kit Controller
[6850] Done
[6854] perform ca.boreas.root operation: Extract
[6854] - arguments: installer://ca.boreas.root/2.1.0content.7z, C:\Program Files (x86)/Boreas Dev-Kit Controller
[8629] Done
[8630] backup ca.boreas.root operation: Extract
[8631] - arguments: installer://ca.boreas.root/2.1.0fonts.7z, C:\Program Files (x86)/Boreas Dev-Kit Controller
[8635] Done
[8636] perform ca.boreas.root operation: Extract
[8637] - arguments: installer://ca.boreas.root/2.1.0fonts.7z, C:\Program Files (x86)/Boreas Dev-Kit Controller
[9300] Done
[9301] backup ca.boreas.root operation: Extract
[9302] - arguments: installer://ca.boreas.root/2.1.0iconengines.7z, C:\Program Files (x86)/Boreas Dev-Kit Controller
[9305] Done
[9306] perform ca.boreas.root operation: Extract
[9307] - arguments: installer://ca.boreas.root/2.1.0iconengines.7z, C:\Program Files (x86)/Boreas Dev-Kit Controller
[9320] Done
[9321] backup ca.boreas.root operation: Extract
[9325] - arguments: installer://ca.boreas.root/2.1.0imageformats.7z, C:\Program Files (x86)/Boreas Dev-Kit Controller
[9325] Done
[9330] perform ca.boreas.root operation: Extract
[9331] - arguments: installer://ca.boreas.root/2.1.0imageformats.7z, C:\Program Files (x86)/Boreas Dev-Kit Controller
[9467] Done
[9468] backup ca.boreas.root operation: Extract
[9469] - arguments: installer://ca.boreas.root/2.1.0mediaservice.7z, C:\Program Files (x86)/Boreas Dev-Kit Controller
[9473] Done
[9474] perform ca.boreas.root operation: Extract
[9474] - arguments: installer://ca.boreas.root/2.1.0mediaservice.7z, C:\Program Files (x86)/Boreas Dev-Kit Controller
[9512] Done
[9513] backup ca.boreas.root operation: Extract
[9514] - arguments: installer://ca.boreas.root/2.1.0platforms.7z, C:\Program Files (x86)/Boreas Dev-Kit Controller
[9518] Done
[9519] perform ca.boreas.root operation: Extract
[9519] - arguments: installer://ca.boreas.root/2.1.0platforms.7z, C:\Program Files (x86)/Boreas Dev-Kit Controller
[9602] Done
[9603] backup ca.boreas.root operation: Extract
[9604] - arguments: installer://ca.boreas.root/2.1.0playlistformats.7z, C:\Program Files (x86)/Boreas Dev-Kit Controller
[9608] Done
[9609] perform ca.boreas.root operation: Extract
[9609] - arguments: installer://ca.boreas.root/2.1.0playlistformats.7z, C:\Program Files (x86)/Boreas Dev-Kit Controller
[9629] Done
[9630] backup ca.boreas.root operation: Extract
[9631] - arguments: installer://ca.boreas.root/2.1.0styles.7z, C:\Program Files (x86)/Boreas Dev-Kit Controller
[9635] Done
[9636] perform ca.boreas.root operation: Extract
[9638] - arguments: installer://ca.boreas.root/2.1.0styles.7z, C:\Program Files (x86)/Boreas Dev-Kit Controller
[9709] Done
[9710] backup ca.boreas.root operation: Extract
[9711] - arguments: installer://ca.boreas.root/2.1.0translations.7z, C:\Program Files (x86)/Boreas Dev-Kit Controller
[9716] Done
[9717] perform ca.boreas.root operation: Extract
[9717] - arguments: installer://ca.boreas.root/2.1.0translations.7z, C:\Program Files (x86)/Boreas Dev-Kit Controller
[9964] Done
[9965] backup ca.boreas.root operation: CreateShortcut
[9965] - arguments: C:\Program Files (x86)/Boreas Dev-Kit Controller\Boreas Devkit GUI.exe, C:\Users\MathieuGagnon\Desktop\Boreas Devkit GUI.lnk
[9967] Done
[9970] perform ca.boreas.root operation: CreateShortcut
[9971] - arguments: C:\Program Files (x86)/Boreas Dev-Kit Controller\Boreas Devkit GUI.exe, C:\Users\MathieuGagnon\Desktop\Boreas Devkit GUI.lnk
[10063] Done
[10064] backup ca.boreas.root operation: CreateShortcut
[10065] - arguments: C:\Program Files (x86)/Boreas Dev-Kit Controller\Boreas Devkit GUI.exe, C:\ProgramData\Microsoft\Windows\Start Menu\Programs\Boreas Devkit GUI.lnk
[10067] Done
[10069] perform ca.boreas.root operation: CreateShortcut
[10070] - arguments: C:\Program Files (x86)/Boreas Dev-Kit Controller\Boreas Devkit GUI.exe, C:\ProgramData\Microsoft\Windows\Start Menu\Programs\Boreas Devkit GUI.lnk
[10098] Done
[10109] Warning: Found binary data file "C:\Program Files (x86)/Boreas Dev-Kit Controller/maintenancetool.dat" but deliberately not used. Running as installer requires to read the resources from the application binary.
[10119] Writing maintenance tool: "C:\Program Files (x86)/Boreas Dev-Kit Controller/maintenancetool.exe.new"
[10577] Wrote permissions for maintenance tool.
[10755] Maintenance tool restart: false.
[12434] Control script callback "FinishedPageCallback" does not exist.
ript callback "FinishedPageCallback" does not exist.