AI 4.9.2. Installing on XP using Windows Installer 3.1 (R2)
I have two more problems which may or may not be related...these problems arise when a package is installed into the non-default APPDIR that is proposed by msiexec.
1. When doing a package modify from ARP, say to add a feature that was not originally installed, msiexec does not seem to know the the actual install directory for the base installation. Instead, it proposes the default location again. As a consequence, it is easy to end up adding the feature into the wrong place. I would have though that msiexec would somehow remember what directory was selected for the base install. What would you suggest to make this more idiot proof? (I suppose I could override the value of APPDIR by doing a registry search for my application registry value that holds this path. Would that work?).
2. Even more insidious: I make a small update package that updates a couple of the exe's. Then I generate a patch from this msi and the base msi. I apply the patch. The patch successfully updates the files (in the non-default APPDIR). However, it also incorrectly updates all my registry entries so that they point to the default APPDIR. Argghhh!! I have verified using orca that there are no registry transforms in the patch itself. So this is happening because when msiexec applies the patch, it has a value of APPDIR that is the default - not the actual location as per case (1) - and then seemingly 'repairs' the registry values to what it thinks they should now be. This is ridiculous! Once again, I guess I can either prevent the installer from doing these registry updates when applying a patch, by making it conditional, or would priming up APPDIR as above fix this?
Thanks again for your help.
Milt.
FOLLOW US
Get the latest news in Application Packaging