I have the following custom action I'm trying to make work and it seems the %i
parameter is getting dropped when command line gets executed. This same
statement works from a command prompt without any issues. Any insights as to
how I need to restructure this cmd.exe for loop %i parameter insertion to get
it working?
<CustomAction Id="QtExecCmdLineSet2" Property="QtExecCmdLineRun2"
Value=""[$(var.SystemFolder)]cmd.exe" /c for %i in ([DATABASELOGINS])
do ("[SQLBINDIR]sqlcmd.exe" /Q "create login [\[]%i[\]] from
windows")" />
/robert
-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference
Don't miss this year's exciting event. There's still time to save $100.
Use priority code J8TL2D2.
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users