Re: [WiX-users] x64 and ProgramFilesFolder vs. ProgramFiles64Folder

2007-11-04 Thread Bob Arnson
Geoff Finger wrote:
> How do you avoid getting the "error LGHT0109 : Duplicate symbol
> 'Directory:INSTALLDIR' found." errors in that case? 

You can't have two directories with the same id. If you're letting the 
user pick an install directory, you're going to need two they can pick 
if you want to break out 32-bit and 64-bit files.

-- 
sig://boB
http://joyofsetup.com/



-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] x64 and ProgramFilesFolder vs. ProgramFiles64Folder

2007-11-02 Thread Geoff Finger
On Oct 24, 2007 7:59 AM, Bob Arnson <[EMAIL PROTECTED]> wrote:
> Geoff Finger wrote:
> > Instead what I found was a post claiming "I don't think you want to
> > reference ProgramFiles64Folder either. Use ProgramFilesFolder and
> > Windows Installer will put things in the correct directory based upon
> > the Component's Win64 setting."
> >
>
> That's not how it works. A 64-bit package can write to both folders (as
> appropriate given the bitness of its components) but it's not automatic
> so you need both directory hierarchies.

How do you avoid getting the "error LGHT0109 : Duplicate symbol
'Directory:INSTALLDIR' found." errors in that case? I can change
INSTALLDIR to INSTALLDIR2 or something similar, but then the file
structure in Program Files (x86) won't match that in Program Files if
the user changes the install directory, right? Do I need to make some
kind of custom action to copy the value of INSTALLDIR to INSTALLDIR2
after the directory selection page?

Thanks! (And sorry about the slow response, I got sidetracked onto
another project for awhile.)

-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] x64 and ProgramFilesFolder vs. ProgramFiles64Folder

2007-10-24 Thread Bob Arnson
Geoff Finger wrote:
> Instead what I found was a post claiming "I don't think you want to
> reference ProgramFiles64Folder either. Use ProgramFilesFolder and
> Windows Installer will put things in the correct directory based upon
> the Component's Win64 setting."
>   

That's not how it works. A 64-bit package can write to both folders (as 
appropriate given the bitness of its components) but it's not automatic 
so you need both directory hierarchies.

-- 
sig://boB
http://joyofsetup.com/



-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] x64 and ProgramFilesFolder vs. ProgramFiles64Folder

2007-10-24 Thread Karim MacDonald


Geoff Finger-2 wrote:
> 
> The specific problem in this case is the x64 installer was working
> just fine but someone pointed out that one of the files was 32 bit and
> thus should be installed to "Program Files (x86)" instead of the
> normal Program Files folder.
> 
On 64-bit Windows, ProgramFiles64Folder will evaluate to "Program Files" &
ProgramFilesFolder to "Program Files (x86)".
AFAIK you need to duplicate your directory hierarchies: it won't happen
automatically:


  
 ... 
  
  
 ... 
  


Geoff Finger-2 wrote:
> 
> I have " InstallerVersion="200" Compressed="yes" Platforms="x64"" in
> the Package element, and "Win64="yes"" for all the components (except
> the one that's _supposed_ to end up in the x86 folder of course.)
> 
This sounds right.

-Karim

-- 
View this message in context: 
http://www.nabble.com/x64-and-ProgramFilesFolder-vs.-ProgramFiles64Folder-tf4680463.html#a13383179
Sent from the wix-users mailing list archive at Nabble.com.


-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] x64 and ProgramFilesFolder vs. ProgramFiles64Folder

2007-10-23 Thread Geoff Finger
After poking around a little more I've found something in the logs
that might be related. There are a lot of messages about:
"WIN64DUALFOLDERS: Substitution in 'C:\Program Files
(x86)\InstallDir\File.exe' folder had been blocked by the 1 mask
argument (the folder pair's iSwapAttrib member = 0)."

Some google searches have indicated that some other people have
complained in the past about it changing their install location
between "Program Files (x86)" and "Program Files", which is exactly
what I want it to be doing in my case, but in all those examples
iSwapAttrib was set to 1. And aside from those occasional complaints
I've so far found nothing at all about what WIN64DUALFOLDERS and
iSwapAttrib are or how to set the value of the later. Anyone have any
clues of what I'm doing wrong in Wix to get that value screwed up?

Thanks again!

-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users