Hello Etienne and welcome to Advanced Installer forums,
In order to achieve that, you can follow these steps:
- install the MSI created by Advanced Installer
- open a PowerShell instance (as administrator)
- type:
(Windows Management Instrumentation) and hit Enter.
- type:
and hit Enter. This should list all the installed products. From the list, please pick up the name of your product.
- type:
Code: Select all
product where name="your_product_name"
and hit Enter. This will give pretty much all details from the package. From this, please pick up the
IdentifyingNumber (the ProductCode)
- press
CTRL+C to exit wmic
- type:
Code: Select all
gwmi -Query "SELECT Value FROM Win32_Property WHERE Property='UpgradeCode' AND ProductCode='{your_product_code}'" | format-table Value
This will give you the
UpgradeCode of your product.
Hope this helps.
Best regards,
Catalin
FOLLOW US
Get the latest news in Application Packaging