Re: [WiX-users] Token replacement in configuration files

2008-02-28 Thread Rob Mensching
Nothing built in today.  however, you could look at XmlFile/XmlConfig to 
see something similar.  If you chose to write it, it would be great to 
have it contributed back to the community.

Mooney, Stephen wrote:
>
> Hi,
>
> I have a configuration file in which I need to fill in some values at 
> install time. Eg:
>
> plugins:logging:output = "${LOGS_DIR}/log.txt";
>
> Is token replacement possible in WiX / msi? Is is possible to replace 
> ${LOGS_DIR} with a value natively in wix / msi?
>
> Thanks,
>
> Stephen Mooney
>
> 
> IONA Technologies PLC (registered in Ireland)
> Registered Number: 171387
> Registered Address: The IONA Building, Shelbourne Road, Dublin 4, Ireland
>   
> 
>
> -
> This SF.net email is sponsored by: Microsoft
> Defy all challenges. Microsoft(R) Visual Studio 2008.
> http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
> 
>
> ___
> WiX-users mailing list
> WiX-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wix-users
>   

-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Token replacement in configuration files

2008-02-25 Thread Brian Rogers
Hey Stephen,

There is a crude version of something like this I wrote. I call it Property
Loader, I am sure you could modify it a bit and get what you want.

http://www.codeplex.com/WIXML/Release/ProjectReleases.aspx?ReleaseId=263

Thanks,
-- 
Brian Rogers
"Intelligence removes complexity." - BR
http://www.codeplex.com/wixml/
On Mon, Feb 25, 2008 at 9:21 PM, Heath Stewart <[EMAIL PROTECTED]> wrote:

> Not currently, no. If you choose to develop one, be sure to reset the
> modification timestamp back to the creation timestamp (or set the
> creation timestamp to the modification timestamp) or you will not be
> able to replace that file by default again since MSI default file
> versioning rules won't replace modified files (even if a CA modified it,
> which Windows Installer wouldn't know).
>
> Mooney, Stephen wrote:
> >
> > Hi,
> >
> > I have a configuration file in which I need to fill in some values at
> > install time. Eg:
> >
> > plugins:logging:output = "${LOGS_DIR}/log.txt";
> >
> > Is token replacement possible in WiX / msi? Is is possible to replace
> > ${LOGS_DIR} with a value natively in wix / msi?
> >
> > Thanks,
> >
> > Stephen Mooney
> >
> > 
> > IONA Technologies PLC (registered in Ireland)
> > Registered Number: 171387
> > Registered Address: The IONA Building, Shelbourne Road, Dublin 4,
> Ireland
> >
> > 
> >
> >
> -
> > This SF.net email is sponsored by: Microsoft
> > Defy all challenges. Microsoft(R) Visual Studio 2008.
> > http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
> > 
> >
> > ___
> > WiX-users mailing list
> > WiX-users@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/wix-users
> >
>
> --
>
> Heath Stewart
> Deployment Technology Group, Microsoft
> http://blogs.msdn.com/heaths
>
>
> -
> This SF.net email is sponsored by: Microsoft
> Defy all challenges. Microsoft(R) Visual Studio 2008.
> http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
> ___
> WiX-users mailing list
> WiX-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wix-users
>
-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Token replacement in configuration files

2008-02-25 Thread Heath Stewart
Not currently, no. If you choose to develop one, be sure to reset the 
modification timestamp back to the creation timestamp (or set the 
creation timestamp to the modification timestamp) or you will not be 
able to replace that file by default again since MSI default file 
versioning rules won't replace modified files (even if a CA modified it, 
which Windows Installer wouldn't know).

Mooney, Stephen wrote:
>
> Hi,
>
> I have a configuration file in which I need to fill in some values at 
> install time. Eg:
>
> plugins:logging:output = "${LOGS_DIR}/log.txt";
>
> Is token replacement possible in WiX / msi? Is is possible to replace 
> ${LOGS_DIR} with a value natively in wix / msi?
>
> Thanks,
>
> Stephen Mooney
>
> 
> IONA Technologies PLC (registered in Ireland)
> Registered Number: 171387
> Registered Address: The IONA Building, Shelbourne Road, Dublin 4, Ireland
>   
> 
>
> -
> This SF.net email is sponsored by: Microsoft
> Defy all challenges. Microsoft(R) Visual Studio 2008.
> http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
> 
>
> ___
> WiX-users mailing list
> WiX-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wix-users
>   

-- 

Heath Stewart
Deployment Technology Group, Microsoft
http://blogs.msdn.com/heaths


-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


[WiX-users] Token replacement in configuration files

2008-02-25 Thread Mooney, Stephen
Hi,
I have a configuration file in which I need to fill in some values at
install time. Eg:

plugins:logging:output = "${LOGS_DIR}/log.txt";

Is token replacement possible in WiX / msi? Is is possible to replace
${LOGS_DIR} with a value natively in wix / msi?

Thanks,
Stephen Mooney


IONA Technologies PLC (registered in Ireland)
Registered Number: 171387
Registered Address: The IONA Building, Shelbourne Road, Dublin 4, Ireland
-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users