Thank you Bob for responding.
Which element do I set to secure? I do not have a declare property
element, Im just using the implicit one from the Dialog.
Do i need to pre-declare the property first.

May you know of an example out there somewhere for getting properties
from dialogs into config files. This must be a common application.
I just can't find any.

My idea was to just parse the 2 properties from the dialog and place
them in a property call CONNECT_STRING using a custom action and then
hopefully that would end up in my config file setting.
Am i taking the wrong approach?



-----Original Message-----
From: Bob Arnson [mailto:b...@joyofsetup.com] 
Sent: Monday, 11 May 2009 11:41 p.m.
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] Modifying web.config with the value from a
dialog text control

Justin Romaine wrote:
> <CustomAction Id="SET_LICENSE_CONNECT_STRING"
> Property="LICENSE_CONNECT_STRING" Value="Data
> Source=[LICENSESERVERNAME]\[LICENSESERVERINSTANCENAME];Initial
> Catalog=License;User
> ID=sa;Password=??????\#;MultipleActiveResultSets=True" />
>
>  
>
> But it would appear that the string gets parsed before my dialog gets
> populated.
>   

When is your CA scheduled? Make sure your property is marked 
Secure="yes" so it will always go from the UI to the execute sequence. 
Finally, verbose logging is your friend: Check it for references to your

property and to ExecXmlFile, which is the deferred custom action that 
modifies the XML file.

-- 
sig://boB
http://joyofsetup.com/



------------------------------------------------------------------------
------
The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your
production scanning environment may not be a perfect world - but thanks
to
Kodak, there's a perfect scanner to get the job done! With the NEW KODAK
i700
Series Scanner you'll get full speed at 300 dpi even with all image 
processing features enabled. http://p.sf.net/sfu/kodak-com
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

------------------------------------------------------------------------------
The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your
production scanning environment may not be a perfect world - but thanks to
Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700
Series Scanner you'll get full speed at 300 dpi even with all image 
processing features enabled. http://p.sf.net/sfu/kodak-com
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to