Re: [WiX-users] Read file content from CA

2010-05-07 Thread Niklas Söderberg
ck.org > Moscow|Geneva|Seattle|New York > > > -Original Message- > From: Niklas Söderberg [mailto:niklas.soderb...@gmail.com] > Sent: Thursday, May 06, 2010 3:40 AM > To: General discussion for Windows Installer XML toolset. > Subject: Re: [WiX-users] Read file content f

Re: [WiX-users] Read file content from CA

2010-05-06 Thread dB .
rberg [mailto:niklas.soderb...@gmail.com] Sent: Thursday, May 06, 2010 3:40 AM To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] Read file content from CA Thanks for your suggestions, but I guess I didn't emphasize enough that I need to read the file in an _immedia

Re: [WiX-users] Read file content from CA

2010-05-06 Thread Yan Sklyarenko
From: Niklas Söderberg [mailto:niklas.soderb...@gmail.com] > Sent: 06 May 2010 08:40 > To: General discussion for Windows Installer XML toolset. > Subject: Re: [WiX-users] Read file content from CA > > Thanks for your suggestions, but I guess I didn't emphasize enough that I > need t

Re: [WiX-users] Read file content from CA

2010-05-06 Thread Niklas Söderberg
ilto:niklas.soderb...@gmail.com] > Sent: 06 May 2010 08:40 > To: General discussion for Windows Installer XML toolset. > Subject: Re: [WiX-users] Read file content from CA > > Thanks for your suggestions, but I guess I didn't emphasize enough that I > need to read the file in a

Re: [WiX-users] Read file content from CA

2010-05-06 Thread David Watson
olset. Subject: Re: [WiX-users] Read file content from CA Thanks for your suggestions, but I guess I didn't emphasize enough that I need to read the file in an _immediate_ custom action, that is, I need to read it from the installation package before the file gets installed. I guess there'

Re: [WiX-users] Read file content from CA

2010-05-06 Thread Niklas Söderberg
Thanks for your suggestions, but I guess I didn't emphasize enough that I need to read the file in an _immediate_ custom action, that is, I need to read it from the installation package before the file gets installed. I guess there's no easy way to do it, so the way I solved it was to temporarily e

Re: [WiX-users] Read file content from CA

2010-05-04 Thread dB .
There's a Win32_ReadFile immediate native (C++) CA in http://msiext.codeplex.com. It was added in 1.2 which hasn't shipped yet, but is stable - http://msiext.codeplex.com/releases/view/39468. Note that it doesn't support encoding, so only works for ANSI files. If you're writing a managed CA you

Re: [WiX-users] Read file content from CA

2010-05-04 Thread Matt Johnson
If it's a regular file, then it should be installed on disk. Just schedule your custom action to run after InstallFiles, then you can read it from disk where it was installed. Matt Johnson MCPD, MCTS, MCSD, MCDBA Director of Application Development Time America, Inc. ma...@timeamerica.com | www