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!

BooBoo
Posts: 1
Joined: Tue Aug 24, 2004 9:58 pm

Adding a new Folder under Program Files listing all files

I am trying to create a installer for a PowerBuilder Application. The shortcut needs to have c:\program files\sybase\shared\powerbuilder in the field. When I click on the browse button to select this folder, evidently you can only select the folders that are listed on the left.

When I try to add c:\program files\sybase\shared\powerbuilder, it adds all the files, but not the folder. What am I doing wrong? If I add c:\program files\sybase, I get all the folders and files. Is this correct? It seems that I should be able to simply type in the correct working directory/start directory as I can with other installer applications.
Cata
Posts: 638
Joined: Thu Apr 10, 2003 7:37 am
Contact: Website

You cannot write "C:\Program Files\..." in an installer path because this folder may reside at a different location on the target machine. That is why we use paths like [TARGETDIR]\[PROGRAMFILESFOLDER] which get replaced at runtime with the correct path.

The Add Folder command only adds the content of the selected folder. You need to create the folder in the tree yourself.

Regards,
Cata
Catalin Rotaru - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”