On Mon, 23 Jan 2012 11:36:08 +0100, Peter Bulyaki wrote: > This bug was set to fixed, and I've been waiting for the next WiX build to > see the fix. Unfortunately the bug still appears to be there in 3.6.2520. > > Error 0x80004005: Failed to initialize built-in variable value > 'ProgramFilesFolder'. > > Briefly the problem is that the builtin burn variable "ProgramFilesFolder" > is not resolving on XP (32 bit) and Windows Server 2003 (32 bit). > > Here is how I'd like to use this variable: > <Variable Name='InstallFolder' Value='[ProgramFilesFolder]MyCompany' /> > > Here is my log: > ----------------- > [1560:1674][2012-01-23T10:47:13]: Initializing string variable > 'InstallFolder' to value '[ProgramFilesFolder]Agfa' > ... > ... > [1560:1174][2012-01-23T10:47:15]: Error 0x80004005: Failed to get shell > folder. > [1560:1174][2012-01-23T10:47:15]: Error 0x80004005: Failed to initialize > built-in variable value 'ProgramFilesFolder'. > [1560:1174][2012-01-23T10:47:15]: Error 0x80004005: Failed to get variable: > ProgramFilesFolder > [1560:1174][2012-01-23T10:47:15]: Error 0x80004005: Failed to set variable > value. > [1560:1674][2012-01-23T10:47:19]: Shutting down, exit code: 0x80070642 > ----------------- > After the assignment InstallFolder appears to be completely empty if > [ProgramFilesFolder] is part of the value. If I remove > [ProgramFilesFolder], then MyCompany gets assigned to it. It works fine on > Windows 7. > > I am not allowed to comment on the bug so should I file this as a new one?
NB, this may also affect the setting of CommonFilesFolder. -- Sam ------------------------------------------------------------------------------ Try before you buy = See our experts in action! The most comprehensive online learning library for Microsoft developers is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, Metro Style Apps, more. Free future releases when you subscribe now! http://p.sf.net/sfu/learndevnow-dev2 _______________________________________________ WiX-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/wix-users

