minor upgrade over *newer* version
Posted 13 October 2005 - 21:02
Say a user (it's an internal tool to the company) has version 5.6 on his/her machine. It's discovered that the individual user would be better suited by using 5.5 for whatever reason. Of course, 5.6 was a minor upgrade from 5.5.
Normally, IS would object to the fact that the user was trying to install an older version, and not allow it.
We do know that the workaround is to uninstall 5.6 and install 5.5. As you might expect, the boss doesn't like that prospect. So how can I tell IS to chill, and allow the "downgrade"?
- Jim.
Posted 17 October 2005 - 18:47
I take it that either this can't be done or that no one wants to touch this one with a ten foot pole.
???
Edited by upwaytoolate, 17 October 2005 - 18:48.
Posted 18 October 2005 - 00:31
Minor upgrades upgrade the existing product installation and there is no way to uninstall just the minor upgrade changes (unless you are using MSI 3 and installed as a patch - then it might be possible to uninstall the patch).
It MAY be possible to hack things using a new minor upgrade and some creative use of the REINSTALLMODE property, but I would definitely not recommend it.
Safe yourself a lot of trouble and do it the right way: uninstall and reinstall.
-Stein Åsmul
Posted 18 October 2005 - 08:27
QUOTE |
Safe yourself a lot of trouble and do it the right way: uninstall and reinstall. |
which can be done using a Major Upgrade. Of course this will not downgrade files that are also used by another application.
Stefan Krüger
InstallSite.org twitter facebook
Posted 18 October 2005 - 09:13
-Stein Åsmul
Posted 18 October 2005 - 18:31
It's interesting that for an internally used install that the company has a lot of control over, the controls imposed by Windows Installer seem to be backfiring.
This is the second job in a row I've had (contractor) that the boss has requested stuff that is now forbidden, and when advised against and explained why not, has replied that this is getting to be more trouble than it's worth.
The first was a web site deploy that the group wanted to be able to substitute files ad-hoc after install, and of course we had to have a talk about self-repair. We finally succeeded in disabling self repair after a lot of trial and error, but the boss was seriously considering going back to a WinZip install, citing that "Even dll hell was better than this".
Posted 19 October 2005 - 00:36
You are facing people's natural resistance to change. The application of an old installation paradigm to a new one. For MSI to be effectively applied there has to be changes in development, not just release management and setup engineering.
Alternatively you could use a different setup technology during development and only MSI wrap final releases - I'll tell you though: In my experience this will cause even more grief.
-Stein Åsmul
Posted 19 October 2005 - 00:37
-Stein Åsmul
Posted 04 November 2005 - 22:57
After considering the alternatives, here's what management decided.
Have the InstallShield 10.5 package handle the machine prep, (MDAC, DB setup, a few reg settings, etc) and call a custom action that will launch a WinZip self extractable exe to deploy the files. That way they can slide releases back and forth in time for any customer by just shipping them the right self extracting exe, post install. No issues with self-repair or downgrades.
They can do this, because the release is a collection of PowerBuilder pbds, and run-time package dlls which are static.
Okay. We *are* hired to advise, and then to carry out their wishes in the best manner possible, and the check does still cash. But I must say, I still feel quite ill.
InstallShield and Microsoft both, please take note; many software departments and their managers have no interest whatsoever in Microsoft's Best Practices. They simply wish to get their product out. Period. They consider that limits such as hurdles to downgrades, and indeed self-repair itself are considered hinderences and obstacles to getting the job done.
Think I'll go for a walk, now. Maybe chocolate... hmmmm........
Posted 07 November 2005 - 02:51
-Stein Åsmul
Posted 07 November 2005 - 20:53
Am I recalling wrong?
Posted 08 November 2005 - 11:48
-Stein Åsmul
Posted 10 November 2005 - 08:21
QUOTE |
There are Installscript MSI projects, but there are also pure Installscript projects. In the latter the whole installation is run as a script, and it has nothing to do with MSI as far as I know. |
Just want to confirm that this is correct. In a "InstallScript" project (not "InstallScript MSI") there is no Windows Installer/MSI involved anywhere (unless you explicitly add MSI, for instance by using the Merge Module holder object)
Stefan Krüger
InstallSite.org twitter facebook