Re: [WiX-users] How to use CustomAction with a VBScript

2007-04-25 Thread Tony Hoyle
Robert Randall wrote: > 2) I’ve never tried to execute msiexec from a script inside of an > MSI package. There may be some other caveats with this. Perhaps others > on the list know more. As far as I know it's impossible, as nested installs don't work. Tony -

Re: [WiX-users] How to use CustomAction with a VBScript

2007-04-25 Thread Richard.Foster
Nathan Lee wrote: Running the VBScript outside of the MSI works, and I'd expect it to work inside the MSI. Nope. As others have already observed the sequencing is probably just plain wrong (the MSI's may not exist on the disk at the time you try to install them). Even if that were not the case

Re: [WiX-users] How to use CustomAction with a VBScript

2007-04-25 Thread Nathan Lane
than Lane [mailto:[EMAIL PROTECTED] *Sent:* Tuesday, April 24, 2007 4:58 PM *To:* Robert Randall *Cc:* wix-users@lists.sourceforge.net *Subject:* Re: [WiX-users] How to use CustomAction with a VBScript So here's what I have, and my installer errors out when I try to run

Re: [WiX-users] How to use CustomAction with a VBScript

2007-04-25 Thread Robert Randall
. -Robert. From: Nathan Lane [mailto:[EMAIL PROTECTED] Sent: Tuesday, April 24, 2007 4:58 PM To: Robert Randall Cc: wix-users@lists.sourceforge.net Subject: Re: [WiX-users] How to use CustomAction with a VBScript So here's what I have, and my installer errors out when I try to r

Re: [WiX-users] How to use CustomAction with a VBScript

2007-04-24 Thread Simon Dahlbacka
yes, throw that away, and start again from scratch.. It seems what you're trying to do is to create a bootsrapper inside a msi. Use a real bootstrapper instead to take care of installing multiple msi:s On 4/25/07, Nathan Lane <[EMAIL PROTECTED]> wrote: So here's what I have, and my installer

Re: [WiX-users] How to use CustomAction with a VBScript

2007-04-24 Thread Nathan Lane
So here's what I have, and my installer errors out when I try to run it, saying that something was wrong with the script. WXS File:

Re: [WiX-users] How to use CustomAction with a VBScript

2007-04-24 Thread Nathan Lane
Thank you Robert for the help, I am now to the point where I wonder how the InstallExecuteSequence element affects the Feature element. Is InstallExecuteSequence what takes precedence in the script? Nathan On 4/24/07, Robert Randall <[EMAIL PROTECTED]> wrote: Nathan, here are a couple of sn

Re: [WiX-users] How to use CustomAction with a VBScript

2007-04-24 Thread Robert Randall
Nathan, here are a couple of snippets that might help. You need to use the Binary to get the script into the MSI database and then you reference it in a custom action. The custom action calls a specific funtion in the script source. Then you need to reference the custom action your Instal