Re: [WiX-users] run a script passing a parameter

2007-02-22 Thread dave_c
t; Execute="deferred" > Impersonate="yes" > Return="check"/> > > >> -Original Message- >> From: [EMAIL PROTECTED] >> [mailto:[EMAIL PROTECTED] On Behalf Of dave_c >

Re: [WiX-users] run a script passing a parameter

2007-02-22 Thread Bob Arnson
dave_c wrote: > I get an error message during compilation saying, not un-reasonably > 'Duplicate Symbol QtExecCmdLine found' > QuietExec reads only from one property (unless deferred, but that's another topic). So you need to use a custom action to set the value of QtExecCmdLine each time you

Re: [WiX-users] run a script passing a parameter

2007-02-22 Thread John Vottero
M > To: wix-users@lists.sourceforge.net > Subject: Re: [WiX-users] run a script passing a parameter > > > I'm guessing I am mis-understanding what you are telling me > because if I > change my code to read > > > > >DllEntry="CAQuietExe

Re: [WiX-users] run a script passing a parameter

2007-02-22 Thread dave_c
I'm guessing I am mis-understanding what you are telling me because if I change my code to read NOT Installed Installed AND NOT REINSTALL I get an error message during compilation saying, not un-reasonably 'Duplicate Symbol QtExecCmd

Re: [WiX-users] run a script passing a parameter

2007-02-22 Thread Bob Arnson
dave_c wrote: > >Execute="immediate" Return="check"/> > QuietExec requires the same QtExecCmdLine property to be set each time it's called. You'll need custom actions to set the property before each call to CAQuietExec. -- sig://boB http://bobs.org --

Re: [WiX-users] run a script passing a parameter

2007-02-22 Thread dave_c
> Dave, > > You probably already identified the problem - the name needs to be > quoted. Try this: > > > > Regards, > Richard > > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf Of dave_c > Sent: Thursday, Februa

Re: [WiX-users] run a script passing a parameter

2007-02-22 Thread Richard.Foster
: Re: [WiX-users] run a script passing a parameter Sorry it is me again. >From the command line, if I run perl "C:\Program Files\Acme\Foobar 1.0\first.pl" install then the program works, note the quotes required because of whitespace in the path. When I put it into my wix file it

Re: [WiX-users] run a script passing a parameter

2007-02-22 Thread dave_c
Sorry it is me again. >From the command line, if I run perl "C:\Program Files\Acme\Foobar 1.0\first.pl" install then the program works, note the quotes required because of whitespace in the path. When I put it into my wix file it does not work. MSI (s) (A0

Re: [WiX-users] run a script passing a parameter

2007-02-22 Thread Rob Hamflett
Bah! You're right, and I've just remembered why. When specifying a custom action like that, the file in the file key has to be an executable. This isn't going to work for your script file. Your best bet is probably the Quiet Execution CustomAction. Look for it in the WiX chm under WiX Hel

Re: [WiX-users] run a script passing a parameter

2007-02-22 Thread dave_c
Hi Rob, I tried removing that but it lloks like things are more fundamental than I first thought. I've changed the script that runs to simply generate a file when run (not relying on any parameters). When I run it from command line it works fine. When I run from the msi nothing appears to happen,

Re: [WiX-users] run a script passing a parameter

2007-02-22 Thread Rob Hamflett
You don't need '[INSTALLDIR]first.pl' in the ExeCommand, as this is what the FileKey is for. I think you just need your 'install' argument there. Rob dave_c wrote: > Excuse my stupidity. > > I want to install and then run a perl script passing a parameter to it but > what I have written nothi

[WiX-users] run a script passing a parameter

2007-02-22 Thread dave_c
Excuse my stupidity. I want to install and then run a perl script passing a parameter to it but what I have written nothing appears to happen. I know if i run the script from the command line and pass a parameter it does what I want i.e. first.pl install but then I put in in the wix script it d