msiexpert created the topic: Shortcut trigges self healing in Admin modeShortcut trigges self healing in Admi
Hi,
My source file is setup.exe. I have captured it and created the .msi file. I have to check either the previous application exists or not. If so, I have to uninstall this first. So, I have created the uninstall.exe this is working fine (clean uninstallation). I have added this uninstall.exe in my .msi before InstallInitialize (Immediate Sequence). While running this .msi in the target machine which already had previous version, it is uninstalling fine and it launches new version (the registry entry is updated fine). However, if I launch the shortcut it triggers the self healing. I could not find out the cause of this issue. I have log in as a Administrator.
If I uninstall the previous version separately. Then launch the .msi file it is working fine. This time when I launch the shortcut it will not trigger the self healing.
applicationPackaging replied the topic: Re: Shortcut trigges self healing in Admin modeShortcut trigges self healing in
Which version…
…is self-healing? I’ll bet it’s the first one.
Sachin replied the topic: Re: Shortcut trigges self healing in Admin modeShortcut trigges self healing in
Hi,
My source file is setup.exe. I have captured it and created the .msi file. I have to check either the previous application exists or not. If so, I have to uninstall this first. So, I have created the uninstall.exe this is working fine (clean uninstallation). I have added this uninstall.exe in my .msi before InstallInitialize (Immediate Sequence). While running this .msi in the target machine which already had previous version, it is uninstalling fine and it launches new version (the registry entry is updated fine). However, if I launch the shortcut it triggers the self healing. I could not find out the cause of this issue. I have log in as a Administrator.
If I uninstall the previous version separately. Then launch the .msi file it is working fine. This time when I launch the shortcut it will not trigger the self healing.
Use REINSTALLMODE and REINSTALL property in command line while installing the new MSI
- Best AI tools for Software Engineers - November 4, 2024
- Installing Jupyter: Get up and running on your computer - November 2, 2024
- An Introduction of SymOps by SymOps.com - October 30, 2024