I have created a WiX Installer, installed it on a test machine, and then
created a patch for it. When running the patch, instead of updating the
software it is taking me to the remove, repair dialog. I can't figure
out what I have done incorrectly so hopefully you can help me.
Here is the process I did...
1. Created the original installer and installed it successfully
2. Changed the package ID GUID and rebuilt the installer.
3. Created Admin images of both the original and new installer and
placed them in the RTM and Update folders respectively.
4. Created the PCP file below...ran candle, light and msimsp to
create my patch. It was created successfully and the msimsp log looked
correct (included the proper change files)
5. Took the patch file and attempted to install it on the same
machine as step 1 above.
6. The patch attempted to uninstall the software installed in step
1.
I must have a problem with my GUID's but I am not sure which ones to
change at this point. Any help would be appreciated. Thanks.
Nick
Hopefully, my PCP is mostly correct and can help others that may be
attempting to create one. It at least compiles....
Here is my PCP file
<?xml version="1.0" encoding="utf-8"?>
<Wix xmlns="http://schemas.microsoft.com/wix/2003/01/wi">
<PatchCreation Id="{MYGUID-3764-4387-B341-6DEA72753D6E}"
Codepage="1252"
WholeFilesOnly="yes"
AllowMajorVersionMismatches="no"
AllowProductCodeMismatches="no">
<PatchInformation
Languages="1033"
SummaryCodepage="1252"
AdminImage="no"
Comments="CD Database and Application Server Installation Package"
Compressed="yes"
Description="Core Director Server 2007.0.29.0"
Keywords="Installer"
Manufacturer="Jack Henry and Associates"
ReadOnly="yes"
ShortNames="no" />
<PatchMetadata
AllowRemoval="yes"
Classification="Service Pack"
Description="CD 2007.0 Patch"
DisplayName="CD 2007.0 Patch"
MoreInfoURL="www.tsturl.com"
ManufacturerName="JHA"
TargetProductName="CD 2007.0" />
<Family Name="Patch1"
DiskId="2"
MediaSrcProp="Patch1"
SequenceStart="4000">
<UpgradeImage
Id="upgImage1"
SourceFile="C:\patchdir\Update\cd_en_x86_2007_0.msi">
<TargetImage Id="tgtImage1" Order="1"
SourceFile="C:\patchdir\RTM\cd_en_x86_2007_0.msi" />
</UpgradeImage>
</Family>
<TargetProductCode Id="{MYGUID-3E73-45F3-BF2B-FFB953E4705A}" />
</PatchCreation>
</Wix>
NOTICE: This electronic mail message and any files transmitted with it are
intended exclusively
for the individual or entity to which it is addressed. The message, together
with any attachment, may contain confidential and/or privileged
information. Any unauthorized review, use, printing, saving, copying,
disclosure
or distribution is strictly prohibited. If you have received this message in
error, please immediately
advise the sender by reply email and delete all copies.
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users