Well even if I skip the net framework install, it will still give the error
so it must be the second one.  I thought I already specified that I want the
custom action to run only on install by having it a) start on
installfinalize and b) put "Installed" in the intallexecutesequence command. 
How do I get it to run the correct executable if not the way I'm doing it? 
This is only my second day using wix so forgive my ignorance.

<Feature Id='data' Title='Database' Level="4">
        <ComponentRef Id="Database.exe" />
</Feature>

<CustomAction
                Id="DatabaseInstall"
                FileKey="dataexe"
                ExeCommand="deferred" 
                Return="ignore" />

<InstallExecuteSequence>
      <Custom
              Action="DatabaseInstall"
              After="InstallFinalize">
        Installed
      </Custom>
</InstallExecuteSequence>



Wilson, Phil wrote:
> 
> There are a number of things that don't seem right here: 
> 
> 1. It's usual to get the framework installed from a boostrapper, not
> from the MSI file. This is because it's MSI-based and therefore you can
> break the "can't run two simultaneous MSI installs" rule. Also, at least
> one version of the framework included an MSI engine update. That may be
> the one you're installing, and it's possible that future frameworks
> might do it again, and you get into a pseudo-deadlock because you can't
> update the MSI engine from inside your already-running MSI. 
> 
> 2. The problems you're having are related to:
> a) Conditions. You want a custom action to run only on install, then you
> need it conditioned that way. 
> b) Repeating myself somewhat, the 2753 error is because you've got a
> custom action type that says "run this specific executable that I'm
> installing". MSI doesn't care if it's already on the system because you
> didn't say "run this executable on the system", you said "run this
> executable I'm installing". If it doesn't get installed then you get
> error 2753. If you want a custom action to run some other way, then it
> can be run from the Binary table instead of "as a program I'm
> installing". 
> 
> Phil Wilson 
> 
> 
> -----Original Message-----
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On Behalf Of jcafaro10
> Sent: Friday, July 27, 2007 10:17 AM
> To: wix-users@lists.sourceforge.net
> Subject: Re: [WiX-users] Error code 2753?
> 
> 
> Well now if I change my InstallExecuteSequence code to look like this:
> <InstallExecuteSequence>
>       <Custom
>               Action="DotNetInstall"
>               After="InstallFinalize">
>       Installed
>       </Custom>
> </InstallExecuteSequence>
> 
> Typical works right, as expected, because it will only try and install
> features that were actually Installed, and if I set feature level to 4,
> those features won't be installed.  However, on the Remove, I get the
> 2753 error (trying to remove something that wasn't installed maybe?).
> 
> Complete doesn't work as expected, it does what typical does, except
> without the 2753 error for removing.
> 
> 
> Wilson, Phil wrote:
>> 
>> This error usually refers to a custom action that's running an exe 
>> that's being installed with the product, but isn't installed for some 
>> reason (perhaps because the exe is already on the system and won't be 
>> replaced because of versioning rules). So it can't run the exe from 
>> your package because it's not being installed. There are other 
>> variations, but they all come down to trying to run a custom action of
> 
>> a file that you're not actually installing.
>> 
>> Phil Wilson
>> 
>> 
>> -----Original Message-----
>> From: [EMAIL PROTECTED]
>> [mailto:[EMAIL PROTECTED] On Behalf Of 
>> jcafaro10
>> Sent: Thursday, July 26, 2007 2:48 PM
>> To: wix-users@lists.sourceforge.net
>> Subject: [WiX-users] Error code 2753?
>> 
>> 
>> Trying to get my installer to work.  It works for the main files but 
>> there are some files I don't want to install unless I click Complete 
>> (as Opposed to typical, I'm using mondo).  It copies the files 
>> correctly regardless but when I also want it to run the ones that it 
>> copies.  I think the problem is because of TypicalDefault="advertise" 
>> but isn't that how I set a feature to not be installed typically but 
>> only under comlpete? Example:
>> 
>> <Directory Id="dotnetfx" Name="dotnetfx">
>>               <Component Id="dotnetfx.exe"
>> Guid="{3AF116C7-E703-4F4D-B7BC-B9D4C0E0F093}">
>>                 <File Id="dotnetfxexe" Name="dotnetfx.exe"
> KeyPath="yes"
>> Source="C:\tfs\ChannelBox\prereq\dotnetfx\dotnetfx.exe" />
>>               </Component>
>> </Directory>
>> --------------------------
>> <Feature Id='dotnetfx' Title='Microsoft .NET Framework' Level="1"
>> TypicalDefault="advertise">
>>         <ComponentRef Id="dotnetfx.exe" /> </Feature>
>> --------------------------
>> <CustomAction
>>                 Id="DotNetInstall"
>>                 FileKey="dotnetfxexe"
>>                 ExeCommand="deferred" 
>>                 Return="ignore" />
>> 
>>     <InstallExecuteSequence>
>>       <Custom
>>               Action="DotNetInstall"
>>               After="InstallFinalize">
>> 
>>       </Custom>
>> </InstallExecuteSequence>
>> --
>> View this message in context:
>> http://www.nabble.com/Error-code-2753--tf4154344.html#a11819770
>> Sent from the wix-users mailing list archive at Nabble.com.
>> 
>> 
>> ----------------------------------------------------------------------
>> --
>> -
>> This SF.net email is sponsored by: Splunk Inc.
>> Still grepping through log files to find problems?  Stop.
>> Now Search log events and configuration files using AJAX and a
> browser.
>> Download your FREE copy of Splunk now >>  http://get.splunk.com/ 
>> _______________________________________________
>> WiX-users mailing list
>> WiX-users@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/wix-users
>> 
>> 
>> 
>> ----------------------------------------------------------------------
>> --- This SF.net email is sponsored by: Splunk Inc.
>> Still grepping through log files to find problems?  Stop.
>> Now Search log events and configuration files using AJAX and a
> browser.
>> Download your FREE copy of Splunk now >>  http://get.splunk.com/ 
>> _______________________________________________
>> WiX-users mailing list
>> WiX-users@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/wix-users
>> 
>> 
> 
> --
> View this message in context:
> http://www.nabble.com/Error-code-2753--tf4154344.html#a11833281
> Sent from the wix-users mailing list archive at Nabble.com.
> 
> 
> ------------------------------------------------------------------------
> -
> This SF.net email is sponsored by: Splunk Inc.
> Still grepping through log files to find problems?  Stop.
> Now Search log events and configuration files using AJAX and a browser.
> Download your FREE copy of Splunk now >>  http://get.splunk.com/
> _______________________________________________
> WiX-users mailing list
> WiX-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wix-users
> 
> 
> 
> -------------------------------------------------------------------------
> This SF.net email is sponsored by: Splunk Inc.
> Still grepping through log files to find problems?  Stop.
> Now Search log events and configuration files using AJAX and a browser.
> Download your FREE copy of Splunk now >>  http://get.splunk.com/
> _______________________________________________
> WiX-users mailing list
> WiX-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wix-users
> 
> 

-- 
View this message in context: 
http://www.nabble.com/Error-code-2753--tf4154344.html#a11834155
Sent from the wix-users mailing list archive at Nabble.com.


-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to