davidekholm
Posts: 5
Joined: Sun Mar 01, 2009 1:34 pm

Accessing the "My Pictures" folder

I'm new to AdvancedInstaller so please forgive me if this is documented somewhere (I couldn't find it). I'd like to pass along the path to the "My Pictures" folder as a Java system property using Advanced Installer (Java application). As different Windows language versions use different paths, and the fact that Vista uses a different path system than Windows XP, I cannot rely on a hard coded path to the "My Pictures" folder. I bet there is a registry entry that stores this path. Is there a way using AdvancedInstaller to pass along the value of a registry key to a Java system property?
Cosmin
Posts: 5797
Joined: Tue Jul 10, 2007 6:39 pm
Contact: Website

Re: Accessing the "My Pictures" folder

Hi,

For the Java system property you can try using the [MyPicturesFolder] property. During install Windows Installer will resolve it automatically to the full path of the "My Pictures" folder.

Regards,
Cosmin
Cosmin Pirvu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
davidekholm
Posts: 5
Joined: Sun Mar 01, 2009 1:34 pm

Re: Accessing the "My Pictures" folder

Thanks. Works great. I've just bought a license.

Return to “Feature Requests”