Thanks for help :) I've the resolution. I should use public property (that name is upper case and installer works, ok).
Marcin Marcin Ligorowski pisze: > Hi, > Maybe this is simple question, but I can't assign valid user name and > password to util:User properties (it is not refreshed) > In my main wxs file I've > <Property Id="DbUserNameProperty">sa</Property> > <Property Id="DbPasswordProperty">sa</Property> > > <util:User Id="SQLUser" Name="[DbUserNameProperty]" > Password="[DbPasswordProperty]"/> > > ... > > <Directory Id="SQLServerDirectory" Name="SQLServer"> > <Component Id="SQLServerComponent" > Guid="897C56E6-4C69-11DD-9932-159056D89593"> > <CreateFolder /> > <Sql:SqlDatabase Id='InstallSqlDatabase' > Database='[DbNameProperty]' User='SQLUser' Server='.' > Instance='SQLEXPRESS' > CreateOnInstall='yes' DropOnUninstall='no' ContinueOnError='no' > ConfirmOverwrite='yes'> > </Sql:SqlDatabase> > </Component> > </Directory> > > And in dialog when user has control to enter user password I've the > following line > <Control Id="DbUserNameEdit" Type="Edit" Height="17" Width="128" > X="25" Y="105" Property="DbUserNameProperty" > Text="[DbUserNameProperty]" /> > > <Control Id="DbPasswordEdit" Password="yes" Type="Edit" Height="17" > Width="128" X="25" Y="140" Property="DbPasswordProperty" > Text="[DbPasswordProperty]" /> > > Unfortunatelly, when user changes password in DbPasswordEdit it is not > visible in util:User and sqlExtension tries to connect to database > with its original value. > What should I do to forse installer to use entered credentials instead > of initial data. > > Ligo > > > ---------------------------------------------------------------------- > Galeria absurdow. > zobacz >>> http://link.interia.pl/f1e5e > > > ------------------------------------------------------------------------- > Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW! > Studies have shown that voting for your favorite open source project, > along with a healthy diet, reduces your potential for chronic lameness > and boredom. Vote Now at http://www.sourceforge.net/community/cca08 > _______________________________________________ > WiX-users mailing list > WiX-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/wix-users > > ---------------------------------------------------------------------- Zobacz cala prawde o Lukaszu Podolskim! kliknij >>> http://link.interia.pl/f1e57 ------------------------------------------------------------------------- Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW! Studies have shown that voting for your favorite open source project, along with a healthy diet, reduces your potential for chronic lameness and boredom. Vote Now at http://www.sourceforge.net/community/cca08 _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users