I have a build task in my azure pipeline that creates a new update using the following command:
Code: Select all
NewUpdate $(InstallerName)\$(InstallerName)_$(BuildPlatform)-SetupFiles\$(InstallerName)_$(BuildPlatform).exe -name $(UpdateName)_$(version) -display_name $(UpdateName) -url $(BlobUrl)I tried adding another AI build task where I use the /UpdateInstalledDetection in the command line however this resulted in the following error:
Code: Select all
UpdateInstalledDetection $(UpdateName)_$(version) -detection_type RegKeySearch -path "HKLM\Software\WOW6432Node\$(Manufacturer)\$(Product)\Version" -expected_value $(version) -64bitUpdateInstalledDetection Update_1.0.17.999 -detection_type RegKeySearch -path "HKLM\Software\WOW6432Node\Company\Product\Version" -expected_value 1.0.17.999 -64bit
Update not found
##[error]Failed to execute Advanced Installer task. Error: UpdateInstalledDetection Update_1.0.17.999 -detection_type RegKeySearch -path "HKLM\Software\WOW6432Node\Company\Product\Version" -expected_value 1.0.17.999 -64bit
Update not found
Can you please direct me on how I can achieve this? Can this all be done in one build step?
Thanks!
FOLLOW US
Get the latest news in Application Packaging