Log shows SourceDir being set at the same time as SOURCEDIR. I tried scheduling ResolveSource before AppSearch but that gave error LGHT0204: ICE27: 'ResolveSource' Action in InstallExecuteSequence table in wrong place
-----Original Message----- Date: Wed, 30 Nov 2011 13:34:01 -0500 From: "Wilson, Phil" <phil.wil...@invensys.com> Subject: Re: [WiX-users] Directory and Registry Search failing in silent mode To: General discussion for Windows Installer XML toolset. <wix-users@lists.sourceforge.net> Message-ID: <682e56117f9ba0419d5247669e3f742d8521227...@invsfoxxchmbx02.corp.com> Content-Type: text/plain; charset="us-ascii" The actual case-sensitive property name is SourceDir: http://msdn.microsoft.com/en-us/library/windows/desktop/aa371857(v=vs.85).aspx SOURCEDIR is likely to be something internal that you should not be using. Phil Wilson -----Original Message----- From: Parkes, Kevin [mailto:kevin.par...@wacom.eu] Sent: Wednesday, November 30, 2011 4:44 AM To: wix-users@lists.sourceforge.net Subject: Re: [WiX-users] Directory and Registry Search failing in silent mode Seems I was mistaken about RegistrySearch and it is working correctly (sorry for wasting anyone's time on that). DirectorySearch is, however, still failing on silent install. It seems to be because the search is relative to [SOURCEDIR] but, in silent mode, [SOURCEDIR] is not being set until after AppSearch - actually between RemoveExistingProducts and ProcessComponents. (When run with UI, [SOURCEDIR] is set before Action Start INSTALL.) Apparently AppSearch must be scheduled before CostInitialize so I can't move it to, eg, before ProcessComponents. Why is setting [SOURCEDIR] delayed in silent install, and can I force it to be set sooner? Alternatively is there another way to test for folder [SOURCEDIR]\ABC later than AppSearch? (I simply want to copy the folder and its contents, if they exist, to the target directory.) ------------------------------------------------------------------------------ All the data continuously generated in your IT infrastructure contains a definitive record of customers, application performance, security threats, fraudulent activity, and more. Splunk takes this data and makes sense of it. IT sense. And common sense. http://p.sf.net/sfu/splunk-novd2d _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users