PDA

View Full Version : How do I install to CSIDL_COMMON_DOCUMENTS



rjolda
09-19-2009, 03:38 PM
Hi,
I want to install my application and data and subdirectories in a folder \PDMG
underneath the CSIDL_COMMON_DOCUMENTS folder for my users. This is a different folder for XP and Vista so it has to get the value of CSIDL_COMMON_DOCUMENTS at install time.
How do I set up SB7 to do this?
Thanks,
Ron Jolda

linder
09-21-2009, 01:20 AM
Ron,

You can use the built-in variable %_CSIDL_COMMON_DOCUMENTS% or build your own custom variable with the "Get Special Folder Path(CSIDL_COMMON_DOCUMENTS)" script function. Then append your \PDMB folder.

Hope this helps.

Friedrich

--
Friedrich Linder
Lindersoft
www.lindersoft.com
+1.954.252.3910

SetupBuilder is Windows installation -- "point. click. ship"

-- Official Comodo Code Signing and SSL Certificate Partner

rjolda
09-21-2009, 05:07 PM
Thanks Friedrich,
I was missing the "_" before the %CSIDL.....%. Now, works fine!!!
Ron