- Revenera Community
- :
- InstallShield
- :
- InstallShield Forum
- :
- Package uninstallation not working on Win ARM64 platform @WinARM
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Subscribe
- Mute
- Printer Friendly Page
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
I am using MSI Template to uninstall the product with MSI template build on InstallShield Spring2012 version, its throwing below error and not uninstalling the product
Command: msiexec /x MSI_File.msi
Error: MainEngineThread is returning 1605
I have used a custom action with the In Script Execution as Deferred Execution, as this is suppose to call the DLL file.
In the template summary I have kept as Arm64:0 and Schema as 500.
Install Shield version: 2012 Spring
Thanks in advance for the help.
Best Regards,
Pooja @PoojaArora
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
Issue is resolved with InstallShield 2020.
Thanks @banna_k for helping.
Best Regards,
Pooja @PoojaArora
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
Hi @PoojaArora ,
InstallShield officially supports ARM64 based installer from InstallShield 2019 onwards.
So, if you are using InstallShield 2012 and updated the template summary for ARM64. Then see whether the product is displayed in the Add and Remove program after the installation, because the uninstallation says the product is not installed (1605).
ERROR_UNKNOWN_PRODUCT |
1605 |
This action is only valid for products that are currently installed. |
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
Thank you for responding @banna_k
I am not observing any error while installation, it is only coming in the case when I try to uninstall. The MSI Template is created using InstallShield 2012 only which results in successful installation, then why this error is coming only for uninstallation workflow.
Thanks in advance for the help.
Best Regards,
Pooja @PoojaArora
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
Hi @PoojaArora,
Can you check Add and Remove program entry after the installation, whether any entry specific to your msi installer.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
Hi @banna_k
I have checked Add and Remove program entry after the installation, it is showing the installed product entry in the program list.
Thanks in advance for the help.
Best Regards,
Pooja @PoojaArora
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
Hi @banna_k
We are not able to find our msi entry in the registry at path
\HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall
Thanks in advance for the help.
Best Regards,
Pooja @PoojaArora
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
Hi @banna_k
I am attaching the install and uninstall log files here.
Thanks in advance for the help.
Best Regards,
Pooja @PoojaArora
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
Hi @PoojaArora ,
According to uninstall log, windows installer is failing to get the product Code:
MSI (s) (BC:F8) [13:41:11:928]: PROPERTY CHANGE: Adding PackageCode property. Its value is '{???}'.
MSI (s) (BC:F8) [13:41:11:928]: Product Code passed to Engine.Initialize: ''
MSI (s) (BC:F8) [13:41:11:928]: Product Code from property table before transforms: '{???}'
MSI (s) (BC:F8) [13:41:11:928]: Product Code from property table after transforms: '{???}'
Can you change the template summary to "Intel" or something non ARM and see the msi installs and uninstalls in a non ARM machine, this is to check the msi contents are correct and the problem specific to ARM template.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
HI @banna_k
I think we can ignore this message as this comes in Win64 install and uninstall logs too.
Thanks in advance for the help.
Best Regards,
Pooja @PoojaArora
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
Hi @banna_k
I have also observed that with MSI template of Win32 bit platform it is working flawlessly on the Win ARM64 platform.
But If I change the MSI template summary as Arm64:0 and Schema as 500 then uninstallation is failing.
Thanks in advance for the help.
Best Regards,
Pooja @PoojaArora
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
Issue is resolved with InstallShield 2020.
Thanks @banna_k for helping.
Best Regards,
Pooja @PoojaArora