Create a directory on the application drive - 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!

Compiler
Posts: 9
Joined: Mon Jun 08, 2009 9:28 am

Create a directory on the application drive

How can I find the drive where my application is installed ? (Ex : C:\MyApp)
I have to create a directory on this drive. (Ex : C:\NewDir)

I didn't succeed with ROOTDRIVE property...
The drive may not be Windows Volume...

Thank you
Cosmin
Posts: 5797
Joined: Tue Jul 10, 2007 6:39 pm
Contact: Website

Re: Create a directory on the application drive

Hi,

The path for "Application Folder" in the "Files and Folders" page is stored in the "APPDIR" property. You can try parsing this through a custom action in order to get the root drive.

Regards,
Cosmin
Cosmin Pirvu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”