Hi Rob,

Your response caught me off guard, so I did some research.  I'm using
Wix Edit in combination with Windows Application Installer template, so
maybe this is a wai thing and not related to wix.
(http://www.codeplex.com/wai)  

With the wai download there's a "how to" guide.  SCRIPTPARSE is a
property in the project and below is the explanation of how it works.

SCRIPTPARSE     

List of files to parsed for strings like e.g. 
@@SQLUSERUSERNAME@@. If strings like this are found they are replaced
with a variable collected in wizard mode - see below for detailed
explanation
Use a comma separated list for several files. All files should be
relative to the source folder. (e.g. config.file, lib/another.file)

Thx, Craig

-----Original Message-----
From: Rob Mensching [mailto:r...@wixtoolset.org] 
Sent: Wednesday, June 10, 2009 10:56 AM
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] SCRIPTPARSE question

Hmm, I don't know what SCRIPTPARSE is and I don't know why two "\\" 
would be escaped. Can you provide more information?

Scharp, Craig wrote:
> Hi all,
>
>
>
> I'm using Wix 3.0 and trying to use SCRIPTPARSE to change database
host
> in my web.config file.  For clients using sql server express, I would
> like @@DBHOST@@ to be changed to localhost\SQLEXPRESS.  This works on
> install except that it is changed to localhost\\SQLEXPRESS (two \\'s
> <file:///\\'s> ).  I assume it's because of the escape character, but
> wondering if there's a way around it.
>
>
>
> Has anyone else run into this?  If so, if you would send suggestions,
I
> would be grateful.
>
>
>
> Thx, Craig
>
>
>
>
------------------------------------------------------------------------
------
> Crystal Reports - New Free Runtime and 30 Day Trial
> Check out the new simplified licensing option that enables unlimited
> royalty-free distribution of the report engine for externally facing
> server and web deployment.
> http://p.sf.net/sfu/businessobjects
> _______________________________________________
> WiX-users mailing list
> WiX-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wix-users
>   

------------------------------------------------------------------------
------
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensing option that enables unlimited
royalty-free distribution of the report engine for externally facing 
server and web deployment.
http://p.sf.net/sfu/businessobjects
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

------------------------------------------------------------------------------
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensing option that enables unlimited
royalty-free distribution of the report engine for externally facing 
server and web deployment.
http://p.sf.net/sfu/businessobjects
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to