Re: [WiX-users] Light System.AccessViolationException error(Microsoft.Tools.WindowsInstallerXml.Cab.Interop.CabInterop.CreateCabFinish)

2007-01-31 Thread Mike Dimmick
The WiX tools generate an 0001 error when any unexpected exception occurs. They log the original error message as supplied in the original exception. In this case an AccessViolationException occurred, which is generated by the .NET Common Language Runtime whenever some external code (P/Invoke or CO

Re: [WiX-users] Upgrade

2007-01-31 Thread Mike Dimmick
The thing that changes feature states is the MigrateFeatureStates action. See http://msdn2.microsoft.com/en-us/library/aa370034.aspx for documentation on this. Have you done something odd like reuse an upgrade code from a different product entirely? I would imagine this would cause MigrateFeatu

[WiX-users] Wix Patching

2007-01-31 Thread Ashish Premaraj
Hi,     We are having issues with slipstreaming our RTM product with the SP1 MSP patch.  The following error is thrown when the patch is being applied. ” Error 2920:  Source directory not specified for file catalog.51B6FD4C_6551_1104_FF1F_C8B3B9A1E18E”. We are creating the patch using

Re: [WiX-users] Any documentation on WiX/Windows Installer limits?

2007-01-31 Thread Bob Arnson
Alex Lian wrote: > Well, I'm pretty sure now that light.exe has a 2GB limitation on > its own for the MSI file itself (regardless of using cabs < 2GB in > size). > Light passes most of the .msi construction on to MSI itself, so that's likely where any limit lives. Structured storage files can

Re: [WiX-users] SpawnDialog resulting from "Next" button?

2007-01-31 Thread Bob Arnson
Levi Wilson wrote: I want to display an InfoDlg (just has an info icon and an OK button) when the user selects next to warn them about a selection they just made. My InfoDlg returns "Return" as a result of the EndDialog event. What I want to happen is to warn them, and the wizard continues t

Re: [WiX-users] Upgrade

2007-01-31 Thread Bob Arnson
Leila Lali (Excell Data Corporation) wrote: Because I want if there is a old version installed, it upgrade it. Otherwise it should install the new version. That's a major upgrade, especially as you're reorganizing the feature tree. See the Upgrade and UpgradeVersion elements and http://ww

Re: [WiX-users] Sequential msi installations

2007-01-31 Thread Bob Arnson
Geoff Finger wrote: > The program I'm working on needs to have either SQL 2005 or the SQL > Server Native Client installed. We've decided that if neither of those > have been installed we should give the user the option of installing > the Native Client after the basic installation is finished in o

Re: [WiX-users] SqlString works but SqlScript bombs in WiX v3.0?

2007-01-31 Thread Rob Mensching
WiX v3 is not stable right now. WiX v2 works much better. When WiX v2 is complete (soon, assuming shipping Vista and Office lets up soon) then I'll port all those fixes up to WiX v3. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Nicholas Piasecki Sen

[WiX-users] SqlString works but SqlScript bombs in WiX v3.0?

2007-01-31 Thread Nicholas Piasecki
Dear All, I've playing with WiX for a week now and it's a great toolset, but I've hit a wall with a particularly strange error. I'm using WiX 3.0.2526 (last week's build). Here's a snippet from my .wxs file: The above works great -- the database is created with a "Pants" table sit

Re: [WiX-users] Upgrade

2007-01-31 Thread Levi Wilson
That's what I am saying the msistuff will do for you. That's exactly how I have my setup. My packaged exe will perform an installation if it doesn't exist, and it will update the installation if it DOES already exist. On 1/31/07, Leila Lali (Excell Data Corporation) <[EMAIL PROTECTED]> wrote:

[WiX-users] Again, Odd failure of XmlFile in wix-2.0.4221.0

2007-01-31 Thread Qu, Li
Hello, I'm having exactly the same problem as described in the email titled "[Wix-user] Odd failure of XmlFile in wix-2.0.4221.0", but I don't see the solution for that problem being posted. I have to post this question again, and hope I'll get help from somebody. The installation failed

Re: [WiX-users] Upgrade

2007-01-31 Thread Leila Lali (Excell Data Corporation)
Because I want if there is a old version installed, it upgrade it. Otherwise it should install the new version. From: Levi Wilson [mailto:[EMAIL PROTECTED] Sent: Wednesday, January 31, 2007 1:50 PM To: Leila Lali (Excell Data Corporation) Cc: wix-users@lists.sourceforge.net Subject: Re: [WiX-user

[WiX-users] SpawnDialog resulting from "Next" button?

2007-01-31 Thread Levi Wilson
I want to display an InfoDlg (just has an info icon and an OK button) when the user selects next to warn them about a selection they just made. My InfoDlg returns "Return" as a result of the EndDialog event. What I want to happen is to warn them, and the wizard continues to the next page. This

[WiX-users] Sequential msi installations

2007-01-31 Thread Geoff Finger
The program I'm working on needs to have either SQL 2005 or the SQL Server Native Client installed. We've decided that if neither of those have been installed we should give the user the option of installing the Native Client after the basic installation is finished in order to simplify things for

Re: [WiX-users] Upgrade

2007-01-31 Thread Levi Wilson
Why are you running msiexec with the /i parameter, but specifying the REINSTALL and REINSTALLMODE properties? On 1/31/07, Leila Lali (Excell Data Corporation) <[EMAIL PROTECTED]> wrote: Actually creating bootstrap is not my problem, my problem is when I'm running msi with ReInstall=All comman

Re: [WiX-users] Upgrade

2007-01-31 Thread Leila Lali (Excell Data Corporation)
Actually creating bootstrap is not my problem, my problem is when I'm running msi with ReInstall=All command: msiexec /i setup.msi REINSTALL=ALL REINSTALLMODE=vomus /log log.txt the feature tree view is totally different than running msi without these commands. From: Levi Wilson [mailto:[EMAI

Re: [WiX-users] Upgrade

2007-01-31 Thread Levi Wilson
I think that you might want to check out the Bootstrapper example that is on the WiX sourceforge page ( http://sourceforge.net/tracker/?group_id=105970&atid=654188) After you build that, you should have a setup.exe. With that, you will be able to use msistuff to package your MSI in it as well.

[WiX-users] Upgrade

2007-01-31 Thread Leila Lali (Excell Data Corporation)
Hi, I'm trying to create a Bootstrap exe file from my msi, that can be used as new version of setup. This exe file could find the old version and upgrade them, but my problem is, when it couldn't find any other version of product and should act as a fresh setup, the feature tree will completel

Re: [WiX-users] Checking for MergeModule's Existence

2007-01-31 Thread Wilson, Phil
As a general comment you seem to be missing the fact that once a merge module has been merged into an MSI file it's just a set of components, and you have to treat it that way. A MM is just a handy way to keep a bunch of common components around in a package, so, some inline comments to be specific

Re: [WiX-users] Checking for MergeModule's Existence

2007-01-31 Thread Levi Wilson
I'm an idiot. I wasn't using the Guid of a COMPONENT in the merge module...I was using the Package/@Guid. My apologies. On 1/31/07, Levi Wilson <[EMAIL PROTECTED]> wrote: I have a merge module that installs some COM components. I have a CA that needs to use one of these COM objects, so I add

Re: [WiX-users] Adding records to MSI on the fly

2007-01-31 Thread Rob MacFadyen
carlldev I use a subroutine to do the actual insert: Sub AddToComboBox(ByVal ComboProp, ByVal ComboOrder, ByVal ComboValue, ByVal ComboText) Dim query Dim view query = "INSERT INTO `ComboBox` " _ & "(`Property`, `Order`, `Value`, `Text`) " _ & "VALUES ('" &

[WiX-users] Adding records to MSI on the fly

2007-01-31 Thread carlldev
(Wix3, WIN2K3) Sorry if this is posting a duplicate, but I can't get the solutions from any of the posts to work... I'm trying to add the details of installed Websites to a combobox on the fly. I can see the custom action being executed, but the records are not being added to the table. I know th

Re: [WiX-users] Any documentation on WiX/Windows Installer limits?

2007-01-31 Thread Alex Lian
Well, I'm pretty sure now that light.exe has a 2GB limitation on its own for the MSI file itself (regardless of using cabs < 2GB in size). I verified by a couple facts: - Inspection of the temp folder showed multiple cabs, each < 2GB. - After resulting error, .msi file is slightly under 0x8

[WiX-users] Checking for MergeModule's Existence

2007-01-31 Thread Levi Wilson
I have a merge module that installs some COM components. I have a CA that needs to use one of these COM objects, so I added it to the InstallExecute sequence after RegisterProduct. I ONLY need this to run when the merge module is FIRST installed. However, when I uninstall the product, the CA ex

[WiX-users] Assigning Permissions to a particular group while installation

2007-01-31 Thread Pallavi Patrutkar
Hello All, I want to give write permission to all the users under 'users' group or any particular group, when I install my application with admin login. I used Permission element under createfolder element, but it crashed while installation. I do not want to add a new component for this. So

[WiX-users] Modularized Properties

2007-01-31 Thread Levi Wilson
Is there a way to use a property from a merge module that will get set outside of the merge module? I have a UI sequence that has a public MY_PUBPROP property. Inside my merge module, I have a custom action that I would like to condition on this property. However, when I open up my MSI in Orca,

Re: [WiX-users] Any documentation on WiX/Windows Installer limits?

2007-01-31 Thread Alex Lian
On Tue, 30 Jan 2007 20:48:58 -0800, "Bob Arnson" <[EMAIL PROTECTED]> said: > > Have you tried using external cabs? My day job is working with a > multi-gigabyte package but the .msi itself is only ~70MB. > Well, the hope was to get a single file install .msi, but I can see if that makes a diff

Re: [WiX-users] Crash in dark

2007-01-31 Thread Rob MacFadyen
Andre, To deal with dark crashes what I've done in the past is some creative "editing" using Orcas. Usually this means removing any offending entries and or tables that dark is having trouble with. From the error message it looks like dark doesn't like the value in a column named "KeyColumn". Sear

Re: [WiX-users] Problem with CDATA and default values inConditionstatements

2007-01-31 Thread Albert van Peppen
Hi, I think this more a MSXML problem than it is a WiX problem ;) But I don't know. Regards, Albert van Peppen -Oorspronkelijk bericht- Van: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Namens Geoff Finger Verzonden: dinsdag 30 januari 2007 23:15 Aan: wix-users@lists.sourceforge.net Ond

[WiX-users] Crash in dark

2007-01-31 Thread André Pönitz
I get an unexpect result when running dark (Version 3.0.2211.0) on one of our old .msi files created by InstallShield. > dark -nologo -x data ../"GeoDAta eXchange.msi" geodax.wxs GeoDAta eXchange.msi dark.exe : error DARK0001 : Cannot set column 'KeyColumn' with value 0 because it is less

Re: [WiX-users] Any documentation on WiX/Windows Installer limits?

2007-01-31 Thread Albert van Peppen
Hi, I guess that will work. I still believe the ~2GB limit is the problem here. I cannot find the max filesize for System.IO.File but I recon its 64bit (unsigned)? If it is 32bit (signed), then the ~2GB Limit is the problem... Usualy in VC++.NET 2005 you use Cfile, which is adapted to use ULONL