
I know this topic has been addressed already but the threads are too old and locked.
All the solutions I found don't work

Distro: elementaryOS
Software: Pharaoh
Steps:
- Have a folder (not an ISO image) of Pharaoh in my linux home directory
- Create a drive on D: with winecfg and set up the type to CD-ROM and the target to $HOME/PHARAON
- Install Pharaoh with
cd $HOME/.wine/dosdevices/d\:/
wine SETUP.EXE
- All the installation process OK
- When I run the exe, I have the popup error saying that I have to insert the CD-ROM
wine $HOME/.wine/dosdevices/c\:/SIERRA/Pharaon/Pharaoh.exe
Screenshot of the explorer showing that the D: drive is mounted as a CD-ROM: