I found this somewhere but it doesn't work and complains about the Component
'Install' not being valid
<CustomAction
Id="DotNetInstall"
FileKey="dotnetfxexe"
ExeCommand="deferred"
Return="ignore" />
<InstallExecuteSequence>
<Custom
Action="DotNetInstall"
After="InstallFinalize">
$Install=3
</Custom>
</InstallExecuteSequence>
jcafaro10 wrote:
>
> Well I'm sure that my system has .NET on it so is there a conditional
> check I'd add somewhere to not try and install it if I already have it?
>
>
> 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: [email protected]
>> 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
>> [email protected]
>> 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
>> [email protected]
>> https://lists.sourceforge.net/lists/listinfo/wix-users
>>
>>
>
>
--
View this message in context:
http://www.nabble.com/Error-code-2753--tf4154344.html#a11831894
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
[email protected]
https://lists.sourceforge.net/lists/listinfo/wix-users