Pally Sandher wrote:
> 
> That looks OK if it's passing the ICE tests now as it's much like the
> sample in the How to create a shortcut
> (http://wix.sourceforge.net/manual-wix3/create_start_menu_shortcut.htm).
> Shortcuts are still files as far as the file system is concerned so
> copying that sample for your own needs should be fine.
> 

The only lingering reason that I don't like this method, is that I have to
create additional empty components to remove the layers of subdirectories (3
deep in places). Fortunately, they don't get removed if there's other stuff
in there, so it just looks sloppy in the WiX file, nowhere else.


Pally Sandher wrote:
> 
> My only question would be do you need to use AppDataFolder as it's a
> user-specific directory? If you're doing a per-machine installation does
> the app your software is an add-on for allow you to use
> CommonAppDataFolder instead? Also AppDataFolder is the Roaming folder
> (http://msdn.microsoft.com/en-us/library/aa367565.aspx) are you sure you
> shouldn't be using LocalAppDataFolder
> (http://msdn.microsoft.com/en-us/library/aa369768.aspx) instead if you
> have to use a user-specific directory?
> 

For various reasons, we need a per-user install. If I understand correctly,
that's the default when you don't explicitly set the ALLUSERS property in
WiX. At the very least, setting it explicitly to the empty string, 
http://msdn.microsoft.com/en-us/library/aa367559%28VS.85%29.aspx as
specified on MSDN , doesn't compile (error CNDL0006) and instructs you to
remove the attribute, which I assume is equivalent to removing the whole tag
altogether. Please correct me if I'm wrong.

And, yes, we're installing to AppDataFolder, not LocalAppDataFolder. That's
where the 3rd-party software expects the add-on component XML files.
Incidentally, this 3rd-party software only runs on XP (don't get me
started), so that's our target as well.
-- 
View this message in context: 
http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/installing-files-to-user-s-application-data-folder-tp5377311p5381665.html
Sent from the wix-users mailing list archive at Nabble.com.

------------------------------------------------------------------------------
This SF.net email is sponsored by 

Make an app they can't live without
Enter the BlackBerry Developer Challenge
http://p.sf.net/sfu/RIM-dev2dev 
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to