I have attached a sample project and patch all ready to go with a patch.bat
file that I use to replicate the issue. The !(wix.TestVar) is not being
updated with the light.exe command for some reason :(
Sample can be downloaded from my public dropbox link here:
https://db.tt/g0p1K8WU
Look under PatchTest\obj\x86\Release to find the batch file and everything you
need to easily reproduce the issue. Included is an already built patch.msp and
the RTM and Upgrade MSIs are already melted, but you will have to remelt them
to rebase their wixpdbs.
Regards,
Stephen
________________________________
From: Tunney, Stephen [stephen.tun...@nuance.com]
Sent: May 20, 2014 1:41 PM
To: wix-devs@lists.sourceforge.net
Subject: Re: [WiX-devs] Pyro exception on MsiInterop.MsiDatabaseCommit
Also, in the wixmsp file I still see my !(bindpath.HotFixNumber) variable
instead of the actual value. Any ideas on how I can get this in there at the
appropriate time?
From: Tunney, Stephen
Sent: May-20-14 1:40 PM
To: wix-devs@lists.sourceforge.net
Subject: RE: Pyro exception on MsiInterop.MsiDatabaseCommit
Hey everyone,
I’m trying to create a patch using Pyro and I’m getting an exception when
executing the MsiDatabaseCommit native call. Error code is 1627.
What I am attempting to do is have my patches show a unique value in the
DisplayName and Description at linker time using a bindpath variable. I think
this is interfering with pyro in some way. I am setting the bindpath value in
the light.exe step of the “Pure Wix Patching” method but I think it is being
lost somehow and not being carried into the wixmst or wixmsp files generated
afterwards. Thoughts? :(
Thanks,
Here is the stack trace:
wix.dll!Microsoft.Tools.WindowsInstallerXml.Msi.Database.Commit() Line 251 C#
wix.dll!Microsoft.Tools.WindowsInstallerXml.Binder.GenerateDatabase(Microsoft.Tools.WindowsInstallerXml.Output
output, string databaseFile, bool keepAddedColumns, bool useSubdirectory) Line
938 C#
wix.dll!Microsoft.Tools.WindowsInstallerXml.Binder.BindDatabase(Microsoft.Tools.WindowsInstallerXml.Output
output, string databaseFile) Line 1922 C#
>
> wix.dll!Microsoft.Tools.WindowsInstallerXml.Binder.Bind(Microsoft.Tools.WindowsInstallerXml.Output
> output, string file) Line 601 C#
pyro.exe!Microsoft.Tools.WindowsInstallerXml.Tools.Pyro.Run(string[] args) Line
247 C#
pyro.exe!Microsoft.Tools.WindowsInstallerXml.Tools.Pyro.Main(string[] args)
Line 102 C#
[Native to Managed Transition]
mscorlib.dll!System.AppDomain.ExecuteAssembly(string
assemblyFile, System.Security.Policy.Evidence assemblySecurity, string[] args)
Unknown
Microsoft.VisualStudio.HostingProcess.Utilities.dll!Microsoft.VisualStudio.HostingProcess.HostProc.RunUsersAssembly()
Unknown
mscorlib.dll!System.Threading.ThreadHelper.ThreadStart_Context(object state)
Unknown
mscorlib.dll!System.Threading.ExecutionContext.RunInternal(System.Threading.ExecutionContext
executionContext, System.Threading.ContextCallback callback, object state,
bool preserveSyncCtx) Unknown
mscorlib.dll!System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext
executionContext, System.Threading.ContextCallback callback, object state,
bool preserveSyncCtx) Unknown
mscorlib.dll!System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext
executionContext, System.Threading.ContextCallback callback, object state)
Unknown
mscorlib.dll!System.Threading.ThreadHelper.ThreadStart()
Unknown
Stephen Tunney
Nuance Communications, Inc.
Solutions Architect, Imaging Division
Waterloo, Ontario, Canada
stephen.tun...@nuance.com<mailto:stephen.tun...@nuance.com>
519-880-7463 Office
NUANCE.COM
The experience speaks for itself ™
------------------------------------------------------------------------------
"Accelerate Dev Cycles with Automated Cross-Browser Testing - For FREE
Instantly run your Selenium tests across 300+ browser/OS combos.
Get unparalleled scalability from the best Selenium testing platform available
Simple to use. Nothing to install. Get started now for free."
http://p.sf.net/sfu/SauceLabs
_______________________________________________
WiX-devs mailing list
WiX-devs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-devs