Installer refuses to install

Got a problem you cannot solve? Try here.
Post Reply
Thomas@Cavena
Posts: 7
Joined: Wed Feb 03, 2010 1:13 pm

Installer refuses to install

Post by Thomas@Cavena »

WE have run into a rather puzzling problem. We have two installers, the only difference is the revision code. We use one to install the product, then delete one of the installed files. We then run the other installer:
We do a repair or modify. Nothing is written, the deleted file is not replaced. To only way to get it to install anything is if we start by uninstalling (via the 2nd installer) and then do a fresh install.

Have anyone else run into something like this? Does anyone know what could cause a situation like this?

What we are trying to achieve is an installer that can upgrade an existing installer by only overwriting older files, leaving the newer ones untouched, such as the user-edited ini-files .
MichaelNesmith
Posts: 3452
Joined: Thu Dec 22, 2005 7:17 pm
Contact:

Post by MichaelNesmith »

You wouldn't be able to enter repair mode if the revision codes are different.
Michael Nesmith
Install[b]Aware[/b]
[i]Home of The Next Generation MSI Installer[/i]
Get your free copy today - http://www.installaware.com/
Thomas@Cavena
Posts: 7
Joined: Wed Feb 03, 2010 1:13 pm

Post by Thomas@Cavena »

Well, we get to the dialog where we can choose to make a Repair. Do you mean that, since the revision codes where different (yes we made sure they where), choosing to make a Repair would not have had any effect, that the installers logic would have prevented it from actually running?

We are quite new at using InstallAware and every hint at how it works its magic is very welcome.
SteveDude
Posts: 253
Joined: Wed Apr 11, 2007 6:07 pm

...

Post by SteveDude »

...actually the repair mode dialog can be displayed, but that means something is squirelly with the MSI code. Can be as simple as having an end block out of place or any special edits you have done after a dialog is displayed.

You should always use a basic template when creating from scratch and debug check imported projects.

...been using IA for some time now and have found few issues with IA itself (especially v8 and above), except ones that I caused myself and that has been quite few, mainly by not doing the above.
Post Reply