Public Folder Location - Advanced Installer Community
aaron.gundel
Posts: 1
Joined: Tue Aug 06, 2013 5:55 pm

Public Folder Location

How do I specify the "Public Folder" in the Files and Folders Resource section of AI? I see Public Documents, but I want to access the parent folder. Is there a simple way to do this?
Dan
Posts: 4530
Joined: Wed Apr 24, 2013 3:51 pm

Re: Public Folder Location

Hello and welcome to Advanced Installer forums,

Thank you for your interest in Advanced Installer.

Unfortunately we don't have predefined support for this. In order to achieve that you can have your own custom action. You can take a look on C++ function to get CSIDL for a public folder post which debates a similar subject

We also recommend you to use a DLL custom action for example, you can create your custom action as a custom action written in C# or a custom action written in C++, instead of VBScript and you can see some reasons why not to use VBScript .

Then you can go in the “Custom Actions” page and add a predefined Launch attached file custom action with sequence. This type of custom action can execute an application (EXE or DLL) or run a script (VBScript or Java script). Also, the source file will be embedded in the MSI file but will not be deployed at install time with the other application files.

If you have any questions, please let us know.

Best regards,
Dan
Dan Ghiorghita - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”