Therefore, I've decided to do an admin install patched with KB917283. I'm doing the following:
install /a -> to do the main admin install.
msiexec /p aspfix.msp /a netfx.msi -> to patch the netfx.msi against the KB917283 hotfix.
To install the product, I run install.exe from a wrapper written by me (note I'm not using direct MSI install with MSIEXEC).
Everything was fine, except when uninstalling the product. If I click on the Remove button of Add Remove Programs, Installer exists with severe serror (prompts me to send an error report to Microsoft). I've investigated the problem and I've found that install.exe copies all source files to C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Microsoft .NET Framework 2.0, but the 'cached' netfx.msi is DIFFERENT from the patched netfx.msi. Indeed, the patched netfx.msi occupies about 3MB apart from install directories ("Program Files", "Windows"), and the 'cached' MSI (the MSI located on that folder) occupies about 24MB (this has no install directories, I think this stored distribution is the same as the original .NET 2.0). I suspect this MSI is the original, not the patched one.
I'm pretty certain that when MSI files are different, Uninstall process cannot be done. The question is : how to workaround this? (save the proper files when installing, not the original ones).
If this is not clear, my goal is to integrate .NET 2.0 + KB917283 in one pack, automated install from the shipped install.exe (more secure than installing the MSI file directly for several reasons). Installation is driven by a wrapper written by me, that calls install.exe with the proper arguments.
I hope you guys can help me this time
This post has been edited by ponghy: 17 July 2006 - 07:27 PM



Help

Back to top











