Windows Installer automatically handles translating the ProgramFilesFolder property for 32-bit vs. 64-bit platforms. Are you using an XMLFile element to set the web.config value? Use the [ProgramFilesFolder] property within the XMLFile element, and you should get what you want.
- Don Benson - Tribute Inc. On Mon, Jul 13, 2009 at 1:59 PM, Erica Chang (PROJECT) <eri...@microsoft.com > wrote: > Hi, > I have a field in web.config that needs environment variable of > %ProgramFiles% or %ProgramFiles(x86)% depending on if the machine installing > is 64 bit or 32 bit. > > Is there a way to substitute the values during install time by detecting > this and setting the appropriate values? > > Thanks so much in advance. > > Regards, > Erica > > ------------------------------------------------------------------------------ > Enter the BlackBerry Developer Challenge > This is your chance to win up to $100,000 in prizes! For a limited time, > vendors submitting new applications to BlackBerry App World(TM) will have > the opportunity to enter the BlackBerry Developer Challenge. See full prize > details at: http://p.sf.net/sfu/Challenge > _______________________________________________ > WiX-users mailing list > WiX-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/wix-users > ------------------------------------------------------------------------------ Enter the BlackBerry Developer Challenge This is your chance to win up to $100,000 in prizes! For a limited time, vendors submitting new applications to BlackBerry App World(TM) will have the opportunity to enter the BlackBerry Developer Challenge. See full prize details at: http://p.sf.net/sfu/Challenge _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users