I am trying to write a Inno Setup script to install files from a CD drive to a predefined system C drive folder. Naturally, the CD/DVD ROM may have a different path ID on different systems. How do I code this variable path for the Source Files?
Inno Setup install script from CD/DVD drive (variable path)
729 Views Asked by Harry Unruh At
1
There are 1 best solutions below
Related Questions in PATH
- formatting path string in javascript
- Simplexml get path from variable
- Azure Web App PATH Variable Modification
- In Android, would it be possible to open a file in the 'values' folder and to read its content?
- Using paths bonded to a XCode project to be shared
- How would I be able to use a file in visual studio project on any computer?
- How to add directories to Cygwin gcc default search path
- Joomla css path incorrect
- R CMD recognize only some commands
- Generate TCPDF output to a shared drive folder
- How to get the exe path in nsis script?
- Issues with relative/absolute path
- relative path to .Exe
- Path of the current, parents and root directory
- JOptionPane Message with File Path
Related Questions in INNO-SETUP
- Is there a list of other values besides " ", and "-" that are invalid for components in Inno Setup?
- Add checkbox in task Page In inno-setup and make it work according to checkbox
- How to disable "browse" button on defaultDirectory wizard page
- Inno Setup - How to re-align the checkbox in the wpFinished page with image customized by ISSI script?
- Create shortcut based on result of Pascal function
- How to install same file to multiple locations (Inno Setup)
- How can I increase the width of a msgbox() in inno setup
- Registry aren't fully deleting when uninstalling
- Creating new progress bar and customizing Installer page in innosetup
- Changing the whole installer background with image(Not slideshow)
- How to show actual application size in control panel?
- Uninstall a visual studio extension using inno setup
- How to create new About button in Inno Setup?
- How to add two same function in Inno-setup
- signtool fail with Inno Setup with exit code 0x1
Related Questions in CDDVD
- Eject and Close CD/DVD Devices IN C#
- Create a CD/DVD ISO Image in .NET
- Uwamp Mysql Server from CD stops running after 5 seconds
- OSX-Mounting DVD programmatically does not launch user specified application
- Controlling DVD Drive using Python
- c# create media at runtime
- Can I uniquely identify DVDR(W)(+/-) medium from .NET?
- Reading and Writing to a DVD/CD - Java
- How can I detect if CDRom is a DVD on Linux
- Need to read the file modification/creation date & time of UDF file system
- Powershell event when CD burn starts from file explorer
- MediaTypes of CD/DVD in registry
- Getting the CD/DVD drive letter when using a SaveFileDialog (burning with IMAPI2)
- Upload field point to CD/DVD ROM instead of HDD [PHP]
- Inno Setup install script from CD/DVD drive (variable path)
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
Assuming your installer is located along with the files you are going to install, you can use the
{src}constant to refer to installer's folder along with theexternalflag:If your installer is located elsewhere, there's no generic solution. Note that there may be even more CD/DVD drives on the computer.
You would have to programmatically enumerate all drives, testing for their type (CD/DVD) and presence of certain files for example.