I'm having this problem getting a patch to apply correctly using ISWI 2.03's
patching wizard and MSI 1.2.
Here's the info:
The patch is for a small update between our 6.0 version of our software and
a new pending 6.01 release. Given that this is a small update, I left the
ProductCode and UpgradeCode alone for the new 6.01 install project, and
merely changed the ProductVersion from 6.00.0000 to 6.01.0000. We change
PackageCodes for every build, as recommended from the SDK.
Using the Installshield Patch Wizard, I successfully build the patch .msp
file (which I call 600_2_601.msp). However, when I apply this patch to the
target machine using both the default syntax (MSIEXEC.EXE /p <patchfile>) or
the recommended Small Update Syntax (MSIEXEC.EXE /p <patchname>
REINSTALL=MainApp REINSTALLMODE=omus) the patch updates all my files
correctly...
However!?!? The Shortcuts in both the Start Menu and the Quick Launch bar
for launching my main app's executable no longer function. If you click on
them, you get an error from MSI: "The Windows Installer failed to install
the program associated with this shortcut. Please contact your system
administrator."
I only have one component that makes shortcuts, but it makes 2 shortcuts
(could this be a problem?) One in the StartMenu/Programs/<etc> and another
in the ApplicationData\Microsoft\Internet Explorer\Quick Launch directory.
The new 6.01 install package passes the rigorous DARICE.CUB MSI validation
with only a few warning messages in the MS provided MergeModules. Under the
same test, the older 6.00 install package had one ICE64 error with respect
to RemoveFiles and the QuickLaunch directory (but this should only effect
uninstall for a roaming scenario according to the SDK.)
Deleting the shortcuts and running Repair restores the shortcuts, but...
they still don't work (same "The Windows Installer failed to install..."
error comes up when you click on 'em)
The OS doesn't seem to matter as I've confirmed this problem on a 98gold,
ME, and WinXP using default install ghost images.
Any ideas why the patch is destroying the two shortcuts?
Thanks for any help in advance.
Regards,
Jon Baker
Logitech Inc.