Upgrade & Secure Your Future with DevOps, SRE, DevSecOps, MLOps!

We spend hours on Instagram and YouTube and waste money on coffee and fast food, but won’t spend 30 minutes a day learning skills to boost our careers.
Master in DevOps, SRE, DevSecOps & MLOps!

Learn from Guru Rajesh Kumar and double your salary in just one year.


Get Started Now!

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

Subscribe
Notify of
guest
0 Comments
Newest
Oldest Most Voted
Inline Feedbacks
View all comments
DevOps Certification, SRE Certification, and DevSecOps Certification by DevOpsSchool

Explore our DevOps Certification, SRE Certification, and DevSecOps Certification programs at DevOpsSchool. Gain the expertise needed to excel in your career with hands-on training and globally recognized certifications.

0
Would love your thoughts, please comment.x
()
x