Page 1 of 1

self-healing doesn't work

Posted: Fri May 04, 2007 11:32 am
by Jesús Vargas
I’m evaluating InstallAware 6.4, I’m user of wise.

I imported a project from wise and made some changes in order to register DLL and OCX files, and I made some test in compressed Single and compressed Web-Based:

Install my application (ok)
Uninstall my application (ok)

And to test the self-heal option, I unregistered some dll’s using regsvr32 c:\\program files\\myapp\\x.dll /u

Compressed Single:
When I ran the application the self-heal doesn’t trigger automatically.

From Control Panel, I select my application and choose the Change option and from the InstallAware dialog I select the repair option, InstallAware shows a dialog asking from the source path, I select the source path and InstallAware asks for it again.

Compressed Web-Based:
When I ran the application the self-heal doesn’t trigger automatically.

From Control Panel, I select my application and choose the Change option and from the InstallAware dialog I select the repair option, InstallAware works but unregistered files, was not register again.

Could you give me some ideas to make it works or tell me where I can read something about it or where I can get an example?

Thanks in advance

Posted: Fri May 04, 2007 2:07 pm
by MichaelNesmith
You need to use advertised shortcuts and advertised file types for self healing.

Also read the help file topic titled "Patching" subtopic "Patch Source Resolution" for an explanation of how to correctly point setup to setup sources.

Posted: Fri May 04, 2007 6:41 pm
by Jesús Vargas
I did your suggestion using Compressed Web-Based and I got the next results:

If I delete or rename a dll, ocx or any related file, when I run my application automatically trigger the self-heal and reinstall the necessary files, but if I unregistered some dll or ocx it doesn’t works.

(using regsvr32 c:\\program files\\myapp\\x.dll /u)

Do you have some idea why?

Thanks.

Posted: Sat May 05, 2007 6:42 am
by MichaelNesmith
Sorry, not really. Windows Installer's self-healing cannot detect everything, I guess.