/build/static/layout/Breadcrumb_cap_w.png

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:
http://msdn.microsoft.com/en-us/library/aa302344.aspx

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!!

-ben

0 Comments   [ + ] Show comments

Answers (6)

Posted by: AngelD 14 years ago
Red Belt
0
"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 14 years ago
Yellow Belt
0
I found the solution!!! It's in this thread:
http://itninja.com/question/faulttree-101215&mpage=1&key=repair



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)
SOLVED!!


The only downside is that any files without a ComponentId will not be uninstalled!
Posted by: t_claydon 14 years ago
Senior Yellow Belt
0
Why don't you put a condition on your custom action to only run on uninstall?
Posted by: mosaic 14 years ago
Yellow Belt
0
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 14 years ago
Yellow Belt
0
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 14 years ago
Red Belt
0
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.
 
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