A verbose log file will show you when your action is actually being executed.
On Fri, Jun 22, 2012 at 2:53 PM, rstoney99 <rwstoneb...@microstrain.com>wrote: > Hello, I currently have a WiX project where I perform a custom action like > this: > > <CustomAction Id='DoSomething' Impersonate='no' Execute='deferred' > Directory='INSTALLDIR_LC' > ExeCommand='"[INSTALLDIR_LC]DoSomething.exe"' Return='check' /> > > > <InstallExecuteSequence> > <Custom Action='DoSomething' After='InstallFiles'>NOT Installed AND > <[CDATA[&InstallingTheFeature=3]]></Custom> > </InstallExecuteSequence> > > This basically says (I think) perform the "DoSomething" custom action, > which > calls the DoSomething.exe file, after the files are installed, and only if > a > certain feature "InstallingTheFeature" is being installed. > > This works great during normal installation. However, if I choose not to > install the feature, then go back to run my installer again and go to the > "Change" option, and try to enable that feature that was never installed, > it > seems like the "After='InstallFiles'" part is being ignored. It tries to > run > DoSomething.exe immediately before the files are installed, causing an > error. > > I commented out the custom action and did the same "Change" option, and the > files do get installed, so its not that part that is failing. > > Any help is much appreciated! Thank you! > > -- > View this message in context: > http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/After-InstallFiles-on-Change-tp7579047.html > Sent from the wix-users mailing list archive at Nabble.com. > > > ------------------------------------------------------------------------------ > Live Security Virtual Conference > Exclusive live event will cover all the ways today's security and > threat landscape has changed and how IT managers can respond. Discussions > will include endpoint security, mobile security and the latest in malware > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > _______________________________________________ > WiX-users mailing list > WiX-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/wix-users > -- virtually, Rob Mensching - http://RobMensching.com LLC ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users