MSI runs external (exe) custom actions in the temporary folder. It may be possible to change the TEMP environment variable, but it must be changed before the MSI service starts and it must be changed for the SYSTEM user, and McAfee in that circumstance will probably prevent files in that new folder from running.
WiX supplies elements/actions to create and deploy Event Logs. Do they not work for you? -----Original Message----- From: Lingaraj Mishra [mailto:lingaraj.mis...@rave-tech.com] Sent: Monday, April 05, 2010 12:09 AM To: wix-users@lists.sourceforge.net Subject: [WiX-users] Common Standard Protection: Prevent common programs from running files from the Temp folder Action blocked: Execute Hi users I have created a Custom Action to invoke a .exe CreateWBCustomLog.exe.(This exe will create Event Log folder while installation) <CustomAction Id="CreateCustomLogs" Directory='TARGETDIR' ExeCommand='"[MyInstallationRootPath]\CreateWBCustomLog.exe"' Return='check' Impersonate='yes'> </CustomAction> This works fine and CreateWBCustomLog.exe executed succesfully for all the system except one of the system where McAfee is installed. While installing on above system it is noted that standard SOE McAfee installation blocks files executing from Temp folder. "Common Standard Protection: Prevent common programs from running files from the Temp folder Action blocked: Execute" Here ExeCommand have [MyInstallationRootPath] which is provided from a Config file as "C:\Test." Any idea why Wix is executing this exe from Temp Folder if so how to overcome this issue. Please help. Thanks Raj Disclaimer :- "This communication contains information which is confidential and may also be legally privileged.It is for the exclusive use of the intended recipient/s. If you are not the intended recipient of this mail, please delete it immediately and notify the sender on +91 22 6660 6600 or by return e-mail confirming such deletion. Any use, distribution, disclosure or copying this electronic mail except by its intended recipient may be unlawful. Rave has scanned this email for viruses but does not accept any responsibility once this email has been transmitted." ---------------------------------------------------------------------------- -- 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 ------------------------------------------------------------------------------ _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users