help me DISABLE Application Resiliency

Hi, for starters I am using "InstallShield Express" version 4. Service pack 1.

I am developing a very complex application including many different kinds of exe's and files. One of my applications is a visual basic program, complied into an exe. Each time this exe launches.. it scans my entire directory looking for a broken installation. According to this page:

there are 3 entry points for application resiliency.. I believe mine is triggered through "COM Advertising".

I WANT TO TOTALLY DISABLE this application resiliency feature. When it gets triggered, the standard "preparing to install..." box pops up, but it also triggers my custom uninstall action!! This ends up deleting files and NOT fixing anything.

Is there a simple solution to disable this application resiliency feature? Thank you!!


0 Comments   [ + ] Show comments

Answers (6)

Posted by: AngelD 13 years ago
Red Belt
"but it also triggers my custom uninstall action!!"
If you only want the custom action to run on install then set a condition for the CA as: NOT Installed

You can minimize self-healing from occurring by:
1. not using "COM Advertising" for the COM-component (ex. DLL) by putting the registration information directly in the Registry table
2. use non-advertised shortcuts
3. design your package for your desire
Posted by: mosaic 13 years ago
Yellow Belt
I found the solution!!! It's in this thread:

If you want to COMPLETELY DISABLE SELF HEAL, APPLICATION Resiliency, Advertising, etc.. Simply get Orca: http://www.technipages.com/download-orca-msi-editor.html

Right-click your msi-> "Edit with Orca".
Click component in the left pane.
In the right pane, remove value in the ComponentId column (the 2nd one)

The only downside is that any files without a ComponentId will not be uninstalled!
Posted by: t_claydon 13 years ago
Senior Yellow Belt
Why don't you put a condition on your custom action to only run on uninstall?
Posted by: mosaic 13 years ago
Yellow Belt
I actually did put in that condition for my custom action. But guess what? It's broken in InstallShield 4.0. Also I CANNOT have self heal for this install project. My program creates and deletes folders so this is not an option. If you have an idea of how i can disable self heal other than using ORCA, please let me know.

@AngleID - How can I disable Com Advertising if I have a simple VB program written in Visual Basic 6? I looked through the menu's but I cannot find such an option. Is there a program I can use to fix the exe? Thanks.
Posted by: mosaic 13 years ago
Yellow Belt
My final solution is this:
I went to (1) Organize Your setup - Features
I made the VB6 program have it's own feature.. it also has a parent feature which i just named container. All features in this view are set to
"Disallow Advertise".
I removed everything from the "Always Install" feature and put them in a feature called everything. This feature also has a parent container. With my project configured like this, I have no issues with Self healing
Posted by: anonymous_9363 13 years ago
Red Belt
Boy, do you need to do some reading about Windows Installer! :)

Your EXE has NOTHING to do with COM advertising. Whatever you used to capture its installation (presumably InstallShield) has seen the COM information in the EXE (or its support DLLs, more likely) and added it to the installing MSI.
Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.

Don't be a Stranger!

Sign up today to participate, stay informed, earn points and establish a reputation for yourself!

Sign up! or login


This website uses cookies. By continuing to use this site and/or clicking the "Accept" button you are providing consent Quest Software and its affiliates do NOT sell the Personal Data you provide to us either when you register on our websites or when you do business with us. For more information about our Privacy Policy and our data protection efforts, please visit GDPR-HQ