Re: [WiX-users] With per-user install, some files are placed in the all-users location.

2009-10-16 Thread Blair
In a verbose installation log, search for the properties Content, Audio,
FBX, _394D1CD9,  boku_programming_ui_02.fbm. See which one starts the
deviation from the others. Then look back to where that property gets set
and who sets it.

-Original Message-
From: Eric Anderson [mailto:eand...@microsoft.com] 
Sent: Friday, October 16, 2009 1:51 PM
To: General discussion for Windows Installer XML toolset.
Subject: [WiX-users] With per-user install, some files are placed in the
all-users location.

Hello,

Our installer project has a large number of content files existing in a
pretty deep folder hierarchy. We use the heat.exe utility to generate a
fragment for all of them. This works great, the xml output looks correct.
But when performing a per-user install, one of the folders always goes to
the all-users location (below Program Files). All other content folders go
the expected location (below AppData/Local/Apps), it's just one of them that
gets misplaced.

I'm not sure how it is possible for files in the same fragment to have
different base paths. Here's a snippet of our content file fragment:

The beginning of the content fragment:

Fragment
DirectoryRef Id=APPLICATIONFOLDER
Directory Id=Content Name=Content

This folder (Audio), and many others at this level, go to the correct
location:

Directory Id=Audio Name=Audio
Component Id=In_Memory_Wave_Bank.xwb Guid=*
File Id=In_Memory_Wave_Bank.xwb KeyPath=yes
Source=SourceDir\Content\Audio\In Memory Wave Bank.xwb /
/Component
 ...

This folder (FBX), which exists at the same level in the fragment as Audio
(from above), always goes to the all-users location:

Directory Id=FBX Name=FBX
Directory Id=_394D1CD9 Name=394D1CD9
Directory Id=boku_programming_ui_02.fbm
Name=boku_programming_ui-02.fbm
Component Id=actuator_face_03_0.xnb Guid=*
File Id=actuator_face_03_0.xnb
KeyPath=yes
Source=SourceDir\Content\FBX\394D1CD9\boku_programming_ui-02.fbm\actuator-f
ace-03_0.xnb /
/Component



I'm pretty new to WiX, so I'm probably just missing something obvious. Any
help is much appreciated.

Thanks,

Eric



--
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


--
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] With per-user install, some files are placed in the all-users location.

2009-10-16 Thread Eric Anderson
Here's a long shot: Could the FBX and _394D1CD9 folders be treated differently 
because they consist of all uppercase letters?


-Original Message-
From: Blair [mailto:os...@live.com] 
Sent: Friday, October 16, 2009 3:00 PM
To: 'General discussion for Windows Installer XML toolset.'
Subject: Re: [WiX-users] With per-user install, some files are placed in the 
all-users location.

In a verbose installation log, search for the properties Content, Audio,
FBX, _394D1CD9,  boku_programming_ui_02.fbm. See which one starts the
deviation from the others. Then look back to where that property gets set
and who sets it.

-Original Message-
From: Eric Anderson [mailto:eand...@microsoft.com] 
Sent: Friday, October 16, 2009 1:51 PM
To: General discussion for Windows Installer XML toolset.
Subject: [WiX-users] With per-user install, some files are placed in the
all-users location.

Hello,

Our installer project has a large number of content files existing in a
pretty deep folder hierarchy. We use the heat.exe utility to generate a
fragment for all of them. This works great, the xml output looks correct.
But when performing a per-user install, one of the folders always goes to
the all-users location (below Program Files). All other content folders go
the expected location (below AppData/Local/Apps), it's just one of them that
gets misplaced.

I'm not sure how it is possible for files in the same fragment to have
different base paths. Here's a snippet of our content file fragment:

The beginning of the content fragment:

Fragment
DirectoryRef Id=APPLICATIONFOLDER
Directory Id=Content Name=Content

This folder (Audio), and many others at this level, go to the correct
location:

Directory Id=Audio Name=Audio
Component Id=In_Memory_Wave_Bank.xwb Guid=*
File Id=In_Memory_Wave_Bank.xwb KeyPath=yes
Source=SourceDir\Content\Audio\In Memory Wave Bank.xwb /
/Component
 ...

This folder (FBX), which exists at the same level in the fragment as Audio
(from above), always goes to the all-users location:

Directory Id=FBX Name=FBX
Directory Id=_394D1CD9 Name=394D1CD9
Directory Id=boku_programming_ui_02.fbm
Name=boku_programming_ui-02.fbm
Component Id=actuator_face_03_0.xnb Guid=*
File Id=actuator_face_03_0.xnb
KeyPath=yes
Source=SourceDir\Content\FBX\394D1CD9\boku_programming_ui-02.fbm\actuator-f
ace-03_0.xnb /
/Component



I'm pretty new to WiX, so I'm probably just missing something obvious. Any
help is much appreciated.

Thanks,

Eric



--
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


--
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


--
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] With per-user install, some files are placed in the all-users location.

2009-10-16 Thread Eric Anderson
I believe the problem may have been that their identifiers were all uppercase. 
Changing them to mixed case resolved the issue.


-Original Message-
From: Eric Anderson [mailto:eand...@microsoft.com] 
Sent: Friday, October 16, 2009 4:16 PM
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] With per-user install, some files are placed in the 
all-users location.

Here's a long shot: Could the FBX and _394D1CD9 folders be treated differently 
because they consist of all uppercase letters?


-Original Message-
From: Blair [mailto:os...@live.com] 
Sent: Friday, October 16, 2009 3:00 PM
To: 'General discussion for Windows Installer XML toolset.'
Subject: Re: [WiX-users] With per-user install, some files are placed in the 
all-users location.

In a verbose installation log, search for the properties Content, Audio,
FBX, _394D1CD9,  boku_programming_ui_02.fbm. See which one starts the
deviation from the others. Then look back to where that property gets set
and who sets it.

-Original Message-
From: Eric Anderson [mailto:eand...@microsoft.com] 
Sent: Friday, October 16, 2009 1:51 PM
To: General discussion for Windows Installer XML toolset.
Subject: [WiX-users] With per-user install, some files are placed in the
all-users location.

Hello,

Our installer project has a large number of content files existing in a
pretty deep folder hierarchy. We use the heat.exe utility to generate a
fragment for all of them. This works great, the xml output looks correct.
But when performing a per-user install, one of the folders always goes to
the all-users location (below Program Files). All other content folders go
the expected location (below AppData/Local/Apps), it's just one of them that
gets misplaced.

I'm not sure how it is possible for files in the same fragment to have
different base paths. Here's a snippet of our content file fragment:

The beginning of the content fragment:

Fragment
DirectoryRef Id=APPLICATIONFOLDER
Directory Id=Content Name=Content

This folder (Audio), and many others at this level, go to the correct
location:

Directory Id=Audio Name=Audio
Component Id=In_Memory_Wave_Bank.xwb Guid=*
File Id=In_Memory_Wave_Bank.xwb KeyPath=yes
Source=SourceDir\Content\Audio\In Memory Wave Bank.xwb /
/Component
 ...

This folder (FBX), which exists at the same level in the fragment as Audio
(from above), always goes to the all-users location:

Directory Id=FBX Name=FBX
Directory Id=_394D1CD9 Name=394D1CD9
Directory Id=boku_programming_ui_02.fbm
Name=boku_programming_ui-02.fbm
Component Id=actuator_face_03_0.xnb Guid=*
File Id=actuator_face_03_0.xnb
KeyPath=yes
Source=SourceDir\Content\FBX\394D1CD9\boku_programming_ui-02.fbm\actuator-f
ace-03_0.xnb /
/Component



I'm pretty new to WiX, so I'm probably just missing something obvious. Any
help is much appreciated.

Thanks,

Eric



--
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


--
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


--
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


--
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer