wixtoolset / issues

WiX Toolset Issues Tracker
http://wixtoolset.org/
129 stars 24 forks source link

Patch creation error with minor file changes #3723

Open wixbot opened 12 years ago

wixbot commented 12 years ago

I built 2 msi files using visual studio for both. The first msi is my original baseline. The second msi is my update and the one I wanted to create a patch from. I changed a pdf file and a crystal reports (rpt) template file. As installs and as a minor upgrade each msi worked fine.

However when I used torch and pyro it would not detect the file changes and therefore would not build the patch.

My directory structure has all source in line with the 2 different install directories - I did not have the original files within the baseline when I attempted to build the patch. This was done to prevent making copies of all source for each release since we use Source Safe for cm.

Here are the commands I used to build the patch file:

Candle - "C:\program files\wix toolset v3.6\bin\candle.exe" ADSPatch1.wxs

Light - "C:\program files\wix toolset v3.6\bin\light.exe" ADSPatch1.wixobj

Torch - "C:\program files\wix toolset v3.6\bin\torch.exe" -p -xi ..\ads_install\bin\debug\ads_install.wixpdb ..\ads_install_patch1\bin\debug\ads_install.wixpdb -out ADSPatch1.wixmst

Pyro - "C:\program files\wix toolset v3.6\bin\pyro.exe" ADSPatch1.wixmsp -out ADSPatch1.msp -t ADSPatch1 ADSPatch1.wixmst

I also tried using torch with the msi admin install files: "C:\program files\wix toolset v3.6\bin\torch.exe" -p -x0 ..\ads_install\admin\ads_install.msi ..\ads_install_patch1\admin\ads_install.msi -out ADSPatch1.wixmst and the command I used to make the admin install msi files: misexec /a \bin\debug\ads_install.msi TARGETDIR=c:\ads_autoupdate\admin

I have also attached my patch.wxs file and the 2 msi files.

If I use msimsp to build the patch with an old style patch file it properly builds the patch file.

Originally opened by jadixon from http://sourceforge.net/p/wix/bugs/3042/

wixbot commented 11 years ago

MSI files are too large to upload. I can send them and any other files required separately.

wixbot commented 11 years ago

patch file

wixbot commented 11 years ago

Needs better documentation.

Originally posted by barnson Area changed from documentation to wixtoolset.org Release changed from v3.8 to v3.x