SaiTeja wrote: > My main aim is I want to set program files folder > Is the following way is correct???? > > <?if $(VersionNT64) ?> > <?define P_GUID = "4B1FB95B-4E4F-4ee3-B94C-7A3BF41BCBA2" ?> > <?define PrgFiles = "ProgramFiles64Folder" ?> > <?define MSI_version = "300" ?> > <?define MSI_platform = "x64" ?> > <?else?> > <?define P_GUID = "FFE8FDEB-9EFE-41f5-AEEB-E739648921CD" ?> > <?define PrgFiles = "ProgramFilesFolder" ?> > <?define MSI_version = "200" ?> > <?define MSI_platform = "Intel" ?> > <?endif?>
It is not correct. The VersionNT64 is public property. All public properties are evaluated in RunTime. You want to use some Macro (macro is evaluated in Compile time). By using the code above you need to specify (somewhere) the macro 'VersionNT64' and create two MSI packages (one for each VersionNT64 value). For creating the 64 / 32 bit packages you should check this forum a bit deeper. There are several threads that are worth to read. regards Stefan -- Stefan Pavlik ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users