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”