Hey Amir, I believe you will need to run that as a deferred action in order to access the file system. -- Brian Rogers "Intelligence removes complexity." - Me http://www.codeplex.com/wixml/
On Fri, Jul 11, 2008 at 7:56 AM, Amir Kolsky <[EMAIL PROTECTED]> wrote: > Thanks for the clarification. > Any idea regarding the other questions? > > -----Original Message----- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf Of Brian > Rogers > Sent: Thursday, July 10, 2008 5:16 PM > To: General discussion for Windows Installer XML toolset. > Subject: Re: [WiX-users] New Wix 3.0 User - confused > > In regards to question 1 of the additional two, I believe the service > will > stay alive for 10 minutes. This would be best directed at the Windows > Installer team however. > -- > Brian Rogers > "Intelligence removes complexity." - Me > http://www.codeplex.com/wixml/ > > On Thu, Jul 10, 2008 at 5:12 PM, Amir Kolsky > <[EMAIL PROTECTED]> > wrote: > > > 2. The Custom looks like this: > > <Fragment Id="WebServerExtensions"> > > <Property > > Id="QtExecCmdLine" > > Value='"[ProgramFilesFolder]\SomeBat" -filename > > "[ProgramFilesFolder]\Some.cab"' /> > > <CustomAction > > Id="InstallWebParts" > > BinaryKey="WixCA" > > DllEntry="CAQuietExec" > > Execute="immediate" Return="check"/> > > </Fragment> > > > > For testing purpose it's nothing but a batch file that echos its > > parameters to another file > > (echo %1 %2 %3 %4 > hi.txt)... > > > > Two more questions. > > 1. After I run the install there's still an msi process left behind. > > Why? > > 2. what is the <condition> to use to check to see if the above files > > (somebat.bat) and (some.cab) are on the machine? > > > > Thanks, Amir > > > > > > -----Original Message----- > > From: [EMAIL PROTECTED] > > [mailto:[EMAIL PROTECTED] On Behalf Of Rob > > Mensching > > Sent: Thursday, July 10, 2008 4:55 PM > > To: General discussion for Windows Installer XML toolset. > > Subject: Re: [WiX-users] New Wix 3.0 User - confused > > > > 1. WiX.chm is provided with every download. It has a wealth of > > information (the latest versions have a bunch of cool new "How To"). > > > > 2. Don't know, can you tell us more about your CustomAction. > > > > 3. Take a look at the Upgrade element. > > > > > > -----Original Message----- > > From: [EMAIL PROTECTED] > > [mailto:[EMAIL PROTECTED] On Behalf Of Amir > > Kolsky > > Sent: Thursday, July 10, 2008 16:41 > > To: WiX-users@lists.sourceforge.net > > Subject: [WiX-users] New Wix 3.0 User - confused > > > > Hi All. > > > > So, I'm trying to use Wix 3.0 but it is really hard (I know it's a > > beta...) > > > > > > > > A few questions : > > > > 1. Is there any documentation for 3.0 anywhere? > > > > 2. I'm trying to execute the following: > > > > <InstallExecuteSequence> > > > > <Custom After='StartServices' Action="InstallWebParts"></Custom> > > > > </InstallExecuteSequence> > > > > It does not work... I try this: > > > > <InstallExecuteSequence> > > > > <Custom After='InstallFinalize' > Action="InstallWebParts"></Custom> > > > > </InstallExecuteSequence> > > > > It works... why? What are the allowed After values? > > > > 3. How do I uninstall the product if it is already installed? > > Right now I have a message saying I can't uninstall... How do I > > uninstall only if the version of the product is higher? > > > > > > > > Thanks in advance! > > > > Amir > > ------------------------------------------------------------------------- Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW! Studies have shown that voting for your favorite open source project, along with a healthy diet, reduces your potential for chronic lameness and boredom. Vote Now at http://www.sourceforge.net/community/cca08 _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users