Menu

#1302 Pyro can't target multiple baselines

v3.0
closed
pmarcu
pyro (39)
2012-09-15
2008-08-11
mballou
No

When I try to have two Media entries for multiple baselines, Pyro throws an exception (below). I used the Pure Wix sample in the documentation as the basis, and created a new 1.0.2 version that can upgrade 1.0.0 and 1.0.1 installations. My patch.wxs is attached.

pyro.exe : error PYRO0001 : Item has already been added. Key in dictionary: 'Sam
pleFile' Key being added: 'SampleFile'

Exception Type: System.ArgumentException

Stack Trace:
at System.Collections.Hashtable.Insert(Object key, Object nvalue, Boolean add
)
at System.Collections.Hashtable.Add(Object key, Object value)
at Microsoft.Tools.WindowsInstallerXml.Binder.UpdateFileInformation(Output ou
tput, FileRowCollection fileRows, MediaRowCollection mediaRows, IDictionary`2 in
foCache)
at Microsoft.Tools.WindowsInstallerXml.Binder.BindDatabase(Output output, Str
ing databaseFile)
at Microsoft.Tools.WindowsInstallerXml.Binder.Bind(Output output, String file
)
at Microsoft.Tools.WindowsInstallerXml.Tools.Pyro.Run(String[] args)

Discussion

  • mballou

    mballou - 2008-08-11

    Sample patch with multiple baselines

     
  • SourceForge Robot

    This Tracker item was closed automatically by the system. It was
    previously set to a Pending status, and the original submitter
    did not respond within 15 days (the time period specified by
    the administrator of this Tracker).

     
MongoDB Logo MongoDB