Patching an MSI install without MSI ?
Posted 01 April 2005 - 20:43
I was wondering if any of you knew the consequences of "patching" an application installed with MSI by simply shipping the changed files, and not an .msp patch ?
If we're only shipping files that have already been installed properly, would that break the component rules and ref count ?
Posted 01 April 2005 - 22:50
2. When doing a real MSP patch after this patch, you may get errors.
3. Maybe these files won't be removed at uninstall.
4. If these files have different ClassIDs, ProgIDs etc., note that these won't be installed (well that shouldn't be a surprise...)
5. If the file has a shortcut in the program menu, and a new icon, this icon is not seen in the program menu.
I don't think it would break the component rules or ref count though. However, remember that the cached MSI maintains data about the files it installed, like file version, file size, file attributes and language. This data is used to detect corruption and validity for reinstalling, this is the reason that a repair will set the original file back.
Posted 25 May 2005 - 15:17
In my case, I developed an "incremental" auto-update module for my application (using a WebService).
As my application is installed from an MSI package, I have no problems concerning new files and new files version. But, the problem is if my auto-update module must delete a file in the application. In this case, the application will try an automatic repair at the next launch...
Is ther a possibility to desable the "automatic repair" functionnality for some files of my application?
I tried to remove some keys in the registry but it did not work...
Thanks for your help.
Edited by Gazous, 25 May 2005 - 15:23.
Posted 25 May 2005 - 15:57
You could disable self-repair through the registry by changing the keypaths of the components in question to something else (maybe a regsitry key). But if the application ever self-repairs for any other reason, you might fing that the keypaths go back to what they were before, because the keypath specified in the MSI would still be the same.
Posted 27 May 2005 - 10:50
Do you know how to reinstall an MSI?
Do you know what "keypath" means?
Do you know what "component" means?