Hey Chris,
I believe the most Windows Installer compliant way to do this would be by
passing a delimited string from an immediate action to a deferred action. In
the deferred action you would need to parse the properties and then you can
write to a file of choice.
I have written something (I call it Property Loader) which saves the values
to a registy location and can also act as an answer file for
installations. Take a look at it here:
http://www.codeplex.com/WIXML/Release/ProjectReleases.aspx?ReleaseId=263
Thanks,
--
Brian Rogers
"Intelligence removes complexity." - BR
http://www.codeplex.com/wixml/
On Jan 7, 2008 5:26 AM, Mole, Chris <[EMAIL PROTECTED]> wrote:
> Is there any way to write a variable to a file at install time?
>
> For example, let's say that the installation directory is set to c:\myapp
> at install time. Is there any way to write "dir=c:\myapp" to
> c:\myapp\myapp.properties?
>
> -------------------------------------------------------------------------
> This SF.net email is sponsored by: Microsoft
> Defy all challenges. Microsoft(R) Visual Studio 2005.
> http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
> _______________________________________________
> WiX-users mailing list
> WiX-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wix-users
-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users