Shortcut trigges self healing in Admin modeShortcut trigges self healing in Admi

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

Rajesh Kumar
Follow me
Subscribe
Notify of
guest
0 Comments
Inline Feedbacks
View all comments
0
Would love your thoughts, please comment.x
()
x