I'm actually using V2 for now. The odd bit is the failure when I use x64 for the platforms attribute; that just seems weird unless it dislikes my 32-bit helper dll, which seems unlikely.
Cheers -- m Jason Ginchereau wrote: > 1. Are you using WiX v2 or v3? In v3, I believe the "Platforms" attribute is > deprecated in favor of "Platform", because an MSI package can only actually > be set to a single platform. Setting Platform="x64" definitely works on Vista > x64 -- that's the way we build Wix3_x64.msi. You do NOT need the 64bit > install of WiX in order to build 64bit MSIs. (You only need Wix3_x64.msi if > you want to integrate with 64bit MSBuild, which is rarely done for now.) > > 2. A 32bit MSI cannot install anything to any 64bit system folders or the > 64bit registry. As you found, attempting to do so results in a silent > redirect. Therefore if you must install something to ProgramFiles64 or > CommonFiles64 etc then you need a 64bit MSI. But then because a 64bit MSI > cannot install at all on a 32bit OS, you will need to build two separate MSIs > to cover both platforms. It is an unfortunate limitation in the way MSI > supports 64bit platforms. > > -Jason- > > -----Original Message----- > From: Martin MacPherson [mailto:[EMAIL PROTECTED] > Sent: Friday, October 17, 2008 9:34 AM > To: [EMAIL PROTECTED]; General discussion for Windows Installer XML toolset. > Subject: Re: [WiX-users] 64-bit installer questions (simple) > > I don't really know anything about 64-bit installations but as far as I can > see there is a 64-bit version of wix..perhaps that might help? > http://wix.sourceforge.net/releases/3.0.4603.0/ > > 2008/10/17 Michael Owings <[EMAIL PROTECTED]> > >> This is certainly more of a Windows Installer question, but here goes: >> >> 1) I've noticed that my MSI will not run on a Vista-64 box if I add the >> Platforms="x64" attribute. The error is something to the effect of : >> "This installation package could not be opened. Contact the application >> vendor to verify that this is a valid Windows Installer package." The >> 32-bit version works fine under vista. What might be the cause of this? >> Do I need a 64-bit version of wix? Should my custom actions dll be build >> 64-bit? The MSI can be opened with Orca and examined without issues. >> >> 2) Really, I don't *have* to have a 64-bit installer, as my install >> package is mixed anyway. Things basically work perfectly as-is, but I'm >> seeing a directory which I've given the Id CommonFiles64Folder being >> transformed to the x86 version of the path. From the log: >> >> PROPERTY CHANGE: Modifying CommonFiles64Folder property. Its current >> value is 'C:\Program Files\Common Files\'. Its new value: 'C:\Program >> Files (x86)\Common Files\'. >> >> The component it contains is marked Win64="yes" (it's a 64-bit dll). >> >> The MS docs for this property don't lead me to believe that it would >> change in this manner, but I must be misunderstanding something about 32 >> versus 64-bit installs. Any hints would be appreciated, although the >> issue is easy enough to work around. It's just bugging me that I don't >> understand why this is happening. >> >> Thanx -- m >> >> -- >> Teleoperate a roving mobile robot from the web: >> http://www.swampgas.com/robotics/rover.html >> >> ------------------------------------------------------------------------- >> This SF.Net email is sponsored by the Moblin Your Move Developer's >> challenge >> Build the coolest Linux based applications with Moblin SDK & win great >> prizes >> Grand prize is a trip for two to an Open Source event anywhere in the world >> http://moblin-contest.org/redirect.php?banner_id=100&url=/ >> _______________________________________________ >> WiX-users mailing list >> WiX-users@lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/wix-users >> > ------------------------------------------------------------------------- > This SF.Net email is sponsored by the Moblin Your Move Developer's challenge > Build the coolest Linux based applications with Moblin SDK & win great prizes > Grand prize is a trip for two to an Open Source event anywhere in the world > http://moblin-contest.org/redirect.php?banner_id=100&url=/ > _______________________________________________ > WiX-users mailing list > WiX-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/wix-users > > > -- Teleoperate a roving mobile robot from the web: http://www.swampgas.com/robotics/rover.html ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users