They require .Net Framework 2.0, Im testing for the framework with the following condition
<PropertyRef Id="NETFRAMEWORK35"/> <Condition Message="The .NET Framework 3.5 must be installed ([NETFRAMEWORK35])"> Installed OR NETFRAMEWORK35 </Condition> This test is done just within the package tags. So it checks as the installer is launched. I made a reference to WixNetFxExtenstion so that it can check the framework. Is it a problem that im checking for framework 3.5? Although I didn't think it would as 3.5 needs 2.0 to be installed too. Could the problem be Windows Installer? Here is the custom action declaration and binary reference. <CustomAction Id="LaunchSettings" BinaryKey="ServiceInstall" DllEntry="InstallService" Execute="immediate"/> <Binary Id="ServiceInstall" SourceFile="C:\Users\User\Documents\Visual Studio 2008\Projects\Project\InstallAService\bin\Debug\InstallAService.CA.dll" /> Custom actions are sequenced in the InstallExecuteSequence. <InstallExecuteSequence> <!--Launch Action--> <Custom Action="SQLConnector" After="InstallFiles">NOT Installed</Custom> </InstallExecuteSequence> -----Original Message----- From: Blair [mailto:os...@live.com] Sent: Tuesday, February 23, 2010 6:25 PM To: 'General discussion for Windows Installer XML toolset.' Subject: Re: [WiX-users] WiX custom action error on windows vista or XP What version of the framework do your custom actions require, and what version of the framework are you testing for? Also, how/where do you test for the framework, and at what point are your custom actions sequenced? -----Original Message----- From: Alex Wernecke [mailto:awerne...@finteq.co.za] Sent: Tuesday, February 23, 2010 6:31 AM To: wix-users@lists.sourceforge.net Subject: [WiX-users] WiX custom action error on windows vista or XP Hi, Im having a problem. My WiX MSI's seem to only work correctly on windows 7? In my WiX installation custom c# project actions are called and performed but it only seems to work on windows 7 machines. I have a condition check to check that the machine has .Net Framework 3.5 but at the point in the installation when the c# custom action is executed the application installation ends with an error. The installation needs to be done on any machine from Windows XP or newer. What could cause this?? Many thanks, Alex ------------------------------------------------------------------------ ---- -- Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users ------------------------------------------------------------------------ ------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users __________ Information from ESET Smart Security, version of virus signature database 4890 (20100223) __________ The message was checked by ESET Smart Security. http://www.eset.com __________ Information from ESET Smart Security, version of virus signature database 4890 (20100223) __________ The message was checked by ESET Smart Security. http://www.eset.com ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users