After using the latest CUB files and specifying "LocalAppDataFolder" as
mentioned in the previous posts, I received a couple of ICE messages.
Here are lines 14-16 of my "TEST.wxs" file:
<Component Id="AjaxPanel.js_Component"
Guid="{639433E1-CDE0-40F2-8431-F147566B442C}">
<File Id="AjaxPanel.js" Name="AjaxPanel.js" KeyPath="yes"
ShortName="AJAXPA~1.JS" DiskId="1" Source="C:\...\AjaxPanel.js" />
</Component>
The Directory tag structure in which the Component is nested is:
TARGETDIR\LocalAppDataFolder\INSTALLDIR\Ajax
When I run light.exe on the wixobj, I receive the following error and
warning:
C:\...\TEST.wxs(14) : error LGHT0204 : ICE38: Component
AjaxPanel.js_Component installs to user profile. It must use a registry key
under HKCU as its KeyPath, not a file.
C:\...\TEST.wxs(15) : warning LGHT1076 : ICE91: The file 'AjaxPanel.js' will
be installed to the per user directory 'AJAXPANEL' that doesn't vary based
on ALLUSERS value.
I am not sure why I'm receiving these messages. Any thoughts as to what I
might be doing wrong?
Thanks,
Michael
On 2/22/07, Bob Arnson <[EMAIL PROTECTED]> wrote:
MJW wrote:
> I have been checking the WiX users archives and it looks like I need
> to update my "darice.cub" file. I have downloaded the Vista SDK, which
> contains a couple of versions of the darice.cub file. I have tried
> both of the versions supplied with the Vista SDK, located in:
> - Microsoft SDKs\Windows\v6.0\Bin\msitools\Schemas\MSI\110
> - Microsoft SDKs\Windows\v6.0\Bin\msitools\Schemas\MSI\120
The latest .cub files are part of Orca. So you need to install Orca and
then copy the .cubs out of the Orca install directory.
> Q3: How to make a user's "AppData" folder (in Vista) the default
> installation directory instead of "Program Files"?
> For our XP installations, we used the "ProgramFilesFolder" value for
> our It looks like Vista per-user installations require applications to
> be installed in the user's "AppData" folder. How do I specify this in
> WiX? Will it simply mean replacing "ProgramFilesFolder" with
> "AppDataFolder"?
You probably want to use LocalAppDataFolder so the code doesn't try to
roam. To make a per-user setup, you want to use
Package/@InstallPrivileges="limited" so WiX marks the package as being
LUA compliant.
--
sig://boB
http://bobs.org
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users