Hi, I'm trying to use this custom action so far without success as I don't know how to pass the parameters to it.
http://code.dblock.org/Source/msiext/1.2/Docs/_win32_impl_8h.html#a427b16cc4d6285c4eac3227ac5723050 CA_API UINT __stdcall Win32_WriteFile ( MSIHANDLE hInstall ) Write to an ANSI text file. Parameters: WIN32_FILE_DATA Data to write to a file. WIN32_FILE_NAME Fully qualified path to the target file. WIN32_FILE_ENCODING Set to "UTF-8" to write a file in the UTF-8 format, "ANSI" to write the file in the ANSI format. Default is ANSI. As I want to write to a file in program files, I'm trying to run this as a deferred CA without impersonation, so setting those parameters as individual properties won't work, and I've tried a couple of other ways but cannot get it to work. Unless this is just an immediate CA? Thanks in advance, Dan ------------------------------------------------------------------------------ Try before you buy = See our experts in action! The most comprehensive online learning library for Microsoft developers is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, Metro Style Apps, more. Free future releases when you subscribe now! http://p.sf.net/sfu/learndevnow-dev2 _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users