Page 1 of 1

Repair Not Working

Posted: Thu Sep 03, 2009 11:08 am
by Tiago
Hi there.

I'm finishing my installer project and now that Install/Uninstall works fine, I'm trying to put Modify and Repair to work as well. As a starting point, I've tested my Repair function and unfortunately, found out that it simply does not work. In my test, I erased exactly one file, one INI entry and one registry key and then put the installer to run in Repair mode and found out it simply does not bring back the file, nor the INI entry or the registry key whatsoever.

Checking my MSIcode in debug mode, I realized that it executes exactly the same lines that a ordinary First Install would, especially the purple Windows Installer lines, including "Apply Install". Is this a Windows Installer misbehaviour or did I miss something?

Thanks in advance.

Posted: Thu Sep 03, 2009 4:26 pm
by neillans
Hi Tiago,

Can you confirm that you are using InstallAware 9.06?

If so, can you submit a reproducible example project?

Posted: Thu Sep 03, 2009 6:04 pm
by Tiago
Hi, Neillans.

Sure I have it.
I'm sending it to you right now.

Thank you very much! [:)]

File Attached:

Projeto.rar

Posted: Thu Oct 15, 2009 3:39 pm
by Tiago
So... nothing yet? :(

Posted: Mon Oct 19, 2009 6:09 am
by Tiago
In addition to the question mentioned above, as far as I could find out by myself, InstallAware does not come with the Modify function fully implemented on its default templates (eg. If I have two of my product features already installed on the system and I try to modify the installation to add a third feature, the default template performs the installation of all of the four features instead of installing just the new selected one).

What am I supposed to change in order to have a real Modify option (and not a "Reinstall")?
Thanks in advance.

Posted: Mon Oct 19, 2009 3:29 pm
by neillans
Hi Tiago,

We do not provide the logic for handling the modify option in our templates, as this is very project specific! You will need to add enough logic to verify what the changed component is, and then execute your own relevant install files routines.

Posted: Mon Oct 19, 2009 5:54 pm
by Tiago
Hi Neillans,

Suppose I'm using only Windows Installer logic. What am I to do in order to MODIFY my installation?
More specifically, how to remove a previously installed component while keeping the others?

Thank you!

Posted: Thu Oct 22, 2009 11:15 am
by Tiago
Hi there

What's the average response time for support tickets?

Thank you!

Posted: Mon Nov 30, 2009 7:22 am
by Tiago
After thoroughly searching and asking on many topics, Michael Nesmith finally pointed me out this whitepaper that explains about MSIcode. I have implemented these concepts in a test project using simplest blank setup and everything worked just fine, with everything handled correctly. After that I debugged my project line by line, taking notes on which purple lines were read or not, and found out that removing components from my installer simply was not working. I'm almost sure that the problem lies within my project, but I can't find out just why.

Please, what can I do? Is there some additional test I could do? Some whitepaper I could read? Please... it's been some months since I started this thread and still here I am, facing the same problem. No progress at all with this Windows Installer feature that should be built-in and default for IA.

PLEASE HELP ME