First public version is available at https://github.com/henrikor2/bridlen...NSIS-0.1.0.exe. Source codes at https://github.com/henrikor2/bridlensis.
Here's an example what you can do with Bridle:
uninst_exe = ReadRegStr("HKLM", \
"Software\Microsoft\Windows\CurrentVersion\Uninstall\${PRODUCT_NAME}-" + version, \
"UninstallString")
temp_file = GetTempFileName()
If FileCopy(uninst_exe, temp_file) != 0
Abort("Old version uninstaller not found.")
EndIf
result = ExecWait(temp_file + " /S _?=" + directory)
Delete(temp_file)
If result != 0
Abort("Old version uninstall returned " + result + ".")
EndIf
Any comments and suggestions are more than welcome.BR,
Henri