Thank you Gabor & Kelly. Hina
Kelly Leahy-2 wrote: > > As Gabor said, > > This reference is a reference to the way normal apps should retrieve the > value of that folder name, not the way that installers should retrieve it > - they should just use the MSI property. I'm not sure why that reference > is even made in the MSI documentation - it's confusing at best, and I > think it's a bit misleading. > > Kelly > > > > > hina1703 <[EMAIL PROTECTED]> > > Sent by: [EMAIL PROTECTED] > 12/27/2007 06:43 PM > > To > wix-users@lists.sourceforge.net > cc > > Subject > Re: [WiX-users] How to use > SHGetKnownFolderPath(Environment.SpecialFolder.CommonApplicationData) to > get targetdir? > > > > > > > > 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 > > > > > ************************************************************************************** > This communication is intended solely for the addressee and is > confidential. If you are not the intended recipient, any disclosure, > copying, distribution or any action taken or omitted to be taken in > reliance on it, is prohibited and may be unlawful. Unless indicated > to the contrary: it does not constitute professional advice or > opinions upon which reliance may be made by the addressee or any > other party, and it should be considered to be a work in progress. > Unless stated otherwise, this communication does not form a prescribed > statement of actuarial opinion under American Academy of Actuaries > guidelines. > ************************************************************************************** > ------------------------------------------------------------------------- > 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--tp14518285p14526285.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