problem comes from: wix37-sources\src\DTF\Libraries\Resources\VersionStringTable.cs (line 81) where verValue.Data is set, and in VersionInfo.cs (line 83): this.isString = false; so we lose the info that verValue is a string. Could it be fixed before final release of WiX 3.7?
to reproduce while debugging: Microsoft.Deployment.Resources.ResourceCollection resources = new Microsoft.Deployment.Resources.ResourceCollection(); Microsoft.Deployment.Resources.VersionResource version = new Microsoft.Deployment.Resources.VersionResource("#1", 1033); version.Load("c:\\temp\\burn.exe"); resources.Add(version); Microsoft.Deployment.Resources.VersionStringTable strings = version[1033]; strings["CompanyName"] = "blabla"; resources.Save("c:\\temp\\burn2.exe"); isString is set to false just after the assignment. Maybe I should not post this on the wix-user list?! On Mon, Dec 17, 2012 at 10:51 PM, up2date cyborg <up2date.cyb...@gmail.com>wrote: > I found why: > when wix updates the bootstraper resource versioninfo, for strings, the > "wType" is not set correctly, wType is 0 instead of 1. > see > http://msdn.microsoft.com/en-us/library/windows/desktop/ms646987(v=vs.85).aspx > Modifying with an hexadecimal editor the wType from 0 to 1 makes the > string appear correctly in ProcessExplorer and I guess in some other > softwares/places in Windows. > Can someone confirm this? > > On Mon, Dec 17, 2012 at 10:08 PM, up2date.cyb...@gmail.com < > up2date.cyb...@gmail.com> wrote: > >> Hi, >> >> To the WiX developers: >> I was running Process Explorer (sysinternals) and I saw that the >> Description and Company Name columns only contains one character (the first >> one set in @Bundle/Name and @Bundle/Manufacturer). >> On all the processes running on my computer, only the bootstrapper >> (created with WiX v3.7 RC) has this strange bug, so I don't guess it's a >> Process Explorer bug. >> (maybe a unicode problem?! but others program stores it in unicode and >> are displayed correctly) >> Note that in Windows it's displayed correctly. >> Of course this is not a blocking problem, but I was just wondering if >> something was wrong when WiX updates/creates the resource VERSION_FILE in >> the final exe. >> >> Regards. >> > > ------------------------------------------------------------------------------ LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial Remotely access PCs and mobile devices and provide instant support Improve your efficiency, and focus on delivering more value-add services Discover what IT Professionals Know. Rescue delivers http://p.sf.net/sfu/logmein_12329d2d _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users