Windows Installer MyVideos property - Advanced Installer Community

We’re moving our forums to a new platform.

You can still browse and search existing topics, but you can no longer create new topics or post replies.

For questions, technical issues, or feature requests, please don’t hesitate to contact our support team at support@advancedinstaller.com.

Thank you for your understanding!

pmalick
Posts: 15
Joined: Fri Jul 10, 2009 4:43 pm

Windows Installer MyVideos property

Hello,

I'm running Advanced Installer on Windows 7
There is a windows installer property called [MyPicturesFolder]. I cannot find any property to get back the following user folders
- My Videos folder
- My Music folder
- Public Pictures folder
- Public Videos folder
- Public Music folder

Is there a Way in Advanced Installer to get back the value of the user folders above

Thanks
Eusebiu
Posts: 4971
Joined: Wed Nov 14, 2012 2:04 pm

Re: Windows Installer MyVideos property

Hi,

Unfortunately, Windows Installer does not have predefined properties for these folders.

As a workaround, you can create your own properties and append them the path to this folders using our "WindowsLibrariesFolder" property (this can be used for "My Videos" and "My Music" folders).

In order to achieve this you can go in the Install Parameters page and create a new property (i.e. VIDEO), then go in the Custom Actions page and create "Set installer property" custom action with the following configuration:
  • Property: VIDEO
    Formatted: [WindowsLibrariesFolder]\Videos
For the paths to the "Public" folders you can create your own custom action with this functionality.

Let us know if this helped, otherwise give us more details about your scenario.

Best regards,
Eusebiu
Eusebiu Aria - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
pmalick
Posts: 15
Joined: Fri Jul 10, 2009 4:43 pm

Re: Windows Installer MyVideos property

Hello

Thanks for the answer

Unfortunately, this does not fit. [WindowsLibrariesFolder] gives an access to the Windows libraries folder. It does not work under Vista or XP. I really need to access to the user Video and Music folders (MyVideo, MyPictures)
Is there a way without writing a custom action.

Best regards
Patrick
Eusebiu
Posts: 4971
Joined: Wed Nov 14, 2012 2:04 pm

Re: Windows Installer MyVideos property

Hi Patrick,

You can use [PersonalFolder] instead of [WindowsLibrariesFolder] if you want to take the path to the folders found in "My Documents" directory.

Best regards,
Eusebiu
Eusebiu Aria - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”