On 1/25/07, Chris Allen <[EMAIL PROTECTED]> wrote: > > Johan Appelgren wrote: > > I've created a setup package using Wix 3.0.2420.0 that I've used to > > install our product on a computer from a CD (removable media). But > > when I try to perform a minor upgrade it prompts me for a disk, > > "Please insert disk". > > > > In the logs there is a PackageMediaPath property set to the directory > > from where the original installation was done but without the drive, > > and I think Windows Installer is trying to find the cabs in that > > directory instead of looking in the directory where the upgrade msi is > > located. > > Our experience with MSI upgrades on removable media is that both: > > 1. The media volume label must be the same as the original media. > > 2. The directory where the package lives must be the same as the > original. (Although setting "MEDIAPACKAGEPATH" may work.) > > MSI records this information when you first install the package into the > registry locations noted here: > > http://support.microsoft.com/kb/299803/en-us > > In MSI 3.0 they finally added the "MsiSourceList...()" API functions > that allow you to access this stuff. (Of course, no good if you still > need to support NT4 :( ) > > Hope this helps. > Regards, > Chris
Thank you. This explains what I'm seeing perfectly. /Johan ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users