...sorry, hit send too quickly. For sourcing external files properly, make sure you familiarize yourself with the directory table: http://msdn2.microsoft.com/En-US/library/aa368295.aspx
Rob has an excellent write-up on his blog as well. I am too lazy to go get the URL right now, but just do a search on his blog. :-P Regards, //aj On 5/30/07, Aaron Shurts <[EMAIL PROTECTED]> wrote: > Are you trying to stuff 50GB in to one cab? > > Regards, > //aj > > On 5/30/07, Ravit Shapira <[EMAIL PROTECTED]> wrote: > > > > > > > > > > 1. I'm using version: 2.0.4701.0 > > > > > > > > 2. I did start my work with having the files outside the cab because I > > suspected that cabinet cannot hold large amount of data as I have. However, > > when I tried to save my files outside the cab and having them arranged in > > different folders, I passed the link stage but during runtime I got an error > > that says that it can't find the files. If I save the files in the same > > folder where the msi file is located the installation works with no error, > > however, I have to save the files inside folder, since I have different > > files that share the same name and I cannot put them all together in one > > folder. > > > > > > > > Thanks a lot for your feedback! > > > > > > > > Ravit > > > > > > > > ________________________________ > > > > > > From: Rob Mensching > > Sent: Wednesday, May 30, 2007 10:44 AM > > To: Ravit Shapira; wix-users@lists.sourceforge.net > > Cc: Rob Chambers > > Subject: RE: link error > > > > > > > > > > > > What version of the WiX toolset are you using? > > > > > > > > WiX shouldn't crash, but you should know that a cabinet file can't really > > hold more than 2 GB of data. > > > > > > > > > > > > From: Ravit Shapira > > Sent: Wednesday, May 30, 2007 2:49 AM > > To: wix-users@lists.sourceforge.net; Rob Mensching > > Cc: Rob Chambers > > Subject: link error > > > > > > > > Hi, > > > > > > > > I'm trying to create a setup that installs ~50GByte of files data, while all > > the files are in the cab and I get the following link error: > > > > > > > > light.exe : error LGHT0001 : Attempted to read or write protected memory. > > This is often an indication that other memory is corrupt. > > > > > > > > Exception Type: System.AccessViolationException > > > > > > > > Stack Trace: > > > > at > > Microsoft.Tools.WindowsInstallerXml.Cab.Interop.CabInterop.CreateCabFinish > > (IntPtr contextHandle) at > > Microsoft.Tools.WindowsInstallerXml.Cab.WixCreateCab.Close() > > > > at > > Microsoft.Tools.WindowsInstallerXml.Binder.CreateCabinet(String > > cabinetDir, String cabinetName, CompressionLevel level, ArrayList files, > > ImportStreamCollection importStreams, ArrayList fileTransfers) at > > Microsoft.Tools.WindowsInstallerXml.Binder.ProcessMediaInformation(StringdatabasePath, > > Output output, ArrayList fileTransfers) at > > Microsoft.Tools.WindowsInstallerXml.Binder.Bind(Output > > output) at > > Microsoft.Tools.WindowsInstallerXml.Tools.Light.Run(String[] > > args) > > > > > > > > > > > > Do you have any idea why and how I can resolve this problem? > > Does splitting my install into several smaller cabs, is the only way to > > solve this error? > > What about keeping these files outside the cab - is it possible to do that > > when all the files are organized in different folders during rumtime? I > > succeeded to create such a setup but during runtime I get an error that it > > doesn't find the files. If I put the files side by side where the msi is > > located the setup works with no runtime error. However, I can not put all > > the files in the same folder together with the msi, since I have many files > > with similar names. How can I configure my setup to look up for the files in > > folders during runtime when the files are not part of the cab (I know how to > > pass the link stage, when the files are located in different folders. My > > problem is with runtime)? > > > > > > > > Thanks, > > > > Ravit > > > > > > > > > > ------------------------------------------------------------------------- > > This SF.net email is sponsored by DB2 Express > > Download DB2 Express C - the FREE version of DB2 express and take > > control of your XML. No limits. Just data. Click to get it now. > > http://sourceforge.net/powerbar/db2/ > > _______________________________________________ > > WiX-users mailing list > > WiX-users@lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/wix-users > > > > > ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users