enigma
Posts: 89
Joined: Fri Jun 08, 2007 10:12 am

"Please insert the Disk" Error when there are merge modules

I got an error when I burnt my installer folder onto a CD disk and tried to run the installer from the CD. But if I copied the installer down from CD before running it, then there is no problem.

Here are the steps to reproduce the problem:
  1. Download the zip file, unzip it
  2. Build the MergeBoduleBug.aip to create a MergeModuleBug.msm
  3. Open the WhatTheProblem3.aip, point the merge module to MergeModuleBug.msm
  4. Burn the folder WhatProblem to a CD Drive, I used Nero start for this purpose.
  5. Try to install the program from CD Drive without first copy it down from the CD Rom.
  6. You will get a "Insert Into Disk" error as shown below. I think the problem lies with when trying to install the merge module component.
Image

Do let me know the outcome of the investigation and fix this problem, thanks.
Attachments
Insert into disk.zip
(96.67 KiB) Downloaded 423 times
Cosmin
Posts: 5797
Joined: Tue Jul 10, 2007 6:39 pm
Contact: Website

Re: "Please insert the Disk" Error when there are merge modules

Hi,

We investigated this behavior and it seems that it is caused by a bug in Advanced Installer and by a Windows Installer limitation. Thank you for bringing it to our attention. A bugfix will be included in the next version. Basically, the volume label of the CABs should match the CD label. For your package you can try this workaround:
- open the 32-bit MSI with Orca
- use the "Transform" -> "Apply Transform" menu
- select the MST file from the folder which contains the installation files ("zyps.mst")
- in the "Media" table set all "DiskPrompt" and "VolumeLabel" entries to the label you want to give to your CD (for example "MyApp")
- use the "Transform" -> "Close Transform" menu
- when prompted about saving the changes click "Yes" and save the transform under a different name
- delete the original transform ("zyps.mst")
- rename the new transform to match the original
- when adding the installation files to a CD/DVD, make sure the CD/DVD label is the one you specified in the "Media" table

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

Return to “Common Problems”