Gabor,

Thanks again. I saw Vista when I clicked on LocalAppDataFolder property on
the page you mentioned.

The resulting page is:
http://msdn2.microsoft.com/en-us/library/aa369768(VS.85).aspx

Hina


DEÁK JAHN, Gábor-2 wrote:
> 
> On Thu, 27 Dec 2007 14:41:03 -0800 (PST), hina1703 wrote:
> 
> Hina,
> 
>> Thanks for the reply. But it says that for Vista,
>> SHGetKnownFolderPath function should be used to get the path. So I
>> wanted to know how can I use it?
> 
> I can't see Vista mentioned on that page anywhere. Are you sure you
> visited the Windows Installer properties, not the Win32 API for
> applications? SHGetKnownFolderPath () is a shell function programs can
> call and it is indeed new to Vista, a new alias for the old
> SHGetFolderPath () function.
> 
> All you have to do is to use the property name listed on that page as your
> target dir in your .wxs file. There is no need to call any Windows
> function at all.
> 
> Bye,
>    G�bor
> 
> -------------------------------------------------------------------
> DE�K JAHN, G�bor -- Budapest, Hungary
> E-mail: [EMAIL PROTECTED]
> 
> 
> -------------------------------------------------------------------------
> This SF.net email is sponsored by: Microsoft
> Defy all challenges. Microsoft(R) Visual Studio 2005.
> http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
> _______________________________________________
> WiX-users mailing list
> WiX-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wix-users
> 
> 

-- 
View this message in context: 
http://www.nabble.com/How-to-use-SHGetKnownFolderPath%28Environment.SpecialFolder.CommonApplicationData%29-to-get-targetdir--tp14518285p14521485.html
Sent from the wix-users mailing list archive at Nabble.com.


-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to