tjeziorny
Posts: 4
Joined: Fri Jan 20, 2006 4:44 pm

determining cdrom drive path

As part of my install process I need to write the user's cdrom drive path to an .ini file for later use by my application. Ideally, I'd like to present the user with a dialog where they enter this information but there doesn't seem to be a way to do this. So, does anyone know if there is a property or registry key that I could access to get this information?

The application itself does provide a place for the user to enter this info, so it doesn't have to be perfectly accurate. I just want to initially seed it with a value that is correct at least most of the time.

Thanks,

Tom
Mike
Posts: 292
Joined: Wed Jun 01, 2005 10:50 am
Location: Craiova, Romania
Contact: Website

Hi Tom,

I am afraid that there isn't any property that you can use to retrieve the CD-Rom drive letter.

You could use a custom action that displays a dialog and gets this information from the user.

Hope this helps.

Regards,
Mihai
Mihai Bobaru
Advanced Installer Team
http://www.advancedinstaller.com
solarstar
Posts: 7
Joined: Mon Mar 19, 2007 2:19 pm
Location: Deathstar

I assume the above is still true and has not been added in any new releases?
gigi
Posts: 2103
Joined: Tue Apr 11, 2006 9:55 am
Contact: Website

Hi,
I assume the above is still true and has not been added in any new releases?
For what exactly you need the CD-ROM drive path? If your package runs from CD-ROM and you want to obtain that path you can use SourceDir property.

Regards,
Gigi
______________
Gheorghe Rada
Advanced Installer Team
http://www.advancedinstaller.com

Return to “Common Problems”