Installing a file on the c:/ 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!

jewjew
Posts: 1
Joined: Tue Jan 15, 2008 2:30 am

Installing a file on the c:/ drive

I need to create an MSI that will drop a file straight onto the c drive. Can someone please help.
Cosmin
Posts: 5797
Joined: Tue Jul 10, 2007 6:39 pm
Contact: Website

Hi,

For this you can create a public property in the "Install Parameters" page (for example the property MY_DIR with the value "C:\"). In the "Files and Folders" page you can use this property to create a property-based folder and add the file in it.
http://www.advancedinstaller.com/user-g ... eters.html

Also, you can use the "Windows Volume" predefined folder (in the "Files and Folders" page). This folder will be resolved at runtime to the drive on which Windows is installed (usually "C:\").

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

Return to “Common Problems”