Hello Marko,
Also, will the path stay the same for different versions of Windows OS (e.g. Windows 8/10/11, Windows Server 2012/2016/2019/2022)?
The path is not dependant on the OS, it should be the same on all OSs.
And my last question: how can I use the [Manufacturer] and [UpgradeCode] properties inside of a inline Powershell script custom action? Just by using the AI_GetMsiProperty Manufacturer/AI_GetMsiProperty UpgradeCode calls?
Yes, you can do that through the AI_GetMsiProperty cmdlet. For instance, you can take the value of the property and save it in a variable, e.g.:
Code: Select all
$var = AI_GetMsiProperty YOUR_PROPERTY
What about 64-bit machines? Does the path change then?
Please note that I acutally referred to the 64-bit machines in my previous post.
On a 64-bit machine, a 32-bit process (like our installation) will redirect its registry entries under the
WOW6432Node. This is the default behavior of the OS.
Best regards,
Catalin
FOLLOW US
Get the latest news in Application Packaging