|
|
#1 |
|
Junior Member
Join Date: Apr 2004
Posts: 1
|
checking for proper cd in a 6 cd installation
I've been struggling to find a way to have the installer verify the disk that is in the drive at the beginning of each section. My current plan is to place a file on each disk (disk1.id, disk2.id, etc...) that i can verify its existence using IfFileExists.
My problem is if the file doesnt exist, i need to pop up a msgbox prompting to install the correct disk(this is not a problem) and then recheck for correct disk upon clicking OK or if it IS the correct disk, follow through on the installation of the contents. I believe my problem is how i have the jump_to/jump_otherwise tags setup. Does anyone know of any examples of this i can check out or any tips or suggestions of alternate methods that might point me in the right direction? Any help would be greatly appreciated |
|
|
|
|
|
#2 |
|
NSIS MUI Dev
Join Date: Nov 2001
Posts: 3,717
|
Using Windows API (System plug-in) is more reliable.
To jump back use Goto with a label: ;create file check: IfFileExists "file" fileok ;message ;create file again Goto check fileok: |
|
|
|
![]() |
|
|||||||
| Thread Tools | Search this Thread |
| Display Modes | |
|
|